-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies and drop python <3.11
This commit switches to pyproject.toml with Hatch/uv and drops support for Python 3.8-3.10. - Replace setup.py with pyproject.toml using Hatch/UV. - Migrate project metadata and dependencies into pyproject.toml. - Use Hatch and uv for building and dependency management. - Update requires-python to ">=3.11" and remove support for Python 3.8-3.10. - Removes tox and updates testing configurations to match. TODO: Run pyupgrade --py311 plus
- Loading branch information
Showing
31 changed files
with
1,558 additions
and
581 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
changelog: | ||
exclude: | ||
labels: | ||
- ignore-for-release | ||
- auto-pr | ||
- dependencies | ||
authors: | ||
- app/github-actions | ||
categories: | ||
- title: Critical Changes 🛠 | ||
labels: | ||
- critical-change | ||
- title: Changes 🎉 | ||
labels: | ||
- enhancement | ||
- "*" | ||
exclude: | ||
labels: | ||
- bug | ||
- title: Issues Fixed 🩴 | ||
labels: | ||
- bug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
update-deps: | ||
pip-compile --upgrade --allow-unsafe requirements/prod.in | ||
pip-compile --upgrade --allow-unsafe requirements/dev.in | ||
uv lock --upgrade | ||
uv pip compile docs/requirements.in -o docs/requirements.txt --universal -p 3.11 | ||
|
||
dev-install: | ||
pip install --upgrade pip-tools | ||
pip-sync requirements/*.txt | ||
pip install -e . | ||
uv sync | ||
|
||
# set SF_MKDOCS_BUILD_LOCALES=False to skip building all locales | ||
docs: .FORCE | ||
python -m mkdocs build --clean --site-dir build/html --config-file mkdocs.yml | ||
mkdocs build --clean --site-dir build/html --config-file mkdocs.yml | ||
|
||
coverage: | ||
pytest --cov --cov-report=html | ||
uv run pytest --cov --cov-report=html | ||
open htmlcov/index.html | ||
|
||
.FORCE: | ||
.FORCE: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
mkdocs>=1.6.1 | ||
mkdocs-exclude-search>=0.6.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# This file was autogenerated by uv via the following command: | ||
# uv pip compile docs/requirements.in -o docs/requirements.txt --universal -p 3.11 | ||
click==8.1.7 | ||
# via mkdocs | ||
colorama==0.4.6 ; platform_system == 'Windows' | ||
# via | ||
# click | ||
# mkdocs | ||
ghp-import==2.1.0 | ||
# via mkdocs | ||
jinja2==3.1.4 | ||
# via mkdocs | ||
markdown==3.7 | ||
# via mkdocs | ||
markupsafe==3.0.2 | ||
# via | ||
# jinja2 | ||
# mkdocs | ||
mergedeep==1.3.4 | ||
# via | ||
# mkdocs | ||
# mkdocs-get-deps | ||
mkdocs==1.6.1 | ||
# via | ||
# -r docs/requirements.in | ||
# mkdocs-exclude-search | ||
mkdocs-exclude-search==0.6.6 | ||
# via -r docs/requirements.in | ||
mkdocs-get-deps==0.2.0 | ||
# via mkdocs | ||
packaging==24.2 | ||
# via mkdocs | ||
pathspec==0.12.1 | ||
# via mkdocs | ||
platformdirs==4.3.6 | ||
# via mkdocs-get-deps | ||
python-dateutil==2.9.0.post0 | ||
# via ghp-import | ||
pyyaml==6.0.2 | ||
# via | ||
# mkdocs | ||
# mkdocs-get-deps | ||
# pyyaml-env-tag | ||
pyyaml-env-tag==0.1 | ||
# via mkdocs | ||
six==1.16.0 | ||
# via python-dateutil | ||
watchdog==6.0.0 | ||
# via mkdocs |
Oops, something went wrong.