Skip to content

Commit

Permalink
⬆ ️dependency upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
juftin authored Jan 2, 2024
1 parent b387535 commit 2559a6e
Show file tree
Hide file tree
Showing 14 changed files with 62 additions and 56 deletions.
2 changes: 1 addition & 1 deletion hatch_pip_compile/lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,4 @@ def read_lock_requirements(self) -> List[Requirement]:
str(self.lock_file),
session=PipSession(),
)
return [ireq.req for ireq in install_requirements]
return [ireq.req for ireq in install_requirements] # type: ignore[misc]
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ release = [
"npm install --prefix .github/semantic_release/",
"npx --prefix .github/semantic_release/ semantic-release {args:}"
]
upgrade-all = [
"PIP_COMPILE_UPGRADE=1 hatch env run --env default -- python --version",
"PIP_COMPILE_UPGRADE=1 hatch env run --env lint -- python --version",
"PIP_COMPILE_UPGRADE=1 hatch env run --env test -- python --version",
"PIP_COMPILE_UPGRADE=1 hatch env run --env docs -- python --version",
"PIP_COMPILE_UPGRADE=1 hatch env run --env matrix -- python --version",
"PIP_COMPILE_UPGRADE=1 hatch env run --env versions -- python --version"
]

[tool.hatch.envs.lint]
dependencies = [
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ filelock==3.13.1
# via virtualenv
h11==0.14.0
# via httpcore
hatch==1.9.0
hatch==1.9.1
# via hatch.envs.default
hatchling==1.21.0
# via hatch
Expand All @@ -41,7 +41,7 @@ idna==3.6
# anyio
# httpx
# hyperlink
importlib-metadata==7.0.0
importlib-metadata==7.0.1
# via keyring
jaraco-classes==3.3.0
# via keyring
Expand Down
12 changes: 6 additions & 6 deletions requirements/requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# This file is autogenerated by hatch-pip-compile with Python 3.11
#
# [constraints] requirements.txt (SHA256: c35b3dbe45b9e92f70bc4bf2e94c9dab6f1be8776b4640691b48e78864a8dcff)
# [constraints] requirements.txt (SHA256: b71dc8c21c298f2da757fae7b44701f013507de07225586fd88296e7eab447d8)
#
# - markdown-callouts
# - markdown-exec
Expand Down Expand Up @@ -67,7 +67,7 @@ h11==0.14.0
# via
# -c requirements.txt
# httpcore
hatch==1.9.0
hatch==1.9.1
# via
# -c requirements.txt
# hatch.envs.docs
Expand All @@ -94,7 +94,7 @@ idna==3.6
# httpx
# hyperlink
# requests
importlib-metadata==7.0.0
importlib-metadata==7.0.1
# via
# -c requirements.txt
# keyring
Expand Down Expand Up @@ -153,7 +153,7 @@ mkdocs-gen-files==0.5.0
# via hatch.envs.docs
mkdocs-literate-nav==0.6.1
# via hatch.envs.docs
mkdocs-material==9.5.2
mkdocs-material==9.5.3
# via hatch.envs.docs
mkdocs-material-extensions==1.3.1
# via mkdocs-material
Expand Down Expand Up @@ -211,7 +211,7 @@ pygments==2.17.2
# -c requirements.txt
# mkdocs-material
# rich
pymdown-extensions==10.5
pymdown-extensions==10.7
# via
# hatch.envs.docs
# markdown-exec
Expand All @@ -230,7 +230,7 @@ pyyaml==6.0.1
# pyyaml-env-tag
pyyaml-env-tag==0.1
# via mkdocs
regex==2023.10.3
regex==2023.12.25
# via mkdocs-material
requests==2.31.0
# via mkdocs-material
Expand Down
4 changes: 2 additions & 2 deletions requirements/requirements-lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
# - ruff~=0.1.4
#

mypy==1.7.1
mypy==1.8.0
# via hatch.envs.lint
mypy-extensions==1.0.0
# via mypy
ruff==0.1.8
ruff==0.1.10
# via hatch.envs.lint
typing-extensions==4.9.0
# via mypy
10 changes: 5 additions & 5 deletions requirements/requirements-matrix.py3.10.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# This file is autogenerated by hatch-pip-compile with Python 3.10
#
# [constraints] requirements.txt (SHA256: c35b3dbe45b9e92f70bc4bf2e94c9dab6f1be8776b4640691b48e78864a8dcff)
# [constraints] requirements.txt (SHA256: b71dc8c21c298f2da757fae7b44701f013507de07225586fd88296e7eab447d8)
#
# - pytest
# - pytest-cov
Expand Down Expand Up @@ -29,7 +29,7 @@ click==8.1.7
# hatch
# pip-tools
# userpath
coverage==7.3.3
coverage==7.4.0
# via
# coverage
# pytest-cov
Expand All @@ -53,7 +53,7 @@ h11==0.14.0
# via
# -c requirements.txt
# httpcore
hatch==1.9.0
hatch==1.9.1
# via
# -c requirements.txt
# hatch.envs.matrix.py3.10
Expand All @@ -79,7 +79,7 @@ idna==3.6
# anyio
# httpx
# hyperlink
importlib-metadata==7.0.0
importlib-metadata==7.0.1
# via
# -c requirements.txt
# keyring
Expand Down Expand Up @@ -146,7 +146,7 @@ pyproject-hooks==1.0.0
# via
# -c requirements.txt
# build
pytest==7.4.3
pytest==7.4.4
# via
# hatch.envs.matrix.py3.10
# pytest-cov
Expand Down
10 changes: 5 additions & 5 deletions requirements/requirements-matrix.py3.11.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# This file is autogenerated by hatch-pip-compile with Python 3.11
#
# [constraints] requirements.txt (SHA256: c35b3dbe45b9e92f70bc4bf2e94c9dab6f1be8776b4640691b48e78864a8dcff)
# [constraints] requirements.txt (SHA256: b71dc8c21c298f2da757fae7b44701f013507de07225586fd88296e7eab447d8)
#
# - pytest
# - pytest-cov
Expand Down Expand Up @@ -29,7 +29,7 @@ click==8.1.7
# hatch
# pip-tools
# userpath
coverage==7.3.3
coverage==7.4.0
# via
# coverage
# pytest-cov
Expand All @@ -49,7 +49,7 @@ h11==0.14.0
# via
# -c requirements.txt
# httpcore
hatch==1.9.0
hatch==1.9.1
# via
# -c requirements.txt
# hatch.envs.matrix.py3.11
Expand All @@ -75,7 +75,7 @@ idna==3.6
# anyio
# httpx
# hyperlink
importlib-metadata==7.0.0
importlib-metadata==7.0.1
# via
# -c requirements.txt
# keyring
Expand Down Expand Up @@ -142,7 +142,7 @@ pyproject-hooks==1.0.0
# via
# -c requirements.txt
# build
pytest==7.4.3
pytest==7.4.4
# via
# hatch.envs.matrix.py3.11
# pytest-cov
Expand Down
8 changes: 4 additions & 4 deletions requirements/requirements-matrix.py3.12.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# This file is autogenerated by hatch-pip-compile with Python 3.12
#
# [constraints] requirements.txt (SHA256: c35b3dbe45b9e92f70bc4bf2e94c9dab6f1be8776b4640691b48e78864a8dcff)
# [constraints] requirements.txt (SHA256: b71dc8c21c298f2da757fae7b44701f013507de07225586fd88296e7eab447d8)
#
# - pytest
# - pytest-cov
Expand Down Expand Up @@ -29,7 +29,7 @@ click==8.1.7
# hatch
# pip-tools
# userpath
coverage==7.3.3
coverage==7.4.0
# via
# coverage
# pytest-cov
Expand All @@ -49,7 +49,7 @@ h11==0.14.0
# via
# -c requirements.txt
# httpcore
hatch==1.9.0
hatch==1.9.1
# via
# -c requirements.txt
# hatch.envs.matrix.py3.12
Expand Down Expand Up @@ -138,7 +138,7 @@ pyproject-hooks==1.0.0
# via
# -c requirements.txt
# build
pytest==7.4.3
pytest==7.4.4
# via
# hatch.envs.matrix.py3.12
# pytest-cov
Expand Down
10 changes: 5 additions & 5 deletions requirements/requirements-matrix.py3.8.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# This file is autogenerated by hatch-pip-compile with Python 3.8
#
# [constraints] requirements.txt (SHA256: c35b3dbe45b9e92f70bc4bf2e94c9dab6f1be8776b4640691b48e78864a8dcff)
# [constraints] requirements.txt (SHA256: b71dc8c21c298f2da757fae7b44701f013507de07225586fd88296e7eab447d8)
#
# - pytest
# - pytest-cov
Expand Down Expand Up @@ -29,7 +29,7 @@ click==8.1.7
# hatch
# pip-tools
# userpath
coverage==7.3.3
coverage==7.4.0
# via
# coverage
# pytest-cov
Expand All @@ -53,7 +53,7 @@ h11==0.14.0
# via
# -c requirements.txt
# httpcore
hatch==1.9.0
hatch==1.9.1
# via
# -c requirements.txt
# hatch.envs.matrix.py3.8
Expand All @@ -79,7 +79,7 @@ idna==3.6
# anyio
# httpx
# hyperlink
importlib-metadata==7.0.0
importlib-metadata==7.0.1
# via
# -c requirements.txt
# build
Expand Down Expand Up @@ -149,7 +149,7 @@ pyproject-hooks==1.0.0
# via
# -c requirements.txt
# build
pytest==7.4.3
pytest==7.4.4
# via
# hatch.envs.matrix.py3.8
# pytest-cov
Expand Down
14 changes: 6 additions & 8 deletions requirements/requirements-matrix.py3.9.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# This file is autogenerated by hatch-pip-compile with Python 3.9
#
# [constraints] requirements.txt (SHA256: c35b3dbe45b9e92f70bc4bf2e94c9dab6f1be8776b4640691b48e78864a8dcff)
# [constraints] requirements.txt (SHA256: b71dc8c21c298f2da757fae7b44701f013507de07225586fd88296e7eab447d8)
#
# - pytest
# - pytest-cov
Expand Down Expand Up @@ -29,10 +29,8 @@ click==8.1.7
# hatch
# pip-tools
# userpath
coverage==7.3.3
# via
# coverage
# pytest-cov
coverage==7.4.0
# via pytest-cov
distlib==0.3.8
# via
# -c requirements.txt
Expand All @@ -53,7 +51,7 @@ h11==0.14.0
# via
# -c requirements.txt
# httpcore
hatch==1.9.0
hatch==1.9.1
# via
# -c requirements.txt
# hatch.envs.matrix.py3.9
Expand All @@ -79,7 +77,7 @@ idna==3.6
# anyio
# httpx
# hyperlink
importlib-metadata==7.0.0
importlib-metadata==7.0.1
# via
# -c requirements.txt
# build
Expand Down Expand Up @@ -147,7 +145,7 @@ pyproject-hooks==1.0.0
# via
# -c requirements.txt
# build
pytest==7.4.3
pytest==7.4.4
# via
# hatch.envs.matrix.py3.9
# pytest-cov
Expand Down
10 changes: 5 additions & 5 deletions requirements/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# This file is autogenerated by hatch-pip-compile with Python 3.11
#
# [constraints] requirements.txt (SHA256: c35b3dbe45b9e92f70bc4bf2e94c9dab6f1be8776b4640691b48e78864a8dcff)
# [constraints] requirements.txt (SHA256: b71dc8c21c298f2da757fae7b44701f013507de07225586fd88296e7eab447d8)
#
# - pytest
# - pytest-cov
Expand Down Expand Up @@ -29,7 +29,7 @@ click==8.1.7
# hatch
# pip-tools
# userpath
coverage==7.3.3
coverage==7.4.0
# via
# coverage
# pytest-cov
Expand All @@ -49,7 +49,7 @@ h11==0.14.0
# via
# -c requirements.txt
# httpcore
hatch==1.9.0
hatch==1.9.1
# via
# -c requirements.txt
# hatch.envs.test
Expand All @@ -75,7 +75,7 @@ idna==3.6
# anyio
# httpx
# hyperlink
importlib-metadata==7.0.0
importlib-metadata==7.0.1
# via
# -c requirements.txt
# keyring
Expand Down Expand Up @@ -142,7 +142,7 @@ pyproject-hooks==1.0.0
# via
# -c requirements.txt
# build
pytest==7.4.3
pytest==7.4.4
# via
# hatch.envs.test
# pytest-cov
Expand Down
Loading

0 comments on commit 2559a6e

Please sign in to comment.