-
Notifications
You must be signed in to change notification settings - Fork 2
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 and replace packages #78
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #78 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 16 16
Lines 922 922
=========================================
Hits 922 922 ☔ View full report in Codecov by Sentry. |
Further Changes introduced:
|
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.
Went through the checks, only found the deprecation warning for safety -- okay.
Further changes introduced:
|
Further changes introduced:
|
Relevant issue: #77
Background info:
# any relevant background info for additional context, references to documentations etc.
pytest v7.4.4
. A new major release is available now and we should update the package.ruff
as a linting package is reported to be faster thanflake8
and it provides similar functionality. We should replaceflake8
withruff
. More info here: https://docs.astral.sh/ruff/Changes introduced:
# list changes to the code repo made in this pull request
pytest
tov8.3.4
inside thepyproject.toml
file.flake8
withruff
inside thepyproject.toml
file and the.github/workflows/ci.yml
file.sphinx-autodoc-typehints
tov3
inside thedocs/requirements.txt
file.poetry.lock
file.poetry.lock
file the packagerdflib
was bumped to patch releasev7.1.2
. Unfortunately, this release had some unintended changes on the slicing operator in the package. More info here: Graph.__getitem__ runtime type checking for slices breaks working code RDFLib/rdflib#3037. Therefore, the methodextract_relation_by_uri
inside the scriptstwfsapy/thesaurus.py
was modified slightly to ensure that the unit tests do not break. Instead ofg[:uri:]
, we useg.subject_objects(uri)
The modification can be hopefully reverted once the patch releaserdflib
v7.1.3
is available.Added later see below for further changes introduced.