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](https://github.com/twisted/incremental/issues/106) <https://github.com/twisted/incremental/issues/106>__)
Incremental 24.7.1 (2024-07-27)
Bugfixes
Incremental 24.7.0 would produce an error when parsing the pyproject.toml of a project that lacked the use_incremental=True or [tool.incremental] opt-in markers if that file lacked a [project] section containing the package name. This could cause a project that only uses pyproject.toml to configure tools to fail to build if Incremental is installed. Incremental now ignores such projects. ([#100](https://github.com/twisted/incremental/issues/100) <https://github.com/twisted/incremental/issues/100>__)
Incremental can now be configured using pyproject.toml. ([#90](https://github.com/twisted/incremental/issues/90) <https://github.com/twisted/incremental/issues/90>__)
Incremental now provides a read-only Hatchling version source plugin <https://hatch.pypa.io/latest/plugins/version-source/reference/>_. ([#93](https://github.com/twisted/incremental/issues/93) <https://github.com/twisted/incremental/issues/93>__)
Bugfixes
Incremental no longer inserts a dot before the rc version component (i.e., 1.2.3rc1 instead of 1.2.3.rc1), resulting in version numbers in the canonical format <https://packaging.python.org/en/latest/specifications/version-specifiers/#public-version-identifiers>. ([#81](https://github.com/twisted/incremental/issues/81) <https://github.com/twisted/incremental/issues/81>)
Incremental's tests are now included in the sdist release artifact. ([#80](https://github.com/twisted/incremental/issues/80) <https://github.com/twisted/incremental/issues/80>__)
Deprecations and Removals
incremental[scripts] no longer depends on Twisted. ([#88](https://github.com/twisted/incremental/issues/88) <https://github.com/twisted/incremental/issues/88>__)
Support for Python 2.7 has been dropped for lack of test infrastructure. We no longer provide universal wheels. ([#86](https://github.com/twisted/incremental/issues/86) <https://github.com/twisted/incremental/issues/86>__)
Support for Python 3.5, 3.6, and 3.7 has been dropped for lack of test infrastructure. ([#92](https://github.com/twisted/incremental/issues/92) <https://github.com/twisted/incremental/issues/92>__)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps incremental from 22.10.0 to 24.7.2.
Changelog
Sourced from incremental's changelog.
Commits
32be98f
Release Incremental 24.7.2380e669
Merge pull request #107 from twisted/106-never-raisea559f5c
Allow syntax errors to propagate3d2cdb1
Cleanups to shorten the diffd2fe36f
Defense in depthd659ea0
There and back again11ad413
Update the readme0f7001c
Tidy up some comments4adf23b
Add newsfragmentb5ad054
100% coverage, why not?Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show