Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
fail-fast: false
matrix:
python-version:
- '3.9'
- '3.13'
steps:
- uses: actions/checkout@v4
Expand Down
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,6 @@ psycopg2 also requires libpq-dev:
Configurations from this repository are applied from the `master` branch on
a `*/15` cron interval using the `update-master` target in `Makefile`.

Python 3.9 is installed manually using ``pyenv`` (which was also installed
manually). Commands to install Python 3.9:

pyenv update
pyenv install 3.9.1
pyenv global 3.8.1 3.9.1


## Add a worker

The list of workers is stored in `/etc/buildbot/settings.yaml` on the server.
Expand Down
3 changes: 0 additions & 3 deletions master/custom/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
UnixAsanDebugBuild,
UnixBigmemBuild,
UnixTraceRefsBuild,
UnixVintageParserBuild,
UnixRefleakBuild,
UnixNoGilBuild,
UnixNoGilRefleakBuild,
Expand Down Expand Up @@ -217,8 +216,6 @@

("AMD64 Ubuntu", "skumaran-ubuntu-x86_64", UnixBuild),

("AMD64 Arch Linux VintageParser", "pablogsal-arch-x86_64", UnixVintageParserBuild),
Copy link
Member

Choose a reason for hiding this comment

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

We should ping Pablo once this PR is merged.

Copy link
Member Author

Choose a reason for hiding this comment

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

There are plenty of other builders on this worker, there shouldn't be anything special for Pablo to do :)

We might want to ping all worker owners to double-check that artifacts from any 3.9 or older branches have been properly cleaned up, though.

Copy link
Member

Choose a reason for hiding this comment

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

There are plenty of other builders on this worker, there shouldn't be anything special for Pablo to do :)

Oh ok, I didn't notice that this worker has multiple builders.


("AMD64 RHEL8 FIPS No Builtin Hashes", "cstratak-RHEL8-fips-x86_64", RHEL8NoBuiltinHashesUnixBuild),

("AMD64 CentOS9", "cstratak-CentOS9-x86_64", CentOS9Build),
Expand Down
19 changes: 3 additions & 16 deletions master/custom/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ def setup(self, parallel, branch, test_with_PTY=False, **kwargs):
# Adjust the timeout for this worker
self.test_timeout *= kwargs.get("timeout_factor", 1)

# In 3.9 and 3.10, test_asyncio wasn't split out, and refleaks tests
# In 3.10, test_asyncio wasn't split out, and refleaks tests
# need more time.
if branch in ("3.9", "3.10") and has_option("-R", self.testFlags):
if branch == "3.10" and has_option("-R", self.testFlags):
self.test_timeout *= 2

if self.build_out_of_tree:
Expand Down Expand Up @@ -159,11 +159,6 @@ def setup(self, parallel, branch, test_with_PTY=False, **kwargs):
return super().setup(parallel, branch, test_with_PTY=test_with_PTY, **kwargs)


class UnixVintageParserBuild(UnixBuild):
buildersuffix = ".oldparser" # to get unique directory names on master
test_environ = {'PYTHONOLDPARSER': 'old'}


class UnixRefleakBuild(UnixBuild):
buildersuffix = ".refleak"
testFlags = ["-R", "3:3", "-u-cpu"]
Expand Down Expand Up @@ -308,17 +303,9 @@ class NonDebugUnixBuild(UnixBuild):

class PGOUnixBuild(NonDebugUnixBuild):
buildersuffix = ".pgo"
configureFlags = ["--enable-optimizations"]
configureFlags = ["--enable-optimizations", "--with-readline=edit"]
factory_tags = ["pgo"]

def setup(self, parallel, branch, *args, **kwargs):
# Only Python >3.10 has --with-readline=edit
if branch != '3.9':
# Use libedit instead of libreadline on this buildbot for
# some libedit Linux compilation coverage.
self.configureFlags = self.configureFlags + ["--with-readline=edit"]
return super().setup(parallel, branch, *args, **kwargs)


