diff --git a/setuptools-scm/CHANGELOG.md b/setuptools-scm/CHANGELOG.md index f0c0a3bc..47dec2e2 100644 --- a/setuptools-scm/CHANGELOG.md +++ b/setuptools-scm/CHANGELOG.md @@ -2,6 +2,30 @@ +## 10.0.0 (2025-12-02) + +### Removed + +- Drop Python 3.8 and 3.9 support. Minimum Python version is now 3.10. ([#py310](https://github.com/pypa/setuptools-scm/issues/py310)) + + +### Added + +- setuptools-scm now depends on vcs-versioning for core version inference logic. This enables other build backends to use the same version inference without setuptools dependency. ([#vcs-versioning-dep](https://github.com/pypa/setuptools-scm/issues/vcs-versioning-dep)) + + +### Fixed + +- Fix issue #1231: Don't warn about tool.setuptools.dynamic.version conflict when only using file finder without version inference. ([#1231](https://github.com/pypa/setuptools-scm/issues/1231)) + + +### Miscellaneous + +- Internal refactoring: modernized type annotations, improved CLI type safety, and enhanced release automation infrastructure. ([#internal-refactor](https://github.com/pypa/setuptools-scm/issues/internal-refactor)) +- Refactored should_infer from method to standalone function for better code organization. ([#should-infer-function](https://github.com/pypa/setuptools-scm/issues/should-infer-function)) +- Updated mypy version template test to use uvx with mypy 1.11.2 for Python 3.8 compatibility checking. ([#test-mypy](https://github.com/pypa/setuptools-scm/issues/test-mypy)) +- Refactored TestBuildPackageWithExtra into parametrized function with custom INI-based decorator for cleaner test data specification. ([#test-parametrize](https://github.com/pypa/setuptools-scm/issues/test-parametrize)) + ## v9.2.2 ### Fixed diff --git a/setuptools-scm/changelog.d/1231.bugfix.md b/setuptools-scm/changelog.d/1231.bugfix.md deleted file mode 100644 index 027e5c46..00000000 --- a/setuptools-scm/changelog.d/1231.bugfix.md +++ /dev/null @@ -1,2 +0,0 @@ -Fix issue #1231: Don't warn about tool.setuptools.dynamic.version conflict when only using file finder without version inference. - diff --git a/setuptools-scm/changelog.d/internal-refactor.misc.md b/setuptools-scm/changelog.d/internal-refactor.misc.md deleted file mode 100644 index 82dd5976..00000000 --- a/setuptools-scm/changelog.d/internal-refactor.misc.md +++ /dev/null @@ -1,2 +0,0 @@ -Internal refactoring: modernized type annotations, improved CLI type safety, and enhanced release automation infrastructure. - diff --git a/setuptools-scm/changelog.d/py310.removal.md b/setuptools-scm/changelog.d/py310.removal.md deleted file mode 100644 index 930517bd..00000000 --- a/setuptools-scm/changelog.d/py310.removal.md +++ /dev/null @@ -1,2 +0,0 @@ -Drop Python 3.8 and 3.9 support. Minimum Python version is now 3.10. - diff --git a/setuptools-scm/changelog.d/should-infer-function.misc.md b/setuptools-scm/changelog.d/should-infer-function.misc.md deleted file mode 100644 index c6c0b9cb..00000000 --- a/setuptools-scm/changelog.d/should-infer-function.misc.md +++ /dev/null @@ -1,2 +0,0 @@ -Refactored should_infer from method to standalone function for better code organization. - diff --git a/setuptools-scm/changelog.d/test-mypy.misc.md b/setuptools-scm/changelog.d/test-mypy.misc.md deleted file mode 100644 index ed5eb9ed..00000000 --- a/setuptools-scm/changelog.d/test-mypy.misc.md +++ /dev/null @@ -1,2 +0,0 @@ -Updated mypy version template test to use uvx with mypy 1.11.2 for Python 3.8 compatibility checking. - diff --git a/setuptools-scm/changelog.d/test-parametrize.misc.md b/setuptools-scm/changelog.d/test-parametrize.misc.md deleted file mode 100644 index 8bc5b570..00000000 --- a/setuptools-scm/changelog.d/test-parametrize.misc.md +++ /dev/null @@ -1,2 +0,0 @@ -Refactored TestBuildPackageWithExtra into parametrized function with custom INI-based decorator for cleaner test data specification. - diff --git a/setuptools-scm/changelog.d/vcs-versioning-dep.feature.md b/setuptools-scm/changelog.d/vcs-versioning-dep.feature.md deleted file mode 100644 index 39c03e39..00000000 --- a/setuptools-scm/changelog.d/vcs-versioning-dep.feature.md +++ /dev/null @@ -1,2 +0,0 @@ -setuptools-scm now depends on vcs-versioning for core version inference logic. This enables other build backends to use the same version inference without setuptools dependency. - diff --git a/vcs-versioning/CHANGELOG.md b/vcs-versioning/CHANGELOG.md index f0dec6e4..4a81f1ff 100644 --- a/vcs-versioning/CHANGELOG.md +++ b/vcs-versioning/CHANGELOG.md @@ -2,6 +2,24 @@ +## 0.2.0 (2025-12-02) + +### Added + +- Add EnvReader class for structured reading of environment variable overrides with tool prefixes and distribution-specific variants (e.g., SETUPTOOLS_SCM_PRETEND vs VCS_VERSIONING_PRETEND). ([#env-reader](https://github.com/pypa/setuptools-scm/issues/env-reader)) +- Initial release of vcs-versioning as a standalone package. Core version inference logic extracted from setuptools-scm for reuse by other build backends and tools. ([#initial-release](https://github.com/pypa/setuptools-scm/issues/initial-release)) +- Add experimental integrator workflow API for composable configuration building. Allows build backends to progressively build Configuration objects from pyproject.toml, distribution metadata, and manual overrides. ([#integrator-api](https://github.com/pypa/setuptools-scm/issues/integrator-api)) +- Add towncrier-fragments version scheme that infers version bumps based on changelog fragment types (feature=minor, bugfix=patch, removal=major). ([#towncrier-scheme](https://github.com/pypa/setuptools-scm/issues/towncrier-scheme)) +- Requires Python 3.10 or newer. Modern type annotations and language features used throughout. ([#py310](https://github.com/pypa/setuptools-scm/issues/py310)) + + +### Miscellaneous + +- Converted _cli module into a package with improved structure. Archival templates moved to resource files. Added CliNamespace for typed arguments. ([#cli-package](https://github.com/pypa/setuptools-scm/issues/cli-package)) +- Improved CLI type safety with OutputData TypedDict and better type annotations throughout CLI handling. ([#cli-typesafety](https://github.com/pypa/setuptools-scm/issues/cli-typesafety)) +- Modernized type annotations to Python 3.10+ syntax throughout codebase. Generated version files now use modern `tuple[int | str, ...]` syntax with `from __future__ import annotations`. ([#modernize-types](https://github.com/pypa/setuptools-scm/issues/modernize-types)) +- Enhanced GlobalOverrides: env_reader is now a required validated field. additional_loggers changed from string to tuple of logger instances for better type safety. ([#overrides-validation](https://github.com/pypa/setuptools-scm/issues/overrides-validation)) + ## 0.1.1 Initial release of vcs-versioning as a separate package extracted from setuptools-scm. diff --git a/vcs-versioning/changelog.d/cli-package.misc.md b/vcs-versioning/changelog.d/cli-package.misc.md deleted file mode 100644 index 4615653a..00000000 --- a/vcs-versioning/changelog.d/cli-package.misc.md +++ /dev/null @@ -1,2 +0,0 @@ -Converted _cli module into a package with improved structure. Archival templates moved to resource files. Added CliNamespace for typed arguments. - diff --git a/vcs-versioning/changelog.d/cli-typesafety.misc.md b/vcs-versioning/changelog.d/cli-typesafety.misc.md deleted file mode 100644 index f032bc70..00000000 --- a/vcs-versioning/changelog.d/cli-typesafety.misc.md +++ /dev/null @@ -1,2 +0,0 @@ -Improved CLI type safety with OutputData TypedDict and better type annotations throughout CLI handling. - diff --git a/vcs-versioning/changelog.d/env-reader.feature.md b/vcs-versioning/changelog.d/env-reader.feature.md deleted file mode 100644 index 15f3763f..00000000 --- a/vcs-versioning/changelog.d/env-reader.feature.md +++ /dev/null @@ -1,2 +0,0 @@ -Add EnvReader class for structured reading of environment variable overrides with tool prefixes and distribution-specific variants (e.g., SETUPTOOLS_SCM_PRETEND vs VCS_VERSIONING_PRETEND). - diff --git a/vcs-versioning/changelog.d/initial-release.feature.md b/vcs-versioning/changelog.d/initial-release.feature.md deleted file mode 100644 index 57cad615..00000000 --- a/vcs-versioning/changelog.d/initial-release.feature.md +++ /dev/null @@ -1,2 +0,0 @@ -Initial release of vcs-versioning as a standalone package. Core version inference logic extracted from setuptools-scm for reuse by other build backends and tools. - diff --git a/vcs-versioning/changelog.d/integrator-api.feature.md b/vcs-versioning/changelog.d/integrator-api.feature.md deleted file mode 100644 index cc1bcf61..00000000 --- a/vcs-versioning/changelog.d/integrator-api.feature.md +++ /dev/null @@ -1,2 +0,0 @@ -Add experimental integrator workflow API for composable configuration building. Allows build backends to progressively build Configuration objects from pyproject.toml, distribution metadata, and manual overrides. - diff --git a/vcs-versioning/changelog.d/modernize-types.misc.md b/vcs-versioning/changelog.d/modernize-types.misc.md deleted file mode 100644 index 439f2e4f..00000000 --- a/vcs-versioning/changelog.d/modernize-types.misc.md +++ /dev/null @@ -1,2 +0,0 @@ -Modernized type annotations to Python 3.10+ syntax throughout codebase. Generated version files now use modern `tuple[int | str, ...]` syntax with `from __future__ import annotations`. - diff --git a/vcs-versioning/changelog.d/overrides-validation.misc.md b/vcs-versioning/changelog.d/overrides-validation.misc.md deleted file mode 100644 index 70d7c933..00000000 --- a/vcs-versioning/changelog.d/overrides-validation.misc.md +++ /dev/null @@ -1,2 +0,0 @@ -Enhanced GlobalOverrides: env_reader is now a required validated field. additional_loggers changed from string to tuple of logger instances for better type safety. - diff --git a/vcs-versioning/changelog.d/py310.feature.md b/vcs-versioning/changelog.d/py310.feature.md deleted file mode 100644 index 7b60acb5..00000000 --- a/vcs-versioning/changelog.d/py310.feature.md +++ /dev/null @@ -1,2 +0,0 @@ -Requires Python 3.10 or newer. Modern type annotations and language features used throughout. - diff --git a/vcs-versioning/changelog.d/towncrier-scheme.feature.md b/vcs-versioning/changelog.d/towncrier-scheme.feature.md deleted file mode 100644 index 9f8bcc9d..00000000 --- a/vcs-versioning/changelog.d/towncrier-scheme.feature.md +++ /dev/null @@ -1,2 +0,0 @@ -Add towncrier-fragments version scheme that infers version bumps based on changelog fragment types (feature=minor, bugfix=patch, removal=major). -