Skip to content

Add Jenkins support for Python 3.12.0 #1180

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 1 commit into from
Oct 11, 2023

Conversation

absurdfarce
Copy link
Collaborator

@absurdfarce absurdfarce commented Oct 10, 2023

Requires Python 3.12.0 to be added to the Jenkins runners; don't merge until that's done.

# These schedules will run with and without Cython enabled for Python 3.8.16 and 3.11.3
H 4 * * 1-5 %CI_SCHEDULE=WEEKNIGHTS;EVENT_LOOP=LIBEV;CI_SCHEDULE_PYTHON_VERSION=3.8.16 3.11.3;CI_SCHEDULE_SERVER_VERSION=3.11 4.0 dse-5.1.35 dse-6.8.30
# These schedules will run with and without Cython enabled for Python 3.8.16 and 3.12.0
H 4 * * 1-5 %CI_SCHEDULE=WEEKNIGHTS;EVENT_LOOP=LIBEV;CI_SCHEDULE_PYTHON_VERSION=3.8.16 3.12.0;CI_SCHEDULE_SERVER_VERSION=3.11 4.0 dse-5.1.35 dse-6.8.30
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure moving the nightly builds to a .0 patch version for a new minor is the best idea... but we've been going with the oldest and newest supported versions for the nightlies and that does lead us squarely to 3.12.0.

Copy link
Contributor

@joao-r-reis joao-r-reis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3.12.0 is failing atm as expected but the PR looks good. I can take a look at the build when the new runner image is available

@absurdfarce
Copy link
Collaborator Author

Updated image on Jenkins and ran a 3.12.0 specific build on Jenkins. The build is broken due to PYTHON-1364 but the changes in this PR (the addition of Python 3.12.0 itself) appear to have worked fine.

@absurdfarce
Copy link
Collaborator Author

I'm going to merge this one as it stands; I have some other tickets related to Python 3.12.0 and I'd like to have Jenkins support for them. @joao-r-reis please feel free to ping me with any comments and we can make any necessary changes in a new PR.

@absurdfarce absurdfarce changed the title Add support for Python 3.12.0 Add Jenkins support for Python 3.12.0 Oct 11, 2023
@absurdfarce absurdfarce merged commit 375da00 into master Oct 11, 2023
@absurdfarce absurdfarce deleted the jenkinsfile_python_3120_support branch October 11, 2023 20:28
fruch added a commit to fruch/python-driver that referenced this pull request Jun 6, 2024
…sync_with_upstream_3.29.1

version 3.29.0

* tag '3.29.0' of https://github.com/datastax/python-driver:
  Documentation (and other) updates for 3.29.0 (datastax#1194)
  PYTHON-1331 ssl.match_hostname() is deprecated in 3.7 (datastax#1191)
  PYTHON-1371 Add explicit exception type for serialization failures (datastax#1193)
  Remove outdated Python pre-3.7 references (datastax#1186)
  PYTHON-1368 Avoid installing DSE deps + executing DSE tests for Python 3.12 (datastax#1188)
  PYTHON-1366 Handle removal of asyncore in Python 3.12 (datastax#1187)
  Removed backup(.bak) files (datastax#1185)
  docs: Fix typo in add_callbacks (datastax#1177)
  Remove some remnants of Python2 (datastax#1172)
  PYTHON-1313 Fix asyncio removals in Python 3.10 (datastax#1179)
  PYTHON-1364 Fix ssl.wrap_socket errors (from eventlet) for Python 3.12 (datastax#1181)
  Add Jenkins support for Python 3.12.0 (datastax#1180)
  Update redirects in docs.yaml (datastax#1178)
  Jenkins using new python versions in the matrix (datastax#1174)
  Update docs.yaml to point to most recent 3.28.0 docs changes
  CONN-38 Notes for 3.28.0 on PYTHON-1350 (datastax#1167)
  Include docs for 3.28.0
  Fixed non-valid rst in README
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