Update and fix Continuous Integration #141
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Appveyor appeared to have an issue running
pytest
directly for Python 3.7 and above (and pytest v7+).Fixed by changing to
python -m pytest
Also deprecation warnings for using hyphens in
setup.cfg
.description-file
changed todescription_file
to fix this one (underscores are fine).Removed Travis CI from repo and replaced with GitHub actions. See https://github.com/actions/setup-python
This was mostly fine, except for trying to migrate coveralls and setting up https://coveralls.io/github/geographika/mappyfile
pytest-cov
does not outputlcov
files, which are the only format which work with the "official" coverallsapp GHA:coverallsapp/github-action#30 Can I use only LCOV files? #30
Had to try various options and settings before getting it working, and having to exclude Python 2.7
Various links that were useful (and confusing at the same time):
Also
setup.py
is now deprecated for building wheels etc.See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
Used pip to install https://pypa-build.readthedocs.io/en/stable
Read the docs also was deprecated: http://docs.readthedocs.io/en/latest/yaml-config.html
Switched to https://docs.readthedocs.io/en/stable/config-file/v2.html