build: add support for py3.13 windows (#1055)

This commit is contained in:
Juro Oravec 2025-03-22 13:09:58 +01:00 committed by GitHub
parent 390211b86e
commit 30f3739499
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 32 additions and 7 deletions

View file

@ -9,3 +9,9 @@ updates:
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
- package-ecosystem: github-actions
# This actually targets ./.github/workflows/
# See https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference#directories-or-directory--
directory: "/"
schedule:
interval: monthly

View file

@ -15,12 +15,12 @@ jobs:
if: github.repository == 'django-components/django-components'
steps:
- name: Checkout the repo
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.13'
- name: Install pypa/build
run: >-

View file

@ -14,6 +14,10 @@
css = ["*.css"]
```
#### Fix
- Fix installation for Python 3.13 on Windows.
## v0.131
#### Feat

View file

@ -8,3 +8,18 @@ Django-components supports all supported combinations versions of [Django](https
| 3.11 | 4.2, 5.0, 5.1 |
| 3.12 | 4.2, 5.0, 5.1 |
| 3.13 | 5.1 |
### Operating systems
django-components is tested against Ubuntu and Windows, and should work on any operating system that supports Python.
!!! note
django-components uses Rust-based parsers for better performance.
These sub-packages are built with [maturin](https://github.com/PyO3/maturin)
which supports a wide range of operating systems, architectures, and Python versions ([see the full list](https://pypi.org/project/djc-core-html-parser/#files)).
This should cover most of the cases.
However, if your environment is not supported, you will need to install Rust and Cargo to build the sub-packages from source.

View file

@ -29,7 +29,7 @@ classifiers = [
]
dependencies = [
'Django>=4.2',
'djc-core-html-parser>=1.0',
'djc-core-html-parser>=1.0.2',
]
license = {text = "MIT"}

View file

@ -32,7 +32,7 @@ distlib==0.3.9
# via virtualenv
django==5.1.7
# via -r requirements-dev.in
djc-core-html-parser==1.0.1
djc-core-html-parser==1.0.2
# via -r requirements-dev.in
filelock==3.16.1
# via

View file

@ -60,7 +60,7 @@ defusedxml==0.7.1
# via cairosvg
django==5.1.7
# via hatch.envs.docs
djc-core-html-parser==1.0.1
djc-core-html-parser==1.0.2
# via hatch.envs.docs
ghp-import==2.1.0
# via mkdocs

View file

@ -31,7 +31,7 @@ deps =
django42: Django>=4.2,<4.3
django50: Django>=5.0,<5.1
django51: Django>=5.1,<5.2
djc-core-html-parser
djc-core-html-parser==1.0.2
pytest
pytest-xdist
pytest-django