-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can aenum be made optional? #339
Comments
enumerations (enum) were introduced in Python versions 3.4. For Python versions below 3.4, aenum is required. @snowman2 Is |
The |
@hobu, is If not, another option (though not super great) would be to copy the needed code from |
Packaging Python modules is generally no problem, aenum is a bit special though as mentioned on the debian-gis list. The Python 2/3 tests are not handled well, which requires patching to do better. There are also test failures with Python 3.7 which I haven't investigated further. Because pyproj only requires it for Python < 3.6 which we no longer have in Debian unstable, I didn't want to spend much time on the issue. After sleeping on it, I just included the module as a patch in the pyproj package to have the It would be great if pyproj wouldn't require a non-standard module for older Python releases, but the workaround we have now will do too. |
I am glad to hear that you have a good workaround! Apologies for the trouble, I didn't realize that it would be such a pain to package aenum. |
I am thinking that since you currently have a workaround, we will wait to remove aenum until pyproj dropps support for Python 2 (#331). This way no changes will be needed on your end to add enum34. |
Addressed in #373. |
Can aenum be made optional? It causes some complications for packagers https://lists.debian.org/debian-gis/2019/06/msg00000.html
Originally posted by @hobu in #302 (comment)
The text was updated successfully, but these errors were encountered: