Skip to content

PYTHON-1290 Convert asyncio reactor away from @asyncio.coroutine #1119

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

Merged
merged 4 commits into from
Feb 2, 2022

Conversation

absurdfarce
Copy link
Collaborator

Short-term goal is to address the underlying issue at play in #1118. Longer-term this has the nice benefit of making us more compatible with how asyncio appears to be going generally.

@Orenef11
Copy link
Contributor

Orenef11 commented Jan 26, 2022

Good work.

  1. This change is not supported by Python 3.4 and below.
    Do we want to abandon the support in 2.7?
    In my opinion, I am favor of not supporting Python2.7 as it is no longer supported but it should be noted in README.
  2. The PR contains 4 commits, can you create one commit?

@absurdfarce
Copy link
Collaborator Author

Thanks @Orenef11! With regards to your questions:

  1. We should be okay with Python 2.7. asyncio wasn't introduced until Python ~3.4 so that reactor isn't even an option for 2.7

  2. When we get to a PR we're satisfied with I'll do a squash merge; it'll compress all the changes we have here down into a single commit.

@Orenef11
Copy link
Contributor

Thanks @Orenef11! With regards to your questions:

  1. We should be okay with Python 2.7. asyncio wasn't introduced until Python ~3.4 so that reactor isn't even an option for 2.7
  2. When we get to a PR we're satisfied with I'll do a squash merge; it'll compress all the changes we have here down into a single commit.

LGTM
Good work!

@absurdfarce absurdfarce merged commit e4e290f into master Feb 2, 2022
@absurdfarce absurdfarce deleted the python-1290 branch February 2, 2022 16:21
fruch added a commit to fruch/python-driver that referenced this pull request Aug 2, 2022
…to sync_with_upstream

* 'master' of https://github.com/datastax/python-driver:
  Merge pull request datastax#1126 from eamanu/fix-typos
  PYTHON-1294: Upgrade importlib-metadata to a much newer version
  Add tests for recent addition of execution profile support to cassandra.concurrent
  Merge pull request datastax#1122 from andy-slac/concurrent-execution-profiles
  Merge pull request datastax#1119 from datastax/python-1290
  Merge pull request datastax#1117 from datastax/remove_unittest2
  Removing file unexpectedly included in previous PR
  Merge pull request datastax#1114 from haaawk/stream_ids_fix
  Merge pull request datastax#1116 from Orenef11/fix_default_argument_value
  Comment update following off of datastax#1110
  Merge pull request datastax#1103 from numberly/fix_empty_paging
  Merge pull request datastax#1103 from psarna/fix_deprecation_in_tracing
  Fixes to the Travis build. (datastax#1111)
fruch added a commit to fruch/python-driver that referenced this pull request Aug 2, 2022
…to sync_with_upstream_2

* 'master' of https://github.com/datastax/python-driver:
  Merge pull request datastax#1126 from eamanu/fix-typos
  PYTHON-1294: Upgrade importlib-metadata to a much newer version
  Add tests for recent addition of execution profile support to cassandra.concurrent
  Merge pull request datastax#1122 from andy-slac/concurrent-execution-profiles
  Merge pull request datastax#1119 from datastax/python-1290
  Merge pull request datastax#1117 from datastax/remove_unittest2
  Removing file unexpectedly included in previous PR
  Merge pull request datastax#1114 from haaawk/stream_ids_fix
  Merge pull request datastax#1116 from Orenef11/fix_default_argument_value
  Comment update following off of datastax#1110
  Merge pull request datastax#1103 from numberly/fix_empty_paging
  Merge pull request datastax#1103 from psarna/fix_deprecation_in_tracing
  Fixes to the Travis build. (datastax#1111)
datasttax added a commit to datasttax/python-driver that referenced this pull request Jul 28, 2023
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