Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
* Upgrade pre-commit dependencies
* Upgrade Python requirements
* Upgrade GitHub actions
  • Loading branch information
replaceafill authored Apr 15, 2024
1 parent 566dce1 commit fb7cc19
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 36 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
- name: "Check out repository"
uses: "actions/checkout@v4"
- name: "Set up Python"
uses: "actions/setup-python@v4"
uses: "actions/setup-python@v5"
with:
python-version: "3.9"
- name: "Build distribution packages"
run: make package-check
- name: "Save distribution directory"
uses: "actions/upload-artifact@v3"
uses: "actions/upload-artifact@v4"
with:
name: "distribution"
path: |
Expand All @@ -29,7 +29,7 @@ jobs:
id-token: "write"
steps:
- name: "Restore distribution directory"
uses: "actions/download-artifact@v3"
uses: "actions/download-artifact@v4"
with:
name: "distribution"
path: |
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: "Check out repository"
uses: "actions/checkout@v4"
- name: "Set up Python ${{ matrix.python-version }}"
uses: "actions/setup-python@v4"
uses: "actions/setup-python@v5"
with:
python-version: "${{ matrix.python-version }}"
cache: "pip"
Expand All @@ -38,19 +38,21 @@ jobs:
tox -- --cov fixity --cov-config .coveragerc --cov-report xml:coverage.xml
- name: "Upload coverage report"
if: github.repository == 'artefactual/fixity'
uses: "codecov/codecov-action@v3"
uses: "codecov/codecov-action@v4"
with:
files: ./coverage.xml
fail_ci_if_error: false
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
lint:
name: "Lint"
runs-on: "ubuntu-22.04"
steps:
- name: "Check out repository"
uses: "actions/checkout@v4"
- name: "Set up Python"
uses: "actions/setup-python@v4"
uses: "actions/setup-python@v5"
with:
python-version: "3.12"
cache-dependency-path: |
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.15.2
hooks:
- id: pyupgrade
args: [--py38-plus]
Expand All @@ -10,19 +10,19 @@ repos:
- id: reorder-python-imports
args: [--py38-plus]
- repo: https://github.com/psf/black
rev: "23.10.1"
rev: "23.12.1"
hooks:
- id: black
args: [--safe, --quiet]
- repo: https://github.com/pycqa/flake8
rev: "6.1.0"
rev: "7.0.0"
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear==23.9.16
- flake8-bugbear==24.2.6
- flake8-comprehensions==3.14.0
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.37.0
rev: v0.39.0
hooks:
- id: markdownlint
exclude: |
Expand Down
40 changes: 21 additions & 19 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,47 +4,49 @@
#
# pip-compile --allow-unsafe --extra=dev --output-file=requirements-dev.txt pyproject.toml
#
build==1.0.3
build==1.2.1
# via pip-tools
certifi==2023.11.17
certifi==2024.2.2
# via requests
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via pip-tools
coverage[toml]==7.3.3
coverage[toml]==7.4.4
# via
# fixity (pyproject.toml)
# pytest-cov
exceptiongroup==1.2.0
# via pytest
greenlet==3.0.2
greenlet==3.0.3
# via sqlalchemy
idna==3.6
idna==3.7
# via requests
importlib-metadata==7.0.0
importlib-metadata==7.1.0
# via build
iniconfig==2.0.0
# via pytest
packaging==23.2
packaging==24.0
# via
# build
# pytest
pip-tools==7.3.0
pip-tools==7.4.1
# via fixity (pyproject.toml)
pluggy==1.3.0
pluggy==1.4.0
# via pytest
pyproject-hooks==1.0.0
# via build
pytest==7.4.3
# via
# build
# pip-tools
pytest==8.1.1
# via
# fixity (pyproject.toml)
# pytest-cov
pytest-cov==4.1.0
pytest-cov==5.0.0
# via fixity (pyproject.toml)
requests==2.31.0
# via fixity (pyproject.toml)
sqlalchemy==2.0.23
sqlalchemy==2.0.29
# via fixity (pyproject.toml)
tomli==2.0.1
# via
Expand All @@ -53,17 +55,17 @@ tomli==2.0.1
# pip-tools
# pyproject-hooks
# pytest
typing-extensions==4.9.0
typing-extensions==4.11.0
# via sqlalchemy
urllib3==2.1.0
urllib3==2.2.1
# via requests
wheel==0.42.0
wheel==0.43.0
# via pip-tools
zipp==3.17.0
zipp==3.18.1
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
pip==23.3.1
pip==24.0
# via pip-tools
setuptools==69.0.2
setuptools==69.2.0
# via pip-tools
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
#
# pip-compile --allow-unsafe --output-file=requirements.txt pyproject.toml
#
certifi==2023.11.17
certifi==2024.2.2
# via requests
charset-normalizer==3.3.2
# via requests
greenlet==3.0.2
greenlet==3.0.3
# via sqlalchemy
idna==3.6
idna==3.7
# via requests
requests==2.31.0
# via fixity (pyproject.toml)
sqlalchemy==2.0.23
sqlalchemy==2.0.29
# via fixity (pyproject.toml)
typing-extensions==4.9.0
typing-extensions==4.11.0
# via sqlalchemy
urllib3==2.1.0
urllib3==2.2.1
# via requests

0 comments on commit fb7cc19

Please sign in to comment.