Skip to content
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

PYTHON-4320 Add Support for Python 3.13 #58

Merged
merged 4 commits into from
Sep 5, 2024

Conversation

blink1073
Copy link
Member

Also bump the vendored bson drivers in preparation for release.

@blink1073 blink1073 requested a review from a team as a code owner September 3, 2024 22:42
@@ -109,8 +109,6 @@ bson_strerror_r (int err_code, /* IN */
if (strerror_s (buf, buflen, err_code) != 0) {
ret = buf;
}
#elif defined(__GNUC__) && defined(_GNU_SOURCE)
ret = strerror_r (err_code, buf, buflen);
#else /* XSI strerror_r */
Copy link
Member Author

Choose a reason for hiding this comment

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

As of glibc 2.13, we can assume XSI compliance. manylinux_2014 includes gcc 2.17.

@@ -69,7 +69,7 @@
* BSON version, encoded as a string, useful for printing and
* concatenation.
*/
#define BSON_VERSION_S "1.24.2"
#define BSON_VERSION_S ""
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it expected that BSON_VERSION and BSON_VERSION_S are empty?

Copy link
Member Author

Choose a reason for hiding this comment

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

It was an issue with the vendor script, updated.

@@ -1,6 +1,14 @@
Changelog
=========

0.5.0
`````
For a detailed breakdown of what changed in each version of libbson see its changelog:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add:

Version 0.5.0 updates python-bsonjs's vendored copy of libbson to 1.27.6.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

Copy link
Collaborator

@ShaneHarvey ShaneHarvey left a comment

Choose a reason for hiding this comment

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

LGTM!

@blink1073 blink1073 merged commit 996e651 into mongodb-labs:master Sep 5, 2024
48 checks passed
@blink1073 blink1073 deleted the PYTHON-4320 branch September 5, 2024 18:06
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