Skip to content

Commit

Permalink
chore: remove a few more references to Python 3.8 (#513)
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii authored Oct 20, 2024
1 parent d678906 commit b7cc161
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/pages/guides/style.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ needed if just set to `["src"]` in Ruff 0.6+. {% rr RF003 %}
> should also set:
>
> ```toml
> target-version = "py38"
> target-version = "py39"
> ```
>
> This selects the minimum version you want to target (primarily for `"UP"` and
Expand Down Expand Up @@ -491,7 +491,7 @@ when clearly better (please always use them, they are faster) if you set
rev: "v3.18.0"
hooks:
- id: pyupgrade
args: ["--py38-plus"]
args: ["--py39-plus"]
```

[pyupgrade]: https://github.com/asottile/pyupgrade
Expand Down
2 changes: 1 addition & 1 deletion {{cookiecutter.project_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ disallow_incomplete_defs = true

[tool.ruff]
{%- if cookiecutter.backend == "poetry" %}
target-version = "py38"
target-version = "py39"
{%- endif %}

[tool.ruff.lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ make_wheels:
entrypoint: ["env", "-u", "DOCKER_HOST"]
command: ["dockerd-entrypoint.sh"]
matrix:
- CIBW_BUILD: ['cp38-*', 'cp39-*', 'cp310-*', 'cp311-*', 'cp312-*']
- CIBW_BUILD: ['cp39-*', 'cp310-*', 'cp311-*', 'cp312-*', 'cp313-*']
CIBW_PLATFORM: ['linux', 'windows'] # 'macos' not supported by CIBW on GitLab CI
variables:
DOCKER_HOST: tcp://docker:2375/
Expand Down

0 comments on commit b7cc161

Please sign in to comment.