diff --git a/NEWS.rst b/NEWS.rst index df588db1..6b6a1fad 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -1,3 +1,14 @@ +Incremental 24.7.2 (2024-07-29) +=============================== + +Bugfixes +-------- + +- Incremental could mis-identify that a project had opted in to version management. + + If a ``pyproject.toml`` in the current directory contained a ``[project]`` table with a ``name`` key, but did not contain the opt-in ``[tool.incremental]`` table, Incremental would still treat the file as if the opt-in were present and attempt to validate the configuration. This could happen in contexts outside of packaging, such as when creating a virtualenv. When operating as a setuptools plugin Incremental now always ignores invalid configuration, such as configuration that doesn't match the content of the working directory. (`#106 `__) + + Incremental 24.7.1 (2024-07-27) =============================== diff --git a/src/incremental/_version.py b/src/incremental/_version.py index 654a7b7c..4cf64ac9 100644 --- a/src/incremental/_version.py +++ b/src/incremental/_version.py @@ -7,5 +7,5 @@ from incremental import Version -__version__ = Version("Incremental", 24, 7, 1) +__version__ = Version("Incremental", 24, 7, 2) __all__ = ["__version__"] diff --git a/src/incremental/newsfragments/106.bugfix b/src/incremental/newsfragments/106.bugfix deleted file mode 100644 index 4697af24..00000000 --- a/src/incremental/newsfragments/106.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Incremental could mis-identify that a project had opted in to version management. - -If a ``pyproject.toml`` in the current directory contained a ``[project]`` table with a ``name`` key, but did not contain the opt-in ``[tool.incremental]`` table, Incremental would still treat the file as if the opt-in were present and attempt to validate the configuration. This could happen in contexts outside of packaging, such as when creating a virtualenv. When operating as a setuptools plugin Incremental now always ignores invalid configuration, such as configuration that doesn't match the content of the working directory.