Skip to content

Allow and test wrapt 2.x#88

Merged
laurent-laporte-pro merged 5 commits intolaurent-laporte-pro:developfrom
musicinmybrain:wrapt2
Oct 29, 2025
Merged

Allow and test wrapt 2.x#88
laurent-laporte-pro merged 5 commits intolaurent-laporte-pro:developfrom
musicinmybrain:wrapt2

Conversation

@musicinmybrain
Copy link
Copy Markdown
Contributor

@musicinmybrain musicinmybrain commented Aug 12, 2025

Describe what this patch does to fix the issue.

This simply loosens the version bound on the wrapt dependency to allow versions 2.x, then starts testing them using wrapt 2.0.0rc1, https://github.com/GrahamDumpleton/wrapt/blob/2.0.0rc1/docs/changes.rst. I maintain the python-wrapt package in Fedora, and this PR is part of my work to make sure that I am ready to ship wrapt 2.0.0 in Rawhide, the development version of Fedora, as soon as 2.0.0 final is released.

I do not know if testing wrapt 2.x on Python 3.7 will work; Python 3.7 has been end-of-life long enough that I cannot easily install an interpreter to test locally.

Link to any relevant issues or pull requests.

Ideally, #71 would be completed and merged to drop Python 3.7 support, and a similar change would drop Python 3.8 support since it has also reached end of life.

Similarly, it would be good to test with and declare support for #85, and since Python 3.14 is in the release candidate phase, it’s not too early to add support for it, as well.

Copy link
Copy Markdown

@JarheadStever JarheadStever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@musicinmybrain hoping to revisit this now that it appears wrapt 2.0.0 was released on October 19th. I went to make a PR and saw yours was here already. @laurent-laporte-pro are you the primary reviewer/maintainer for this repo?

Comment thread tox.ini Outdated
@musicinmybrain
Copy link
Copy Markdown
Contributor Author

I finally got back to this, both here and downstream in Fedora. I’m about to adjust tox.ini to specify the wrapt 2.0.0 final release, and rebase this PR on the latest develop branch.

diff --git a/tox.ini b/tox.ini
index 0d59799..8959450 100644
--- a/tox.ini
+++ b/tox.ini
@@ -25,7 +25,7 @@ deps =
     wrapt1.12: wrapt ~= 1.12.0
     wrapt1.13: wrapt ~= 1.13.0
     wrapt1.14: wrapt ~= 1.14.0
-    wrapt2.0: wrapt ~= 2.0.0rc1
+    wrapt2.0: wrapt ~= 2.0.0
     coverage
     setuptools; python_version>="3.12"
 

@laurent-laporte-pro laurent-laporte-pro merged commit 8e05873 into laurent-laporte-pro:develop Oct 29, 2025
1 check passed
@laurent-laporte-pro laurent-laporte-pro added this to the 1.3 milestone Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants