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.
Thanks for your great work on this project. My team are trying to make the most of it but running into snags with the dependencies since they are not compatible with modern versions of python.
I hope you consider the pull request below to rectify this problem.
Thanks
Problem statement
Poetry builds for newer versions of python fail owing to PEP 517 build rules and unsupported versions of certain libraries. This makes this project very difficult to install in more modern environments with newer co-dependencies.
Change summary
It took quite a bit of trial and error but this PR is what I came up with to solve this problem by making the requirements more dynamic and making the versions more dependent on the specific version of python being used - with a couple of exceptions listed below:
tests
poetry install
andpoetry run python -m unittest
in python 3.8, 3.9, 3.10 and 3.11. All are passing.