diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 17c5ae2a..aff066ed 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -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 diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index e976a71b..f3e0b170 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -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: >- diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d613134..6fb47eed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,10 @@ css = ["*.css"] ``` +#### Fix + +- Fix installation for Python 3.13 on Windows. + ## v0.131 #### Feat diff --git a/docs/overview/compatibility.md b/docs/overview/compatibility.md index 8b66b64b..6f4346e4 100644 --- a/docs/overview/compatibility.md +++ b/docs/overview/compatibility.md @@ -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. diff --git a/pyproject.toml b/pyproject.toml index c865e281..53b57a19 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"} diff --git a/requirements-dev.txt b/requirements-dev.txt index 5366901c..3c75ab0e 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -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 diff --git a/requirements-docs.txt b/requirements-docs.txt index 0bda0845..660d30d0 100644 --- a/requirements-docs.txt +++ b/requirements-docs.txt @@ -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 diff --git a/tox.ini b/tox.ini index 3284317f..600356a8 100644 --- a/tox.ini +++ b/tox.ini @@ -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