Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Python 3.8/9/10 Support #76

Open
Sbacon017 opened this issue Jan 11, 2022 · 5 comments
Open

Python 3.8/9/10 Support #76

Sbacon017 opened this issue Jan 11, 2022 · 5 comments

Comments

@Sbacon017
Copy link

Are there plans to support the most recent versions of Python? Right now the only supported version of Python that hasn't reached it's end-of-life is 3.7. If these plans exist, is there a timeline? What sort of work needs to be done to enable support for more recent versions of Python?

Opening this thread both as a question and a place for discussion.

@jfriedr
Copy link
Contributor

jfriedr commented Mar 1, 2022

@Sbacon017 great question. A plan does not exist and I'm not entirely sure how much additional work will be required to get this working if our current suite of tests do not pass. That being said I will go ahead and start incrementing the python versions + running our current test suite to see what fails (and report back here with my findings).

To use the tests do the following:

python setup.py test

3 tests will fail if the local env variable SHIPPO_API_KEY is set and being used. To use this set the env variable:

$ export SHIPPO_API_KEY="shippo_live_<shippo live token>"

@jfriedr
Copy link
Contributor

jfriedr commented Mar 3, 2022

Using python 3.10 the basic shipment example was able to retrieve rates.

@Sbacon017
Copy link
Author

@jfriedr Thanks for getting back to me! This is great news, I'm not whether or not you take this to mean you officially support up to Python 3.10, but it seems like it will be enough to unblock us from upgrading.

@JerryMartinsonLeviti
Copy link

JerryMartinsonLeviti commented Jan 5, 2023

There does appear to be some problems with the new async keyword that was introduced into latter python versions. This only seems to happen when the code is using async APIs i.e. async=True Not sure if there are any plans for this or not. I would suggest that this is kind of important to python implementations that need to be performant.

@cnr91
Copy link

cnr91 commented Mar 13, 2023

There does appear to be some problems with the new async keyword that was introduced into latter python versions. This only seems to happen when the code is using async APIs i.e. async=True Not sure if there are any plans for this or not. I would suggest that this is kind of important to python implementations that need to be performant.

I have the same problem with python 3.8.5.
How can we eliminate this problem?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants