Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Feb 10, 2026

Backport changes from the main branch.

Test also datetime.h in test_cppext.

Backport changes from the main branch.

Test also datetime.h in test_cppext.
@vstinner

This comment was marked as outdated.

@vstinner vstinner added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Feb 10, 2026
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @vstinner for commit c407660 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F144678%2Fmerge

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Feb 10, 2026
@vstinner
Copy link
Member Author

Sadly, test_cppext still fails on macOS. Once #144685 will be merged, I will have to backport this fix as well.

Don't test internal header files including mimalloc on macOS since
mimalloc emits compiler warnings:

  In file included from extension.cpp:21:
  In file included from Include/internal/pycore_backoff.h:15:
  In file included from Include/internal/pycore_interp_structs.h:15:
  In file included from Include/internal/pycore_tstate.h:14:
  In file included from Include/internal/pycore_mimalloc.h:43:
  Include/internal/mimalloc/mimalloc.h:464:85: error: defaulted
  function definitions are a C++11 extension
  [-Werror,-Wc++11-extensions]
    mi_stl_allocator() mi_attr_noexcept = default;
                                                                                      ^
  Include/internal/mimalloc/mimalloc.h:465:85: error: defaulted
  function definitions are a C++11 extension
  [-Werror,-Wc++11-extensions]
    mi_stl_allocator(const mi_stl_allocator&) mi_attr_noexcept = default;

Log also CXX and CXXFLAGS env vars in test_cppext. Log also CPPFLAGS
in test_cext.
@vstinner vstinner marked this pull request as ready for review February 10, 2026 19:39
@vstinner vstinner enabled auto-merge (squash) February 10, 2026 19:41
@vstinner
Copy link
Member Author

All buildbot workers passed successfully.

@vstinner vstinner merged commit 815f21b into python:3.14 Feb 10, 2026
47 checks passed
@vstinner vstinner deleted the test_cext_internal14 branch February 10, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants