Skip to content

Commit 0f5596e

Browse files
aclark4lifeCopilot
andauthored
PYTHON-5837 Add beta Python 3.15 (#2840)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent d8b6b8a commit 0f5596e

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/test-python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ jobs:
5959
matrix:
6060
# Tests currently only pass on ubuntu on GitHub Actions.
6161
os: [ubuntu-latest]
62-
python-version: ["3.10", "pypy-3.11", "3.13t"]
62+
python-version: ["3.10", "pypy-3.11", "3.13t", "3.15"]
6363
mongodb-version: ["8.0"]
6464

65-
name: CPython ${{ matrix.python-version }}-${{ matrix.os }}
65+
name: Python ${{ matrix.python-version }}-${{ matrix.os }}
6666
steps:
6767
- uses: actions/checkout@v6.0.2
6868
with:

test/test_fork.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
is_greenthread_patched(),
3737
"gevent does not support POSIX-style forking.",
3838
)
39+
@unittest.skipIf(
40+
sys.version_info >= (3, 15),
41+
"fork() in multi-threaded processes is deprecated in Python 3.15+ (PYTHON-5874)",
42+
)
3943
class TestFork(IntegrationTest):
4044
def test_lock_client(self):
4145
# Forks the client with some items locked.

0 commit comments

Comments
 (0)