-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update requirements #212
Update requirements #212
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless there is a specific reason not to accept rdflib5.0.0 and up I still think we should allow that.
The more restrictive we are the higher chance of not being compatible with other packages for no good reason.
Under normal circumstances I'd agree, but since these releases are only a couple of months apart, I don't think there will be a huge difference. Also, there are no releases between version 5.0.0 and 6.0.0. RDFLib releases: https://github.com/RDFLib/rdflib/releases and https://pypi.org/project/rdflib/#history Furthermore, if we allowed version 5.0.0, the issue mentioned in #206 would not be resolved. |
Again, as far as I read the It seems from the changelog that this was fixed by PR RDFLib/rdflib#1054, which was merged after 5.0.0 and only included in 6.0.0. |
Concerning the difference between 5.0.0 and 6.0.0, from the changelog it seems there are many vital improvements. I don't see why we should support an older version with several bugs that have already been fixed in a newer version while also considering that the number of repositories that only support version 5.0.0 and not 6.0.0 have only had a 2 month window to do so. The only thing that might be "dangerous" is that version 6.0.0 drops Python 2 and Python 3 < 3.7 support. I.e., this repository should also drop Python 3.6 support if the minimum |
I think that rdflib has provided the features we use since v2.0 or maybe v3.0. Most linux distributions do not provide rdflib v6. Fedora 33 (which was released this spring) is e.g. on version 4.2.1. Requiring a higher version of rdflib that we actually use may unnecessary enforce people to use a virtual environment instead of the version of rdflib that comes with their distribution. I am not sure we want to go down this road - Emmontopy is after all a fairly simple package. |
Ah - excellent point. I'll add back the support for earlier versions 👍 We'll keep the issue open then, and I'll try to add some version-aware code around the functionality that's affected by issue #206. |
Since 6.0.0 is the immediate release after 5.0.0, this makes sense. And it's nicer to have `>=` dependencies than `>`. Note, there is an issue with 5.0.0 that produces wrong turtle files.
An error will be thrown if this is not satisfied. This is also true for the `ontoconvert` CLI tool.
ca9fa0a
to
a836428
Compare
I have added some sanity checks for having I don't know if this is the desired result, or if it should instead be a warning and then continue? |
As a further note to this, I'd always recommend installing Python packages in virtual environments - but I think it's good to support this use case. |
This has been superseded by #216 |
This does not close the #206 issue anymore. See the comment below.
Set version lofts for Python dependencies.