Skip to content

Releases: zanieb/poetry-relax

Release 1.1.0

23 Nov 15:38
0bf9222
Compare
Choose a tag to compare

Changes

  • Drops support for Python 3.7
  • Adds support for Python 3.12
  • Adds support for Poetry 1.6 and 1.7
  • Fixes bug where the presence of git dependencies would cause relax to fail

Release 1.0.1

20 Aug 14:04
Compare
Choose a tag to compare

This release fixes two bugs.

When the --update flag was used with relaxed dependencies in multiple groups, only dependencies in the last group would be updated. Now, all of groups will be updated.

When a dependency had multiple versions with conditional markers, poetry-relax would fail to process the dependencies. For example:

foo = [
    {version = "<=1.9", python = ">=3.6,<3.8"},
    {version = "^2.0", python = ">=3.8"}
]

Now, poetry-relax will parse dependencies with multiple versions and correctly relax relevant subsets.

Release 1.0.0

24 May 01:01
Compare
Choose a tag to compare

🎂 poetry-relax turns one!

Since this has been out there for a bit and I wanted to change a default behavior, I've decided to release the first major version of this package.

This release includes a breaking change: all groups are now relaxed by default.

Previously, each group would need to be relaxed individually. When running poetry relax --check, this could be slow as the dependency solver would run multiple times. Now, multiple groups are supported with only a single execution of the dependency solver.

This change brings the tool closer to Poetry's default handling of groups. A --without option has been added (matching Poetry's group selection options) to exclude groups from relaxation. Additionally, the --group option has been renamed to --only — this also matches Poetry's options and is clearer when the default includes multiple groups. The ---group option will remain usable, but will display deprecation warnings.

Note while poetry install excludes "optional" groups by default, poetry relax will include optional groups unless --without is used to exclude them.

See 0.1.2...1.0.0 for a full list of changes.

Release 0.1.2

23 May 15:47
Compare
Choose a tag to compare

This release ensures compatibility with Python 3.12 and Poetry 1.5.x.

See 0.1.1...0.1.2 for a full list of changes.

Release 0.1.1

24 Mar 05:40
Compare
Choose a tag to compare

This release ensures compatibility with Poetry 1.3.x and 1.4.x.

See 0.1.0...0.1.1 for a full list of changes.

Release 0.1.0

20 Sep 22:39
Compare
Choose a tag to compare

This is the first release of poetry-relax! Thanks for taking a look at the project.

This version supports the following commands:

# Install poetry-relax
poetry self add poetry-relax

# Relax constraints for which Poetry set an upper version
poetry relax

# Relax constraints and check that they are resolvable without performing upgrades
poetry relax --check

# Relax constraints and upgrade packages
poetry relax --update

# Relax constraints and update the lock file without upgrading packages
poetry relax --lock

# Preview the changes `poetry relax` would make without modifying the project
poetry relax --dry-run

See the README for more details.