Skip to content

Commit

Permalink
chore: update remaining python dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
afuetterer committed Sep 26, 2023
1 parent a818bcd commit 02b5f81
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 29 deletions.
27 changes: 9 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ jobs:
path: |
~/.cache/pip
~/.cache/pre-commit
key: pip-lint-${{ hashFiles('.pre-commit-config.yaml', 'pyproject.toml') }}
key: lint-${{ hashFiles('.pre-commit-config.yaml', 'pyproject.toml') }}
restore-keys: |
pip-lint-
lint-
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
Expand All @@ -71,30 +71,21 @@ jobs:

tests:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ['3.11']
steps:
- uses: actions/checkout@v3
- name: Cache python dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: pip-tests-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
restore-keys: |
pip-tests-${{ matrix.python-version }}-
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: '3.11'
cache: pip
- name: Install python dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install hatch
# TODO: remove, once dependencies are updated
- run: hatch run python -m pip list
- run: hatch run python -m pip list --outdated

- name: Run test suite with coverage
run: hatch run cov

# TODO: remove, once dependencies are updated
- run: python -m pip install .[docs,report]
- run: python -m pip list --outdated
22 changes: 11 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,27 @@ dependencies = [
"beautifulsoup4~=4.12",
"configparser~=6.0",
"connexion[swagger-ui]~=2.14",
"extruct~=0.13.0",
"extruct~=0.16.0",
"feedparser~=6.0",
"flask~=2.2.5", # pin due to flask 2.3.0 json_encoder issue
"flask-cors~=4.0",
"flask-limiter<=2.0.0",
"flask-limiter~=3.5",
"hashid~=3.1.4",
"idutils~=1.2",
"jmespath~=1.0",
"levenshtein~=0.21.1",
"lxml~=4.9",
"pandas~=1.3",
"pandas~=2.1",
"pyRdfa3~=3.5",
"pyld~=2.0",
"pyyaml!=6.0.0,!=5.4.0,!=5.4.1", # 6.0.1
"pyyaml~=6.0",
"rapidfuzz~=3.3",
"rdflib~=6.1",
"rdflib~=7.0",
"requests~=2.31",
"sparqlwrapper~=1.8",
"tika~=1.24",
"tldextract~=3.1",
"urlextract~=1.2",
"sparqlwrapper~=2.0",
"tika~=2.6",
"tldextract~=3.4",
"urlextract~=1.8",
"waitress~=2.1"
]
description = "FUJI (FAIRsFAIR Data Objects Assessment Service), A service to evaluate FAIR data objects based on FAIRsFAIR Metrics"
Expand Down Expand Up @@ -72,7 +72,7 @@ docs = [
"sphinx-rtd-theme~=1.0"
]
lint = [
"pre-commit~=3.3"
"pre-commit~=3.4"
]
report = [
"bokeh~=2.4",
Expand All @@ -81,7 +81,7 @@ report = [
testing = [
"pytest~=7.4",
"pytest-cov~=4.1",
"pytest-randomly~=3.1",
"pytest-randomly~=3.15",
"pytest-recording~=0.13",
"pytest-xdist~=3.3"
]
Expand Down

0 comments on commit 02b5f81

Please sign in to comment.