Skip to content

Commit

Permalink
pyproject.toml: project.requires-python = ">=3.11.1,<3.11.2" (#8229)
Browse files Browse the repository at this point in the history
* pyproject.toml: [project] requires-python = 3.11.1

* actions/setup-python with python-version-file: pyproject.toml

* Update python_tests.yml

* pyproject.toml project.requires-python = "3.11.1"

* pyproject.toml project.requires-python = '3.11.1'

* pyproject.toml project.requires-python = 3.11

* pyproject.toml project.requires-python = "3.11"

* pyproject.toml: project.requires-python = "==3.11.1"

* pyproject.toml: project.requires-python = "~=3.11.1"

* pyproject.toml: project.requires-python = "==3.11.1"

* pyproject.toml: project.requires-python = "== 3.11.1"

* pyproject.toml: project.requires-python = ">=3.11.1,<3.11.2"
  • Loading branch information
cclauss committed Aug 25, 2023
1 parent dcd69f8 commit 64ca53e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/python_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,14 @@ permissions:

jobs:
python_tests:
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version-file: pyproject.toml
- uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
# verbose regular expressions by Black. Use [ ] to denote a significant space
# character.

[project]
name = "openlibrary"
version = "1.0.0"
requires-python = ">=3.11.1,<3.11.2"

[tool.black]
skip-string-normalization = true
target-version = ["py311"]
Expand Down

0 comments on commit 64ca53e

Please sign in to comment.