Skip to content

Commit

Permalink
fix: update requirements (#114)
Browse files Browse the repository at this point in the history
## Reason for Change

- The API should have relax requirements to avoid being incompatible the
downstream consumers
- We no long use pyyaml

## Changes

- relax versioning
- remove unused PyYaml requirement

## Testing
- unit tests
  • Loading branch information
Bento007 authored Mar 15, 2024
1 parent 2ef7435 commit 9888f3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ authors = [
license = { file = "LICENSE" }
readme = "README.md"
requires-python = "~= 3.10"
dependencies = ["semantic_version==2.10.0"]
dependencies = ["semantic_version>=2.10.0,<3"]

[project.optional-dependencies]
test = ["pytest"]
Expand Down
5 changes: 2 additions & 3 deletions tools/ontology-builder/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
owlready2==0.45
PyYaml==6.0.1
jsonschema==4.21.1
semantic-version==2.10.0
jsonschema>=4.21.1, <5
semantic-version>=2.10.0, <3

0 comments on commit 9888f3d

Please sign in to comment.