Skip to content

Commit

Permalink
Update requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
jacklinke committed Oct 3, 2024
1 parent 8859766 commit 202c021
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 214 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pip==24.0
pipx==1.5.0
pip==24.2
pipx==1.7.1
nox==2024.4.15
uv>=0.4.0
pytest==8.2.1
pytest==8.3.3
pytest-cov==5.0.0
pytest-django==4.8.0
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fetch-depth: 2

- name: Set up Python
uses: actions/setup-python@v5.1.0
uses: actions/setup-python@v5.2.0
with:
python-version: "3.12"

Expand Down Expand Up @@ -55,14 +55,14 @@ jobs:
- name: Publish package on PyPI
if: steps.check-version.outputs.tag
uses: pypa/gh-action-pypi-publish@v1.8.14
uses: pypa/gh-action-pypi-publish@v1.10.2
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

- name: Publish package on TestPyPI
if: "! steps.check-version.outputs.tag"
uses: pypa/gh-action-pypi-publish@v1.8.14
uses: pypa/gh-action-pypi-publish@v1.10.2
with:
user: __token__
password: ${{ secrets.TEST_PYPI_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ repos:
entry: pyupgrade
language: system
types: [python]
args: [--py39-plus]
args: [--py310-plus]
- id: trailing-whitespace
name: Trim Trailing Whitespace
entry: trailing-whitespace-fixer
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Request features on the [Issue Tracker].

## How to set up your development environment

You need Python 3.9+ and the following tools:
You need Python 3.10+ and the following tools:

- [uv]
- [Nox]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ django-help is a powerful and flexible Django package that provides a multilingu

## Requirements

- Python 3.9 or higher
- Python 3.10 or higher
- Django 4.2 or higher
- Additional dependencies:
- django-markdownx 4.0+: For Markdown editing and rendering
Expand Down
6 changes: 3 additions & 3 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
furo==2024.5.6
sphinx==7.3.7
furo==2024.8.6
sphinx==8.0.2
sphinx-click==6.0.0
myst-parser==3.0.1
myst-parser==4.0.0
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# PYTHON_STABLE_VERSION should be set to the latest stable Python version

PYTHON_STABLE_VERSION = "3.12"
PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12"]
PYTHON_VERSIONS = ["3.10", "3.11", "3.12"]


package = "django_help"
Expand Down
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=61.0"]
requires = ["setuptools>=70.0"]
build-backend = "setuptools.build_meta"

[project]
Expand All @@ -17,7 +17,7 @@ classifiers = [
"Framework :: Django :: 5.1",
"Development Status :: 1 - Planning",
]
requires-python = ">=3.9,<4.0"
requires-python = ">=3.10,<4.0"
dependencies = [
"django>=4.2",
"click>=8.1.7",
Expand Down Expand Up @@ -46,27 +46,27 @@ dev-dependencies = [
"flake8-bugbear>=24.4.26",
"flake8-docstrings>=1.7.0",
"flake8-rst-docstrings>=0.3.0",
"furo>=2024.5.6",
"furo>=2024.8.6",
"isort>=5.13.2",
"nox>=2024.4.15",
"pep8-naming>=0.14.1",
"pre-commit>=3.7.1",
"pre-commit-hooks>=4.6.0",
"pytest>=8.2.1",
"pytest>=8.3.3",
"pytest-cov>=5.0.0",
"pytest-django>=4.8.0",
"pytest-django>=4.9.0",
"pyupgrade>=3.15.2",
"safety>=3.2.0",
"sphinx>=7.3.7",
"sphinx>=8.0.2",
"sphinx-autobuild>=2024.4.16",
"sphinx-click>=6.0.0",
"xdoctest[colors]>=1.1.3",
"myst-parser>=3.0.1",
"myst-parser>=4.0.0",
]

[tool.black]
line-length = 120
target-version = ["py39", "py310", "py311", "py312"]
target-version = ["py310", "py311", "py312"]
force-exclude = '''
(
.nox
Expand Down
205 changes: 12 additions & 193 deletions uv.lock

Large diffs are not rendered by default.

0 comments on commit 202c021

Please sign in to comment.