Skip to content

Chore: Bump affine from 2.4.0 to 3.0.1 - #626

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/affine-3.0.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/affine-3.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 1, 2026

Copy link
Copy Markdown
Contributor

Bumps affine from 2.4.0 to 3.0.1.

Release notes

Sourced from affine's releases.

3.0.1

Deprecations

  • Affine now raises PendingDeprecationWarning when the * operator is used for matrix multiplication (gh-146). This is intended for developers to see. Documentation examples have been changed to use @ instead.

Bug fixes

  • Affine requires attrs>=21.3.0 (gh-148).

3.0.0

This is 3.0.0. Thanks for your patience!

Only one change has been made since 3.0rc3:

  • Affine.__array__() has been deleted to remove a dependency on Numpy and associated typing annotations (#140). To convert an Affine instance to a Numpy array, do this: numpy.array(Affine()).reshape(3, 3).

3.0rc3

The single file module affine.py has been moved to affine/__init__.py so that a py.typed file can be distributed in the same directory (#136).

3.0rc2

3.0rc1 tagged the wrong commit. The distributions on PyPI have the correct version, but the GitHub release does not. This is fixed by 3.0rc2, which makes no other changes.

3.0rc1

This is the first 3.0 release candidate. There are no significant changes since 3.0b1.

3.0b1

The second 3.0 pre-release has a single bug fix. Matrix multiplication with tuples of coordinate matrices, like the output of numpy.meshgrid(), was broken in 3.0a1. It has been restored (#126).

3.0a1

This is the first pre-release of Affine version 3.0. There is one major, potentially breaking change: the Affine class is no longer a named tuple, and is no longer serializable to JSON without an adapter of some kind. That said, Rasterio 1.4 needed only minor changes to work with Affine 3.0, and we hope that other projects are similarly easy to update.

New features

  • Type hint annotations for functions and methods are complete (#121).
  • Affine raises ValueError if initialized with values for g, h, and i that are not 0.0, 0.0, and 1.0, respectively (#117).
  • Python version support was changed to 3.9+ (#110).
  • Switch from namedtuple to attrs for implementation of the Affine class and use functools.cached_property(), which absolutely requires Python 3.8 (#111).
  • Source was moved to a single-module affine.py in the src directory (#112).
  • Add numpy __array__() interface (#108).
  • Add support for @ matrix multiplier methods (#122).
Changelog

Sourced from affine's changelog.

3.0.1 (2026-08-28)

Deprecations:

  • Affine now raises PendingDeprecationWarning when the * operator is used for matrix multiplication. This is intended for developers to see (gh-146).

Bug fixes:

  • Affine requires attrs>=21.3.0 (gh-148).

3.0.0 (2026-08-08)

  • Affine.__array__() has been deleted to remove a dependency on Numpy and associated typing annotations (#140). To convert an Affine instance to a Numpy array, do this: numpy.array(Affine()).reshape(3, 3).

3.0rc3 (2026-01-30)

The single file module affine.py has been moved to affine/init.py so that a py.typed file can be distributed in the same directory (#136).

3.0rc2 (2026-01-27)

3.0rc1 tagged the wrong commit. The distributions on PyPI have the correct version, but the GitHub release does not. This is fixed by 3.0rc2, which makes no other changes.

3.0rc1 (2026-01-26)

This is the first 3.0 release candidate. There are no significant changes since 3.0b1.

3.0b1 (2025-01-29)

  • Matrix multiplication with tuples of coordinate matrices, like the output of numpy.meshgrid(), has been restored (#126).

3.0a1 (2025-01-27)

  • Type hint annotations for functions and methods are complete (#121).
  • Affine raises ValueError if initialized with values for g, h, and i that are not 0.0, 0.0, and 1.0, respectively (#117).

... (truncated)

Commits
  • b05b2b0 This is 3.0.1
  • 6289819 Add Python 3.15 to the tox build matrix (#149)
  • c79172e Add minimal verison for attrs dependency (#148)
  • 3f37b1a feat: move dev dependencies according to PEP 735 (#143)
  • 217f2d2 Raise PendingDeprecationWarning for * mul operator for matrix multiplaction...
  • 57a5dd1 Improve license metadata (PEP 639) (#145)
  • 8fd16ce Bump codecov/codecov-action from 3 to 5 in the github-actions group (#142)
  • 177dde6 This is 3.0.0 (#144)
  • a9fa7c9 Add dependabot for github actions (#132)
  • c6cec9b Implement typing overloads for (matrix) multiplication (#137)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 show <dependency name> 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 [affine](https://github.com/rasterio/affine) from 2.4.0 to 3.0.1.
- [Release notes](https://github.com/rasterio/affine/releases)
- [Changelog](https://github.com/rasterio/affine/blob/main/CHANGES.txt)
- [Commits](rasterio/affine@2.4.0...3.0.1)

---
updated-dependencies:
- dependency-name: affine
  dependency-version: 3.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Sep 1, 2026
@dependabot
dependabot Bot requested a review from joemoorhouse as a code owner September 1, 2026 11:47
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Sep 1, 2026
@github-actions github-actions Bot added the chore label Sep 1, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants