From 3b1a30c6e408a8c9a69af47cae56ec44a5a84ad5 Mon Sep 17 00:00:00 2001 From: Arthur Pastel Date: Mon, 9 Dec 2024 10:43:56 +0100 Subject: [PATCH] =?UTF-8?q?Release=20v3.1.0=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 38 ++++++++++++++++++++++----------- pyproject.toml | 2 +- src/pytest_codspeed/__init__.py | 4 ++-- uv.lock | 15 +------------ 4 files changed, 30 insertions(+), 29 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 50bffd8..fe9dd54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,23 +5,36 @@ -## [Unreleased] +## [3.1.0] - 2024-12-09 + +### 🏗️ Refactor +- Remove the scripted semver generation by @art049 + +### ⚙️ Internals +- Fix typo in cibuildwheel config by @art049 in [#57](https://github.com/CodSpeedHQ/pytest-codspeed/pull/57) + + +## [3.1.0-beta] - 2024-12-06 ### 🚀 Features -- Check buildability and fallback when build doesn't work -- Compile the callgrind wrapper at build time +- Check buildability and fallback when build doesn't work by @art049 +- Compile the callgrind wrapper at build time by @art049 ### 🐛 Bug Fixes -- Allow build on arm64 +- Allow build on arm64 by @art049 ### ⚙️ Internals -- Define the version from the pyproject.toml -- Force native extension build in CI -- Updated matrix release workflow -- Use a common python version in the codspeed job -- Fix the codspeed workflow -- Use uv in CI -- Uv lock +- Build wheels with cibuildwheel by @art049 +- Allow forcing integrated tests by @art049 +- Fix release script by @art049 +- Use bumpver to manage versions by @art049 +- Add a changelog by @art049 +- Force native extension build in CI by @art049 +- Updated matrix release workflow by @art049 +- Use a common python version in the codspeed job by @art049 +- Fix the codspeed workflow by @art049 +- Use uv in CI by @art049 +- Commit uv lock file by @art049 ## [3.0.0] - 2024-10-29 @@ -229,7 +242,8 @@ - Add a CI configuration with pytest-benchmark installed by @art049 -[unreleased]: https://github.com/CodSpeedHQ/pytest-codspeed/compare/v3.0.0..HEAD +[3.1.0]: https://github.com/CodSpeedHQ/pytest-codspeed/compare/v3.1.0-beta..v3.1.0 +[3.1.0-beta]: https://github.com/CodSpeedHQ/pytest-codspeed/compare/v3.0.0..v3.1.0-beta [3.0.0]: https://github.com/CodSpeedHQ/pytest-codspeed/compare/v3.0.0b4..v3.0.0 [3.0.0b4]: https://github.com/CodSpeedHQ/pytest-codspeed/compare/v3.0.0b3..v3.0.0b4 [3.0.0b3]: https://github.com/CodSpeedHQ/pytest-codspeed/compare/v3.0.0b2..v3.0.0b3 diff --git a/pyproject.toml b/pyproject.toml index 8b152a6..4916cae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,7 +60,7 @@ version = { attr = "pytest_codspeed.__version__" } [tool.bumpver] -current_version = "3.1.0-beta" +current_version = "3.1.0" version_pattern = "MAJOR.MINOR.PATCH[-TAG]" commit_message = "Release v{new_version} 🚀" tag_message = "Release v{new_version} 🚀" diff --git a/src/pytest_codspeed/__init__.py b/src/pytest_codspeed/__init__.py index 296ecbb..73cd4f8 100644 --- a/src/pytest_codspeed/__init__.py +++ b/src/pytest_codspeed/__init__.py @@ -1,6 +1,6 @@ -__version__ = "3.1.0b0" +__version__ = "3.1.0" # We also have the semver version since __version__ is not semver compliant -__semver_version__ = "3.1.0-beta" +__semver_version__ = "3.1.0" from .plugin import BenchmarkFixture diff --git a/uv.lock b/uv.lock index 8697c4a..3fcc0a4 100644 --- a/uv.lock +++ b/uv.lock @@ -333,7 +333,7 @@ wheels = [ [[package]] name = "pytest-codspeed" -version = "3.1.0b0" +version = "3.1.0" source = { editable = "." } dependencies = [ { name = "cffi" }, @@ -343,9 +343,6 @@ dependencies = [ ] [package.optional-dependencies] -build = [ - { name = "semver" }, -] compat = [ { name = "pytest-benchmark" }, { name = "pytest-xdist" }, @@ -371,7 +368,6 @@ requires-dist = [ { name = "pytest-xdist", marker = "extra == 'compat'", specifier = "~=3.6.1" }, { name = "rich", specifier = ">=13.8.1" }, { name = "ruff", marker = "extra == 'lint'", specifier = "~=0.6.5" }, - { name = "semver", marker = "extra == 'build'", specifier = ">=3.0.2" }, ] [[package]] @@ -439,15 +435,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/3e/14/fd026bc74ded05e2351681545a5f626e78ef831f8edce064d61acd2e6ec7/ruff-0.6.9-py3-none-win_arm64.whl", hash = "sha256:a9641e31476d601f83cd602608739a0840e348bda93fec9f1ee816f8b6798b93", size = 8679879 }, ] -[[package]] -name = "semver" -version = "3.0.2" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/41/6c/a536cc008f38fd83b3c1b98ce19ead13b746b5588c9a0cb9dd9f6ea434bc/semver-3.0.2.tar.gz", hash = "sha256:6253adb39c70f6e51afed2fa7152bcd414c411286088fb4b9effb133885ab4cc", size = 214988 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/9a/77/0cc7a8a3bc7e53d07e8f47f147b92b0960e902b8254859f4aee5c4d7866b/semver-3.0.2-py3-none-any.whl", hash = "sha256:b1ea4686fe70b981f85359eda33199d60c53964284e0cfb4977d243e37cf4bf4", size = 17099 }, -] - [[package]] name = "tomli" version = "2.2.1"