Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Annotations break compatibility with Python 2.x #31

Closed
cornazano opened this issue Feb 1, 2020 · 5 comments
Closed

Annotations break compatibility with Python 2.x #31

cornazano opened this issue Feb 1, 2020 · 5 comments
Assignees

Comments

@cornazano
Copy link

It looks like version 0.2.20 introduced the use of annotations on one function, and it causes a syntax error when running on Python 2.7. The classifiers still indicate it should be compatible with 2.6 and 2.7, and there isn't a python_requires argument passed to setup.

Is the break in Python 2.x compatibility intentional?

@cornazano cornazano changed the title Classifiers break compatibility with Python 2.x Annotations break compatibility with Python 2.x Feb 1, 2020
@russellballestrini
Copy link
Owner

that was not intentional.

@russellballestrini
Copy link
Owner

@matheuslins could you please make sure your latest refactor supports both Python 2 and Python 3?

@russellballestrini
Copy link
Owner

@cornazano please pin to 0.2.19 until we have a chance to fix the regression. This library aims to support Python 2.7 indefinitely.

@russellballestrini russellballestrini self-assigned this Feb 1, 2020
@russellballestrini russellballestrini pinned this issue Feb 1, 2020
@cornazano
Copy link
Author

I've already excluded 0.2.20, and will be able to pick up future releases without any issues. Thanks! :)

@russellballestrini
Copy link
Owner

@cornazano I have fixed the issue and cut a new release 0.2.21. Sorry about that, I will take closer inspection the next time I cut a release. I hope I didn't cause any production trouble. Thank you for trusting our library!

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

2 participants