Skip to content

Commit 6866822

Browse files
authored
Merge pull request #422 from heplesser/remove-pathlib
Remove pathlib from requirements
2 parents 5213865 + 5d9acb8 commit 6866822

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/run-tests.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: python -c "import sys; print(sys.version)"
2525
- name: Install dependencies
2626
run: |
27-
python setup.py install
27+
pip install . install
2828
pip install -r requirements-test.txt
2929
- name: Run tests
3030
run: pytest
@@ -46,7 +46,7 @@ jobs:
4646
run: python -c "import sys; print(sys.version)"
4747
- name: Install dependencies
4848
run: |
49-
python setup.py install
49+
pip install . install
5050
pip install -r requirements-test.txt
5151
- name: Run tests
5252
run: pytest
@@ -72,7 +72,7 @@ jobs:
7272
run: python -c "import sys; print(sys.version)"
7373
- name: Install dependencies
7474
run: |
75-
python setup.py install
75+
pip install .
7676
pip install -r requirements-test.txt
7777
- name: Run tests
7878
run: pytest
@@ -98,7 +98,7 @@ jobs:
9898
run: python -c "import sys; print(sys.version)"
9999
- name: Install dependencies
100100
run: |
101-
python setup.py install
101+
pip install .
102102
pip install -r requirements-test.txt
103103
- name: Run tests
104104
run: pytest
@@ -114,7 +114,7 @@ jobs:
114114
run: python -c "import sys; print(sys.version)"
115115
- name: Install dependencies
116116
run: |
117-
python setup.py install
117+
pip install .
118118
pip install -r requirements-test.txt
119119
pip install pytest coveralls
120120
- name: Create coverage
@@ -134,7 +134,7 @@ jobs:
134134
python-version: "3.10"
135135
- name: Install dependencies
136136
run: |
137-
python setup.py install
137+
pip install .
138138
pip install -r requirements-test.txt
139139
pip install pytest pytest-cov
140140
- name: Create coverage

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@
3131
with open('README.md') as f:
3232
description_text = f.read()
3333

34-
install_req = ["docopt", "lxml", "pathlib", "pyyaml>=5.1", "rdflib>=6.0.0"]
34+
install_req = ["docopt", "lxml", "pyyaml>=5.1", "rdflib>=6.0.0"]
3535
# owlrl depends on rdflib; update any changes in requirements-test.txt as well.
3636
tests_req = ["owlrl", "pytest", "requests"]
3737

3838
# Keep support for for Python versions below 3.7; relevant for the
3939
# rdflib usage; rdflib >= 6 does not support Python versions below 3.7.
4040
if _python_version.minor <= 6:
4141
# pyparsing needs to be pinned to 2.4.7 due to issues with the rdflib 5.0.0 library.
42-
install_req = ["docopt", "lxml", "pathlib", "pyyaml>=5.1", "rdflib==5.0.0", "pyparsing==2.4.7"]
42+
install_req = ["docopt", "lxml", "pyyaml>=5.1", "rdflib==5.0.0", "pyparsing==2.4.7"]
4343

4444
# owlrl depends on rdflib and needs to be pinned to a corresponding version.
4545
tests_req = ["owlrl==5.2.3", "pytest", "requests"]

0 commit comments

Comments
 (0)