Skip to content

Commit

Permalink
Drop support for Python 3.7 (cookiecutter#2052)
Browse files Browse the repository at this point in the history
drop support for python 3.7
  • Loading branch information
danieleades authored Jul 4, 2024
1 parent f49dcf9 commit b2d7896
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ jobs:
- "3.11"
- "3.12"
include:
- os: ubuntu-latest
python: "3.7"
- os: ubuntu-latest
python: "3.8"
- os: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ignore = ["D001"]

[tool.ruff]

target-version = "py37"
target-version = "py38"

[tool.ruff.lint]

Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def _get_version() -> str:
package_dir={'cookiecutter': 'cookiecutter'},
entry_points={'console_scripts': ['cookiecutter = cookiecutter.__main__:main']},
include_package_data=True,
python_requires='>=3.7',
python_requires='>=3.8',
install_requires=requirements,
license='BSD',
zip_safe=False,
Expand All @@ -64,7 +64,6 @@ def _get_version() -> str:
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
lint
py{312, 311, 310, 39, 38, 37}
py{312, 311, 310, 39, 38}
safety
docs

Expand Down

0 comments on commit b2d7896

Please sign in to comment.