GrahamDumpleton / wrapt

A Python module for decorators, wrappers and monkey patching.
BSD 2-Clause "Simplified" License
2.03k stars 231 forks source link

Weird behaviour with pipenv and python 3.11 #220

Closed fizyk closed 1 year ago

fizyk commented 1 year ago

Hi,

I started implementing pipenv as a dependency management for my libraries, and wrapt is giving me some issues on python 3.11

Depending on python version I create pipfile.lock I get

"markers": "python_version >= '3.11'",
            "version": "==1.14.1"
        },

For python 3.11

Or

"markers": "python_version <'3.11'",
            "version": "==1.14.1"
        },

For older python versions. Nothing, that encompasses all of the currently stable python versions.

GrahamDumpleton commented 1 year ago

It is not clear what you are saying is the problem. I don't know how pipfile.lock files work and why what you are describing is a problem. If you are getting an error, what is the error?

Do be aware that at this time PyPi doesn't have Python binary wheels for wrapt for Python 3.11. So if you are trying to somehow have pipenv use only binary Python wheels you may have issues.

fizyk commented 1 year ago

Thank you @GrahamDumpleton I'll try to get guidance on my case from pipenv then 🤔 Whether my use case is even a valid one...