Skip to content

Commit

Permalink
chore: update remaining python dependencies
Browse files Browse the repository at this point in the history
Refs: #380
  • Loading branch information
afuetterer committed Sep 27, 2023
1 parent a818bcd commit bcb23bc
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 40 deletions.
31 changes: 9 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# docs:
# runs-on: ubuntu-22.04
# steps:
# - uses: actions/checkout@v3
# - uses: actions/checkout@v4
# - name: Set up Python 3.11
# uses: actions/setup-python@v4
# with:
Expand All @@ -50,16 +50,16 @@ jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Cache python dependencies
uses: actions/cache@v3
with:
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,17 @@ 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 }}
- uses: actions/checkout@v4
- 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
python -m pip install --upgrade hatch
- name: Run test suite with coverage
run: hatch run cov
34 changes: 16 additions & 18 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,26 @@ 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",
"levenshtein~=0.22.0",
"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 All @@ -66,22 +65,21 @@ dev = [
"fuji[testing]"
]
docs = [
"docutils>=0.14,<0.18",
"myst-parser~=0.16",
"sphinx~=4.2",
"sphinx-rtd-theme~=1.0"
"myst-parser~=2.0",
"sphinx~=7.2",
"sphinx-rtd-theme~=1.3"
]
lint = [
"pre-commit~=3.3"
"pre-commit~=3.4"
]
report = [
"bokeh~=2.4",
"bokeh~=3.2",
"jupyter~=1.0"
]
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 bcb23bc

Please sign in to comment.