class ClangUnixBuild(UnixBuild):
buildersuffix = ".clang"
Expand Down
40 changes: 20 additions & 20 deletions master/custom/workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def get_workers(settings):
name="cstratak-RHEL8-x86_64",
tags=['linux', 'unix', 'rhel', 'amd64', 'x86-64'],
parallel_tests=10,
branches=['3.9', '3.10', '3.11', '3.12'],
branches=['3.10', '3.11', '3.12'],
),
cpw(
name="cstratak-RHEL8-fips-x86_64",
Expand All @@ -105,7 +105,7 @@ def get_workers(settings):
tags=['linux', 'unix', 'rhel', 'amd64', 'x86-64', 'fips'],
parallel_tests=6,
# Only 3.12+ for FIPS builder
not_branches=["3.9", "3.10", "3.11"],
not_branches=["3.10", "3.11"],
),
cpw(
name="cstratak-fedora-rawhide-ppc64le",
Expand All @@ -121,7 +121,7 @@ def get_workers(settings):
name="cstratak-RHEL8-ppc64le",
tags=['linux', 'unix', 'rhel', 'ppc64le'],
parallel_tests=10,
branches=['3.9', '3.10', '3.11', '3.12'],
branches=['3.10', '3.11', '3.12'],
),
cpw(
name="cstratak-CentOS9-ppc64le",
Expand All @@ -142,7 +142,7 @@ def get_workers(settings):
name="cstratak-RHEL8-aarch64",
tags=['linux', 'unix', 'rhel', 'arm', 'arm64', 'aarch64'],
parallel_tests=40,
branches=['3.9', '3.10', '3.11', '3.12'],
branches=['3.10', '3.11', '3.12'],
),
cpw(
name="cstratak-CentOS9-aarch64",
Expand All @@ -152,7 +152,7 @@ def get_workers(settings):
cpw(
name="diegorusso-aarch64-bigmem",
tags=['linux', 'unix', 'ubuntu', 'arm', 'arm64', 'aarch64', 'bigmem'],
not_branches=['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'],
not_branches=['3.10', '3.11', '3.12', '3.13', '3.14'],
parallel_tests=8,
),
cpw(
Expand All @@ -169,7 +169,7 @@ def get_workers(settings):
name="cstratak-rhel8-s390x",
tags=['linux', 'unix', 'rhel', 's390x'],
parallel_tests=10,
branches=['3.9', '3.10', '3.11', '3.12'],
branches=['3.10', '3.11', '3.12'],
),
cpw(
name="cstratak-rhel9-s390x",
Expand All @@ -193,7 +193,7 @@ def get_workers(settings):
'aarch64', 'arm'],
parallel_tests=4,
# Tests fail with latin1 encoding on 3.12, probably earlier
not_branches=['3.12', '3.11', '3.10', '3.9']
not_branches=['3.12', '3.11', '3.10']
),
cpw(
name="savannah-raspbian",
Expand Down Expand Up @@ -227,7 +227,7 @@ def get_workers(settings):
cpw(
name="ware-alpine",
tags=['linux', 'unix', 'alpine', 'docker', 'amd64', 'x86-64', 'musl'],
not_branches=['3.9', '3.10', '3.11', '3.12', '3.13'],
not_branches=['3.10', '3.11', '3.12', '3.13'],
),
cpw(
name="ware-freebsd",
Expand Down Expand Up @@ -262,77 +262,77 @@ def get_workers(settings):
cpw(
name="bcannon-wasi",
tags=['wasm', 'wasi'],
not_branches=['3.9', '3.10'],
not_branches=['3.10'],
parallel_tests=2,
parallel_builders=2,
),
cpw(
name="ambv-bb-win11",
tags=['windows', 'win11', 'amd64', 'x86-64', 'bigmem'],
not_branches=['3.9', '3.10', '3.11', '3.12', '3.13'],
not_branches=['3.10', '3.11', '3.12', '3.13'],
parallel_tests=4,
),
cpw(
name="itamaro-centos-aws",
tags=['linux', 'unix', 'rhel', 'amd64', 'x86-64'],
not_branches=['3.9', '3.10', '3.11', '3.12'],
not_branches=['3.10', '3.11', '3.12'],
parallel_tests=10,
parallel_builders=2,
),
cpw(
name="itamaro-win64-srv-22-aws",
tags=['windows', 'win-srv-22', 'amd64', 'x86-64'],
not_branches=['3.9', '3.10', '3.11', '3.12'],
not_branches=['3.10', '3.11', '3.12'],
parallel_tests=10,
parallel_builders=2,
),
cpw(
name="itamaro-macos-intel-aws",
tags=['macOS', 'unix', 'amd64', 'x86-64'],
not_branches=['3.9', '3.10', '3.11', '3.12'],
not_branches=['3.10', '3.11', '3.12'],
parallel_tests=10,
),
cpw(
name="itamaro-macos-arm64-aws",
tags=['macOS', 'unix', 'arm', 'arm64'],
not_branches=['3.9', '3.10', '3.11', '3.12'],
not_branches=['3.10', '3.11', '3.12'],
parallel_tests=10,
),
cpw(
name="kushaldas-wasi",
tags=['wasm', 'wasi'],
not_branches=['3.9', '3.10'],
not_branches=['3.10'],
parallel_tests=4,
parallel_builders=2,
),
cpw(
name="onder-riscv64",
tags=['linux', 'unix', 'ubuntu', 'riscv64'],
not_branches=['3.9', '3.10'],
not_branches=['3.10'],
parallel_tests=4,
),
cpw(
name="rkm-arm64-ios-simulator",
tags=['iOS'],
not_branches=['3.9', '3.10', '3.11', '3.12'],
not_branches=['3.10', '3.11', '3.12'],
parallel_builders=1, # All builds use the same simulator
),
cpw(
name="rkm-emscripten",
tags=['emscripten'],
not_branches=['3.9', '3.10', '3.11', '3.12', '3.13'],
not_branches=['3.10', '3.11', '3.12', '3.13'],
parallel_builders=4,
),
cpw(
name="mhsmith-android-aarch64",
tags=['android'],
not_branches=['3.9', '3.10', '3.11', '3.12'],
not_branches=['3.10', '3.11', '3.12'],
parallel_builders=1, # All builds use the same emulator and app ID.
),
cpw(
name="mhsmith-android-x86_64",
tags=['android'],
not_branches=['3.9', '3.10', '3.11', '3.12'],
not_branches=['3.10', '3.11', '3.12'],
parallel_builders=1, # All builds use the same emulator and app ID.
),
]
8 changes: 2 additions & 6 deletions master/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ git_branches = [
(git_url, "3.12", "3.12"),
(git_url, "3.11", "3.11"),
(git_url, "3.10", "3.10"),
(git_url, "3.9", "3.9"),
]

# common Git() and GitHub() keyword arguments
Expand Down Expand Up @@ -257,9 +256,6 @@ for branch_num, (git_url, branchname, git_branch) in enumerate(git_branches):
# Workers known to be broken on older branches: let's focus on
# supporting these platforms in the main branch.
continue
# Only 3.9 has two parsers mode from Python 3.9 and higher
if "VintageParser" in name and branchname != "3.9":
continue

worker = WORKERS_BY_NAME[worker_name]
if worker.not_branches and branchname in worker.not_branches:
Expand All @@ -282,7 +278,7 @@ for branch_num, (git_url, branchname, git_branch) in enumerate(git_branches):
# Only 3.11+ for WebAssembly builds
if "wasm" in tags:
# WASM wasn't a supported platform until 3.11.
if branchname in {"3.9", "3.10"}:
if branchname in {"3.10"}:
continue
# Tier 3 support is 3.11 & 3.12.
elif "nondebug" in tags and branchname not in {"3.11", "3.12"}:
Expand All @@ -292,7 +288,7 @@ for branch_num, (git_url, branchname, git_branch) in enumerate(git_branches):
continue

# Only 3.13+ for NoGIL builds
if 'nogil' in tags and branchname in {"3.9", "3.10", "3.11", "3.12"}:
if 'nogil' in tags and branchname in {"3.10", "3.11", "3.12"}:
continue

if 'refleak' in tags:
Expand Down
57 changes: 0 additions & 57 deletions requirements-3.9.txt

This file was deleted.