Skip to content

Conversation

a-detiste
Copy link
Contributor

Hi again,

After the six removal, here's more Python2-era removal.

https://github.com/testing-cabal/mock

mock is now part of the Python standard library, available as unittest.mock in Python 3.3 onwards.

@a-detiste
Copy link
Contributor Author

ping

@absurdfarce
Copy link
Collaborator

absurdfarce commented May 2, 2024

Greetings @a-detiste, nice to hear from you again!

I think I'm good with the mock changes but we've definitely had some problems with the removal of the absolute_import imports from future. Those issues are referenced on #1184 and discussed in more detail in PYTHON-1348.

So for the moment would you mind removing the absolute_import removals and just leaving the rest of the changes in this PR? I think that change could go in pretty quickly.

@a-detiste
Copy link
Contributor Author

Hi, let's try again this trimmed down PR. The __future__ statements are harmless and can be removed later.

@absurdfarce
Copy link
Collaborator

Thanks for this one @a-detiste!

@absurdfarce absurdfarce merged commit 9aca00b into datastax:master May 30, 2024
dkropachev pushed a commit to dkropachev/python-driver that referenced this pull request Mar 5, 2025
dkropachev pushed a commit to dkropachev/python-driver that referenced this pull request Mar 5, 2025
dkropachev pushed a commit to dkropachev/python-driver that referenced this pull request Mar 5, 2025
dkropachev pushed a commit to scylladb/python-driver that referenced this pull request Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants