-
Notifications
You must be signed in to change notification settings - Fork 45
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
Use collections.abc on Python 3 #154
Conversation
fb19a5e
to
ae173ee
Compare
Please add a description to the commit and PR description as to why you're making the change. For example:
Also, the check should be |
(follow-up -- is the alias being removed from |
The PR addresses https://bugzilla.redhat.com/show_bug.cgi?id=1594834 . The alias will be removed in 3.8. |
ok, that's fine. Please add it to the commit message and PR description (and make the other change I mentioned), and I'll merge the PR. |
@tiran Hi, do you plan to revise this? |
ae173ee
to
f22de51
Compare
Starting before Python 3.3 (which is the oldest version we support), the ABCs for collections are located at collections.abc, but aliased into collections. Starting in Python 3.7, referring to them using the aliases produces DeprecationWarnings, which breaks our users. The alias will be removed entirely in Python 3.8. Signed-off-by: Christian Heimes <cheimes@redhat.com> [rharwood@redhat.com: Write commit message, update style on checks] Merges: pythongssapi#154
02506d2
to
628e5ca
Compare
Starting before Python 3.3 (which is the oldest version we support), the ABCs for collections are located at collections.abc, but aliased into collections. Starting in Python 3.7, referring to them using the aliases produces DeprecationWarnings, which breaks our users. The alias will be removed entirely in Python 3.8. Signed-off-by: Christian Heimes <cheimes@redhat.com> [rharwood@redhat.com: Write commit message, update style on checks] Merges: pythongssapi#154
Starting before Python 3.3 (which is the oldest version we support), the ABCs for collections are located at collections.abc, but aliased into collections. Starting in Python 3.7, referring to them using the aliases produces DeprecationWarnings, which breaks our users. The alias will be removed entirely in Python 3.8. Signed-off-by: Christian Heimes <cheimes@redhat.com> [rharwood@redhat.com: Write commit message, update style on checks] Merges: pythongssapi#154
628e5ca
to
589500a
Compare
Starting before Python 3.3 (which is the oldest version we support), the ABCs for collections are located at collections.abc, but aliased into collections. Starting in Python 3.7, referring to them using the aliases produces DeprecationWarnings, which breaks our users. The alias will be removed entirely in Python 3.8. Signed-off-by: Christian Heimes <cheimes@redhat.com> [rharwood@redhat.com: Write commit message, update style on checks] Merges: #154
Signed-off-by: Christian Heimes cheimes@redhat.com