Closed ryandesign closed 2 years ago
Hi @ryandesign, Python 3.10 is part of our test matrix so I think it's unlikely that's the issue here. Given URL escaping is the issue what version of Hyperlink is installed? This smells like https://github.com/python-hyper/hyperlink/pull/146
Thanks. Hyperlink 19.0.0 was installed. I see that issue the was fixed in Hyperlink 21.0.0. I'll advise the MacPorts maintainer of Hyperlink to update it.
It sounds like there is something wrong with the translation of Treq's requirements, then. Treq requires a sufficiently new version of Hyperlink. I'm not familiar with Macports, but in something like Debian this would be represented in the package.
MacPorts does not offer multiple different versions of Python modules, nor of any port, nor, therefore, does MacPorts have the capability of specifying a dependency on a specific version of another port. One only specifies a dependency on another port, and MacPorts ensures that it is upgraded to the latest version available in MacPorts first.
I am not very familiar with how Python works so I cannot say whether or how the module versioning requirements specified in the treq setup.py would be checked; I can only observe that no such checking appears to be taking place.
The
test_request_uri_plus_pass
test fails. I tested treq 22.2.0 with Python 3.10.2 as installed by MacPorts on macOS 10.15.7.