... | @@ -57,25 +57,22 @@ Discuss best practices, technologies and external libraries that are (or could b |
... | @@ -57,25 +57,22 @@ Discuss best practices, technologies and external libraries that are (or could b |
|
* [libhdf5/h5py version compatibility](https://gitlab.esrf.fr/bliss/bliss/-/wikis/Blog-post:-libhdf5/h5py-version-compatibility)
|
|
* [libhdf5/h5py version compatibility](https://gitlab.esrf.fr/bliss/bliss/-/wikis/Blog-post:-libhdf5/h5py-version-compatibility)
|
|
* [Bliss as a library](https://gitlab.esrf.fr/bliss/bliss/-/wikis/Blog-post:-Bliss-as-a-library)
|
|
* [Bliss as a library](https://gitlab.esrf.fr/bliss/bliss/-/wikis/Blog-post:-Bliss-as-a-library)
|
|
|
|
|
|
## Job interview Python questions
|
|
## Steps for making a BLISS release
|
|
|
|
|
|
|
|
- put yourself on the branch that has the release (like, 1.11.x)
|
|
|
|
- `scriv collect` to generate the changelog
|
|
|
|
- edit `setup.cfg` to change the version for the release (like, 1.11.2)
|
|
|
|
- make a commit, it must be: `Release 1.11.2` (nothing less, nothing more)
|
|
|
|
- **deprotect the branch** and push to it: `git push`
|
|
|
|
- :warning: **no force !** This is important in case of more recent changes
|
|
|
|
- change `setup.cfg` to the next release (like: 1.11.dev3 in our example)
|
|
|
|
- make a commit, like `Start 1.11.3 development` for example
|
|
|
|
- do not forget to push
|
|
|
|
- :warning: **no force !** This is important in case of more recent changes
|
|
|
|
- **reprotect the branch**
|
|
|
|
|
|
|
|
Sit down and enjoy: the CI will automatically make a release, tag and upload to Anaconda and PyPI
|
|
|
|
|
|
* [Link to questions](job_interview_questions)
|
|
|
|
|
|
|
|
## Debugging tests
|
|
|
|
|
|
|
|
Log-in to `bcu-ci` (needs **sudo** rights)
|
|
|
|
|
|
|
|
sudo docker run -it docker-registry.esrf.fr/bcu/ci-conda
|
|
|
|
apt-get install vim
|
|
|
|
. activate
|
|
|
|
conda install git
|
|
|
|
git clone https://gitlab.esrf.fr/bliss/bliss.git
|
|
|
|
cd bliss
|
|
|
|
conda create --name testenv --channel http://bcu-ci.esrf.fr/stable python=2 --file requirements-conda.txt --file requirements-test-conda.txt
|
|
|
|
source activate testenv
|
|
|
|
pip install .
|
|
|
|
|
|
|
|
Happy debugging !
|
|
|
|
|
|
|
|
## OLD
|
|
## OLD
|
|
|
|
|
... | | ... | |