-
Notifications
You must be signed in to change notification settings - Fork 1
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
#86 upgrade requirements #87
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
#!/usr/bin/python | ||
# -*- coding: utf-8 -*- | ||
''' | ||
This script demonstrates using the AATProvider to find the concepts that are a member of a collection with 'church' in their label | ||
This script demonstrates using the AATProvider to find the concepts that are a member of | ||
a collection with 'church' in their label | ||
''' | ||
|
||
from skosprovider_getty.providers import AATProvider | ||
|
||
results = AATProvider({'id': 'AAT', 'default_language': 'nl'}).find({'label': 'church', 'type': 'concept', 'collection': {'id': '300007466', 'depth': 'all'}}) | ||
results = AATProvider({'id': 'AAT', 'default_language': 'nl'}).find( | ||
{ | ||
'label': 'church', | ||
'type': 'concept', | ||
'collection': {'id': '300007466', 'depth': 'all'} | ||
} | ||
) | ||
|
||
print('Results') | ||
print('------') | ||
for result in results: | ||
print(result) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,9 @@ | |
--requirement requirements.txt | ||
|
||
# Testing | ||
pytest==4.6.9 ; python_version < '3.0' | ||
pytest==5.3.5 ; python_version >= '3.0' | ||
pytest-cov==2.8.1 | ||
coveralls==1.11.1 | ||
pytest==6.2.5 | ||
pytest-cov==3.0.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. lijn 5 kan weg en 6 kan hoger. |
||
coveralls==3.3.1 | ||
|
||
# Documentation | ||
Sphinx==1.8.5 ; python_version < '3.5' | ||
Sphinx==3.0.4 ; python_version >= '3.5' | ||
Sphinx==4.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
requests==2.24.0 | ||
skosprovider==0.7.1 | ||
requests==2.26.0 | ||
skosprovider==1.1.0 | ||
#-e git+https://github.com/koenedaele/skosprovider.git@DEV_0.7.0#egg=skosprovider | ||
rdflib==5.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
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.
Kben eens bij bram gaan horen. Nieuwe servers zijn weliswaar 3.8, maar omdat er nog steeds bestaande servers zijn die 3.6 draaien zouden we hier best ook op 3.6 blijven testen nog een tijdje, zoals oe-utils.
In de praktijk draaien we 3.7 niet, dus als we travis load willen verkleinen zouden we wel 3.7 kunnen skippen.
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.
aie, rdflib vereist python 3,7+. Dan moet die terug downgegrade worden, tenzij python op de bestaande servers omhoog mag.
Fyi, support voor python 3.6 eindigt op 23 Dec, dus misschien wel een goeie reden om dat uit te voeren ineens
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.
RDFlib 6.0.0 is een vrij grote change, die heeft ook ingebakken support voor JSON/LD. Ik zou die voor skosprovider_getty en skosprovider_rdf liever eens apart aangepakt zien worden, kan zijn dat dat nog meer gevolgen zal hebben.
Dus, nu liefst houden op de laatste versie in de 5.x.x reeks en compatibiliteit met Python 3.6 behouden.