Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
strategy:
fail-fast: false
matrix:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
dists-artifact-name: python-package-distributions
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
Expand All @@ -23,22 +23,22 @@ jobs:
- name: Build package
run: uv build --python 3.14 --python-preference only-managed --sdist --wheel . --out-dir dist
- name: Store the distribution packages
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: ${{ env.dists-artifact-name }}
path: dist/*
release:
needs:
- build
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
environment:
name: release
url: https://pypi.org/project/pytest-env/${{ github.ref_name }}
permissions:
id-token: write
steps:
- name: Download all the dists
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: ${{ env.dists-artifact-name }}
path: dist/
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
rev: v2.4.3
hooks:
- id: codespell
additional_dependencies: ["tomli>=2.4"]
additional_dependencies: ["tomli>=2.4.1"]
- repo: https://github.com/tox-dev/tox-toml-fmt
rev: "v1.10.3"
hooks:
Expand All @@ -23,7 +23,7 @@ repos:
hooks:
- id: pyproject-fmt
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.16.9"
rev: "v0.16.10"
hooks:
- id: ruff-format
- id: ruff
Expand Down
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
build-backend = "hatchling.build"
requires = [
"hatch-vcs>=0.5",
"hatchling>=1.29",
"hatchling>=1.32.4",
]

[project]
Expand Down Expand Up @@ -38,9 +38,9 @@ dynamic = [
"version",
]
dependencies = [
"pytest>=9.0.2",
"python-dotenv>=1.2.2",
"tomli>=2.4; python_version<'3.11'",
"pytest>=9.1.1",
"python-dotenv>=1.2.4",
"tomli>=2.4.1; python_version<'3.11'",
]
urls.Homepage = "https://github.com/pytest-dev/pytest-env"
urls.Source = "https://github.com/pytest-dev/pytest-env"
Expand All @@ -50,8 +50,8 @@ entry-points.pytest11.env = "pytest_env.plugin"
[dependency-groups]
test = [
"covdefaults>=2.3",
"coverage>=7.13.4",
"pytest-mock>=3.15.1",
"coverage>=7.16.2",
"pytest-mock>=3.16",
]

[tool.hatch]
Expand Down
12 changes: 6 additions & 6 deletions tox.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
requires = [
"tox>=4.36.1",
"tox-uv>=1.29",
"tox>=4.64.7",
"tox-uv>=1.36.1",
]
env_list = [
"3.15",
Expand Down Expand Up @@ -43,7 +43,7 @@ commands = [
[env.fix]
description = "run static analysis and style check using flake8"
skip_install = true
deps = [ "pre-commit-uv>=4.2.1" ]
deps = [ "pre-commit-uv>=4.3" ]
pass_env = [ "HOMEPATH", "PROGRAMDATA" ]
commands = [ [ "pre-commit", "run", "--all-files", "--show-diff-on-failure" ] ]

Expand All @@ -52,8 +52,8 @@ description = "check that the long description is valid"
skip_install = true
deps = [
"check-wheel-contents>=0.6.3",
"twine>=6.2",
"uv>=0.10.9",
"twine>=7",
"uv>=0.12.22",
]
commands = [
[ "uv", "build", "--sdist", "--wheel", "--out-dir", "{env_tmp_dir}", "." ],
Expand All @@ -63,7 +63,7 @@ commands = [

[env.type]
description = "run type check on code base"
deps = [ "ty==0.0.22" ]
deps = [ "ty==0.0.84" ]
commands = [ [ "ty", "check", "--output-format", "concise", "--error-on-warning", "." ] ]

[env.dev]
Expand Down