Some notes for development.
sudo apt-get install python2.7-dev python3-dev python3-venv \ build-essentials g++ maven cd <JAYDEBEAPI_WORKDIR> python3 -m venv env . env/bin/activate pip install -r dev-requirements.txt # Install Jython 2.7 ci/mvnget.sh org.python:jython-installer:2.7.2 java -jar jython-installer-2.7.2.jar && rm jython-installer-2.7.2.jar # add jython to your path # run tests for all supported envs tox # execute stuff on specific env (examples) tox -e py3-driver-mock -- python tox -e py39-driver-sqliteXerial -- python test/testsuite.py test_integration.SqliteXerialTest.test_execute_and_fetchone # activate and work on specific env . .tox/py35-driver-mock/bin/activate export CLASSPATH=$VIRTUAL_ENV/javalib/* python test/testsuite.py
Sync the branch.
$ git checkout master $ git pull
Do your changes.
Add a changelog entry to
README.rst
belowNext version
.Commit and push your changes.
$ git commit -m "my comment" $ git push
Wait for GitHub Actions build to finish successfully.
Bump version
$ bumpversion [major|minor|patch]
Run setuptools to ensure everything is working as expected.
$ python setup.py sdist bdist_wheel $ twine upload dist/* -r pypitest
Check the files in
dist/
for unwanted or missing files.Send new version and tags to github origin.
$ git push --follow-tags && git push --tags