mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-16 19:41:03 +03:00
Pin Python version to 3.12 (#5456)
* Pin Python version to 3.12 * Add back actions/setup-python to bare metal tests * Revert "Add back actions/setup-python to bare metal tests" This reverts commitcdee7e2da7
. * Update test_bare.sh to run commands via uv * Skip uv lock on PRs from forks * Revert "Update test_bare.sh to run commands via uv" This reverts commit56f839e2b4
. * Add back actions/setup-python to bare metal tests * Only run uv lock workflow on dependabot PRs
This commit is contained in:
parent
822c1c0327
commit
931e300b63
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -98,6 +98,9 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: "3.12"
|
||||||
- name: Install uv
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@v3
|
uses: astral-sh/setup-uv@v3
|
||||||
with:
|
with:
|
||||||
|
|
1
.github/workflows/dependabot-uv-lock.yml
vendored
1
.github/workflows/dependabot-uv-lock.yml
vendored
|
@ -11,6 +11,7 @@ permissions:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lock:
|
lock:
|
||||||
|
if: ${{ github.actor == 'dependabot[bot]' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
GH_PAT: ${{ secrets.GH_PAT }}
|
GH_PAT: ${{ secrets.GH_PAT }}
|
||||||
|
|
|
@ -14,7 +14,7 @@ license = { text = "BSD" }
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Daniel Roy Greenfeld", email = "pydanny@gmail.com" },
|
{ name = "Daniel Roy Greenfeld", email = "pydanny@gmail.com" },
|
||||||
]
|
]
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12,<3.13"
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Development Status :: 4 - Beta",
|
"Development Status :: 4 - Beta",
|
||||||
"Environment :: Console",
|
"Environment :: Console",
|
||||||
|
@ -25,7 +25,6 @@ classifiers = [
|
||||||
"Programming Language :: Python",
|
"Programming Language :: Python",
|
||||||
"Programming Language :: Python :: 3 :: Only",
|
"Programming Language :: Python :: 3 :: Only",
|
||||||
"Programming Language :: Python :: 3.12",
|
"Programming Language :: Python :: 3.12",
|
||||||
"Programming Language :: Python :: 3.13",
|
|
||||||
"Programming Language :: Python :: Implementation :: CPython",
|
"Programming Language :: Python :: Implementation :: CPython",
|
||||||
"Topic :: Software Development",
|
"Topic :: Software Development",
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user