- Edit sphinx/changelog.rst
- Edit python/job_stream/version.py
- Run all C++ tests: cd build; cmake .. && make -j8 test
- Note that it may be necessary to use
LD_LIBRARY_PATH=/path/to/boost/libs bash -c "cmake .. && make -j8 test"
. Note that LIBRARY_PATH will be inferred from LD_LIBRARY_PATH.
- Note that it may be necessary to use
- Run all Python tests: make -j8 test-python
- You SHOULD NOT use the above LD_LIBRARY_PATH trick. Instead be using miniconda w/ conda install boost.
- Currently expected that the Python test job_stream.test.test_pipes.TestPipes fails
- cd sphinx/ and make html, check documentation
- Run python setup.py sdist
- Run tar -ztvf dist/job_stream-latest.tar.gz, make sure only desired files were included
- Commit changes to git except sphinx/_build, reset those
- Run python setup.py sdist upload -r pypi
- cd sphinx/ and make gh-pages
- Tag the python release (e.g., git tag python-v0.1.30)
Tests are easier to write in Python. Therefore, some of the core C++ library functionality is actually tested in the Python test suite.