-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tim Van Campenhout
committed
Sep 18, 2024
1 parent
ed8afa1
commit 6733586
Showing
7 changed files
with
194 additions
and
107 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: skosprovider_rdf backend tests | ||
on: | ||
push: | ||
paths: | ||
- skosprovider_rdf/** | ||
- tests/** | ||
- skosprovider_rdf.yaml | ||
- pyproject.toml | ||
- requirements*.txt | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [ "3.10", "3.11", "3.12" ] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
# You can test your matrix by printing the current Python version | ||
- name: Display Python version | ||
run: python -c "import sys; print(sys.version)" | ||
|
||
- name: Install python requirements | ||
env: | ||
HATCH_BUILD_NO_HOOKS: true | ||
working-directory: ./ | ||
run: | | ||
pip --version | ||
pip install pip-tools | ||
pip-sync requirements-dev.txt | ||
pip install -e . | ||
- name: Python tests | ||
run: pytest tests --exitfirst --capture=no -vvv --full-trace |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,63 @@ | ||
[build-system] | ||
requires = ["hatchling", "hatch-fancy-pypi-readme"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
version = "1.3.0" | ||
name = "skosprovider_rdf" | ||
dynamic = ["readme"] | ||
authors = [ | ||
{ name = "Flanders Heritage Agency", email = "[email protected]" }, | ||
] | ||
#license = "GPL-3.0-or-later" | ||
description = "skosprovider_rdf" | ||
requires-python = ">=3.10,<3.13" | ||
keywords = ["rdf", "skos", "skosprovider", "vocabularies", "thesauri"] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Programming Language :: Python", | ||
"Framework :: Pyramid", | ||
"Topic :: Internet :: WWW/HTTP", | ||
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
] | ||
dependencies = [ | ||
"skosprovider==1.2.0", | ||
"rdflib==6.2.0", | ||
"html5lib==1.1", | ||
] | ||
|
||
[project.urls] | ||
History = "https://github.com/OnroerendErfgoed/skosprovider_rdf/blob/master/HISTORY.rst" | ||
Tracker = "https://github.com/OnroerendErfgoed/skosprovider_rdf/issues" | ||
Source = "https://github.com/OnroerendErfgoed/skosprovider_rdf" | ||
Documentation = "https://skosprovider_rdf.readthedocs.io/en/latest/" | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"pytest==8.3.3", | ||
"pytest-cov==5.0.0", | ||
"coveralls==4.0.1", | ||
] | ||
|
||
## | ||
# Build tool specific | ||
## | ||
[tool.hatch.build.targets.wheel] | ||
# In the wheel we want to have skosprovider_rdf in the root as python module. | ||
only-include = [ | ||
"/skosprovider_rdf", | ||
] | ||
|
||
[tool.hatch.metadata] | ||
# This allows us to use github links as dependencies | ||
allow-direct-references = true | ||
|
||
[tool.hatch.metadata.hooks.fancy-pypi-readme] | ||
content-type = "text/x-rst" | ||
fragments = [ | ||
{ path = "README.rst" }, | ||
{ path = "HISTORY.rst" }, | ||
] |
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,7 +1,62 @@ | ||
# Runtime requirements | ||
--requirement requirements.txt | ||
|
||
# Testing | ||
pytest==6.2.5 | ||
pytest-cov==3.0.0 | ||
coveralls==3.3.1 | ||
cachetools==5.5.0 | ||
# via pyld | ||
certifi==2024.8.30 | ||
# via requests | ||
charset-normalizer==3.3.2 | ||
# via requests | ||
coverage==7.6.1 | ||
# via | ||
# coveralls | ||
# pytest-cov | ||
coveralls==4.0.1 | ||
# via skosprovider-rdf (pyproject.toml) | ||
docopt==0.6.2 | ||
# via coveralls | ||
frozendict==2.4.4 | ||
# via pyld | ||
html5lib==1.1 | ||
# via | ||
# skosprovider-rdf (pyproject.toml) | ||
# skosprovider | ||
idna==3.10 | ||
# via requests | ||
iniconfig==2.0.0 | ||
# via pytest | ||
isodate==0.6.1 | ||
# via rdflib | ||
language-tags==1.2.0 | ||
# via skosprovider | ||
lxml==5.3.0 | ||
# via pyld | ||
packaging==24.1 | ||
# via pytest | ||
pluggy==1.5.0 | ||
# via pytest | ||
pyld==2.0.4 | ||
# via skosprovider | ||
pyparsing==3.1.4 | ||
# via rdflib | ||
pytest==8.3.3 | ||
# via | ||
# skosprovider-rdf (pyproject.toml) | ||
# pytest-cov | ||
pytest-cov==5.0.0 | ||
# via skosprovider-rdf (pyproject.toml) | ||
rdflib==6.2.0 | ||
# via skosprovider-rdf (pyproject.toml) | ||
requests==2.32.3 | ||
# via coveralls | ||
rfc3987==1.3.8 | ||
# via skosprovider | ||
setuptools==75.1.0 | ||
# via rdflib | ||
six==1.16.0 | ||
# via | ||
# html5lib | ||
# isodate | ||
skosprovider==1.2.0 | ||
# via skosprovider-rdf (pyproject.toml) | ||
urllib3==2.2.3 | ||
# via requests | ||
webencodings==0.5.1 | ||
# via html5lib |
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,32 @@ | ||
skosprovider==1.2.0 | ||
# -e git+https://github.com/koenedaele/skosprovider.git@DEV_0.7.0#egg=skosprovider | ||
rdflib==6.2.0 | ||
cachetools==5.5.0 | ||
# via pyld | ||
frozendict==2.4.4 | ||
# via pyld | ||
html5lib==1.1 | ||
# via | ||
# skosprovider-rdf (pyproject.toml) | ||
# skosprovider | ||
isodate==0.6.1 | ||
# via rdflib | ||
language-tags==1.2.0 | ||
# via skosprovider | ||
lxml==5.3.0 | ||
# via pyld | ||
pyld==2.0.4 | ||
# via skosprovider | ||
pyparsing==3.1.4 | ||
# via rdflib | ||
rdflib==6.2.0 | ||
# via skosprovider-rdf (pyproject.toml) | ||
rfc3987==1.3.8 | ||
# via skosprovider | ||
setuptools==75.1.0 | ||
# via rdflib | ||
six==1.16.0 | ||
# via | ||
# html5lib | ||
# isodate | ||
skosprovider==1.2.0 | ||
# via skosprovider-rdf (pyproject.toml) | ||
webencodings==0.5.1 | ||
# via html5lib |