From 581d54ec672de23eb824e8094da17db9e42876ca Mon Sep 17 00:00:00 2001 From: Juro Oravec Date: Sat, 22 Mar 2025 11:58:29 +0100 Subject: [PATCH] refactor: add build for Python 3.13 for Windows --- .github/dependabot.yml | 13 +++++++++++++ .github/workflows/publish.yml | 8 ++++---- CHANGELOG.md | 4 ++++ Cargo.lock | 2 +- Cargo.toml | 2 +- pyproject.toml | 2 +- 6 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..d9f519c --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - 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.yml b/.github/workflows/publish.yml index fb535f8..4a73bcf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -38,7 +38,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.x + python-version: "3.13" - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -69,7 +69,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.x + python-version: "3.13" - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -96,7 +96,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.x + python-version: "3.13" architecture: ${{ matrix.platform.target }} - name: Build wheels uses: PyO3/maturin-action@v1 @@ -123,7 +123,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.x + python-version: "3.13" - name: Build wheels uses: PyO3/maturin-action@v1 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 162cab7..57b956a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Release notes +## v1.0.2 + +- Add build for Python 3.13 for Windows. + ## v1.0.1 - Fix module typing. diff --git a/Cargo.lock b/Cargo.lock index df367fa..c7e960c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -22,7 +22,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "djc_core_html_parser" -version = "1.0.1" +version = "1.0.2" dependencies = [ "pyo3", "quick-xml", diff --git a/Cargo.toml b/Cargo.toml index b2830b0..340f74f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "djc_core_html_parser" -version = "1.0.1" +version = "1.0.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/pyproject.toml b/pyproject.toml index 45b8bcb..a557a9e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "djc_core_html_parser" -version = "1.0.1" +version = "1.0.2" requires-python = ">=3.8, <4.0" description = "HTML parser used by django-components written in Rust." keywords = ["django", "components", "html"]