Bump dependencies and update OS matrix (#6492)

This commit is contained in:
Jakub Kuczys 2024-12-24 19:54:56 +01:00 committed by GitHub
parent 3aac07a4d7
commit 8ad9c55d50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 55 additions and 95 deletions

View File

@ -17,6 +17,12 @@ def pip_compile(version: str, name: str) -> None:
if EXCLUDE_STEM_RE.fullmatch(stem): if EXCLUDE_STEM_RE.fullmatch(stem):
return return
constraint_flags = [
arg
for file in REQUIREMENTS_FOLDER.glob(f"{sys.platform}-3.8-*.txt")
for arg in ("-c", file.name)
]
executable = ("py", f"-{version}") if sys.platform == "win32" else (f"python{version}",) executable = ("py", f"-{version}") if sys.platform == "win32" else (f"python{version}",)
subprocess.check_call( subprocess.check_call(
( (
@ -30,6 +36,7 @@ def pip_compile(version: str, name: str) -> None:
f"{name}.in", f"{name}.in",
"--output-file", "--output-file",
f"{stem}.txt", f"{stem}.txt",
*constraint_flags,
) )
) )

View File

@ -49,6 +49,8 @@ def get_requirements(fp: TextIO) -> List[RequirementData]:
via_prefix = "via " via_prefix = "via "
if source.startswith(via_prefix): if source.startswith(via_prefix):
source = source[len(via_prefix) :] source = source[len(via_prefix) :]
if source.startswith("-c ") and source != "-c base.txt":
continue
current.comments.add(source) current.comments.add(source)
elif line and not line.startswith(("#", " ")): elif line and not line.startswith(("#", " ")):
current = RequirementData(line) current = RequirementData(line)

View File

@ -1,27 +0,0 @@
.. _install-debian-11:
====================================
Installing Red on Debian 11 Bullseye
====================================
.. include:: _includes/supported-arch-x64+aarch64+armv7l.rst
.. include:: _includes/linux-preamble.rst
-------------------------------
Installing the pre-requirements
-------------------------------
Debian 11 "Bullseye" has all required packages available in official repositories. Install them
with apt:
.. prompt:: bash
sudo apt update
sudo apt -y install python3 python3-dev python3-venv git openjdk-17-jre-headless build-essential nano
.. Include common instructions:
.. include:: _includes/create-env-with-venv3.9.rst
.. include:: _includes/install-and-setup-red-unix.rst

View File

@ -12,7 +12,7 @@ Installing Red on Fedora Linux
Installing the pre-requirements Installing the pre-requirements
------------------------------- -------------------------------
Fedora Linux 39 and above has all required packages available in official repositories. Install Fedora Linux 40 and above has all required packages available in official repositories. Install
them with dnf: them with dnf:
.. prompt:: bash .. prompt:: bash

View File

@ -18,7 +18,6 @@ we recommend **Ubuntu 24.04 LTS**.
amazon-linux-2023 amazon-linux-2023
arch arch
centos-stream-9 centos-stream-9
debian-11
debian-12 debian-12
fedora fedora
opensuse-leap-15 opensuse-leap-15

View File

@ -4,23 +4,10 @@
Installing Red on Ubuntu non-LTS versions Installing Red on Ubuntu non-LTS versions
========================================= =========================================
.. include:: _includes/supported-arch-x64+aarch64.rst Latest Ubuntu non-LTS version (24.10 at the time of writing) is not supported at current time
due to lack of availability of Python 3.11 or older in its repositories.
.. include:: _includes/linux-preamble.rst The support should come back once we get back on track with supporting current Python versions.
------------------------------- We recommend usage of latest Ubuntu **LTS** versions instead, you can find
Installing the pre-requirements `an install guide for Ubuntu 24.04 <ubuntu-2404>` in our docs.
-------------------------------
Now install the pre-requirements with apt:
.. prompt:: bash
sudo apt update
sudo apt -y install python3.11 python3.11-dev python3.11-venv git openjdk-17-jre-headless build-essential nano
.. Include common instructions:
.. include:: _includes/create-env-with-venv3.11.rst
.. include:: _includes/install-and-setup-red-unix.rst

View File

@ -52,19 +52,19 @@ Operating system version Supported architectures Ideally supported u
================================ ======================= ============================================================ ================================ ======================= ============================================================
Windows 10 x86-64 2025-10-14 (`End/Retirement Date <https://docs.microsoft.com/en-us/lifecycle/products/windows-10-home-and-pro>`__) Windows 10 x86-64 2025-10-14 (`End/Retirement Date <https://docs.microsoft.com/en-us/lifecycle/products/windows-10-home-and-pro>`__)
Windows 11 x86-64 `Retirement Date <https://docs.microsoft.com/en-us/lifecycle/products/windows-11-home-and-pro-version-21h2>`__ Windows 11 x86-64 `Retirement Date <https://docs.microsoft.com/en-us/lifecycle/products/windows-11-home-and-pro-version-21h2>`__
macOS 12 (Monterey) x86-64, aarch64 ~2024-10
macOS 13 (Ventura) x86-64, aarch64 ~2025-10 macOS 13 (Ventura) x86-64, aarch64 ~2025-10
macOS 14 (Sonoma) x86-64, aarch64 ~2026-10 macOS 14 (Sonoma) x86-64, aarch64 ~2026-10
macOS 15 (Sequoia) x86-64, aarch64 ~2027-10
Alma Linux 8 x86-64, aarch64 2029-05-31 (`How long will CloudLinux support AlmaLinux? <https://wiki.almalinux.org/FAQ.html#how-long-will-almalinux-be-supported>`__) Alma Linux 8 x86-64, aarch64 2029-05-31 (`How long will CloudLinux support AlmaLinux? <https://wiki.almalinux.org/FAQ.html#how-long-will-almalinux-be-supported>`__)
Alma Linux 9 x86-64, aarch64 2032-05-31 Alma Linux 9 x86-64, aarch64 2032-05-31
Amazon Linux 2023 x86-64, aarch64 2028-03-15 (`end-of-life <https://docs.aws.amazon.com/linux/al2023/release-notes/support-info-by-support-statement.html#support-info-by-support-statement-eol>`__) Amazon Linux 2023 x86-64, aarch64 2028-03-15 (`end-of-life <https://docs.aws.amazon.com/linux/al2023/release-notes/support-info-by-support-statement.html#support-info-by-support-statement-eol>`__)
Arch Linux x86-64 forever (support is only provided for an up-to-date system) Arch Linux x86-64 forever (support is only provided for an up-to-date system)
CentOS Stream 9 x86-64, aarch64 2027-05-31 (`expected EOL <https://centos.org/stream9/#timeline>`__) CentOS Stream 9 x86-64, aarch64 2027-05-31 (`expected EOL <https://centos.org/stream9/#timeline>`__)
Debian 11 Bullseye x86-64, aarch64, armv7l ~2024-07 (`End of life <https://wiki.debian.org/DebianReleases#Production_Releases>`__)
Debian 12 Bookworm x86-64, aarch64, armv7l ~2026-09 (`End of life <https://wiki.debian.org/DebianReleases#Production_Releases>`__) Debian 12 Bookworm x86-64, aarch64, armv7l ~2026-09 (`End of life <https://wiki.debian.org/DebianReleases#Production_Releases>`__)
Fedora Linux 39 x86-64, aarch64 2024-11-12 (`End of Life <https://docs.fedoraproject.org/en-US/releases/lifecycle/#_maintenance_schedule>`__) Fedora Linux 40 x86-64, aarch64 2025-05-28 (`End of Life <https://docs.fedoraproject.org/en-US/releases/lifecycle/#_maintenance_schedule>`__)
Fedora Linux 40 x86-64, aarch64 2025-05-13 (`End of Life <https://docs.fedoraproject.org/en-US/releases/lifecycle/#_maintenance_schedule>`__) Fedora Linux 41 x86-64, aarch64 2025-11-19 (`End of Life <https://docs.fedoraproject.org/en-US/releases/lifecycle/#_maintenance_schedule>`__)
openSUSE Leap 15.5 x86-64, aarch64 2024-12-31 (`end of maintenance life cycle <https://en.opensuse.org/Lifetime#openSUSE_Leap>`__) openSUSE Leap 15.5 x86-64, aarch64 2024-12-31 (`end of maintenance life cycle <https://en.opensuse.org/Lifetime#openSUSE_Leap>`__)
openSUSE Leap 15.6 x86-64, aarch64 2025-12-31 (`end of maintenance life cycle <https://en.opensuse.org/Lifetime#openSUSE_Leap>`__)
openSUSE Tumbleweed x86-64, aarch64 forever (support is only provided for an up-to-date system) openSUSE Tumbleweed x86-64, aarch64 forever (support is only provided for an up-to-date system)
Oracle Linux 8 x86-64, aarch64 2029-07-31 (`End of Premier Support <https://www.oracle.com/us/support/library/elsp-lifetime-069338.pdf>`__) Oracle Linux 8 x86-64, aarch64 2029-07-31 (`End of Premier Support <https://www.oracle.com/us/support/library/elsp-lifetime-069338.pdf>`__)
Oracle Linux 9 x86-64, aarch64 2032-06-31 (`End of Premier Support <https://www.oracle.com/us/support/library/elsp-lifetime-069338.pdf>`__) Oracle Linux 9 x86-64, aarch64 2032-06-31 (`End of Premier Support <https://www.oracle.com/us/support/library/elsp-lifetime-069338.pdf>`__)
@ -80,7 +80,6 @@ Rocky Linux 8 x86-64, aarch64 2029-05-31 (`end-of
Rocky Linux 9 x86-64, aarch64 2032-05-31 (`end-of-life <https://rockylinux.org/download/>`__) Rocky Linux 9 x86-64, aarch64 2032-05-31 (`end-of-life <https://rockylinux.org/download/>`__)
Ubuntu 20.04 LTS x86-64, aarch64 2025-06-30 (`End of Standard Support <https://wiki.ubuntu.com/Releases#Current>`__) Ubuntu 20.04 LTS x86-64, aarch64 2025-06-30 (`End of Standard Support <https://wiki.ubuntu.com/Releases#Current>`__)
Ubuntu 22.04 LTS x86-64, aarch64 2027-06-30 (`End of Standard Support <https://wiki.ubuntu.com/Releases#Current>`__) Ubuntu 22.04 LTS x86-64, aarch64 2027-06-30 (`End of Standard Support <https://wiki.ubuntu.com/Releases#Current>`__)
Ubuntu 23.10 x86-64, aarch64 2024-07-31 (`End of Standard Support <https://wiki.ubuntu.com/Releases#Current>`__)
Ubuntu 24.04 LTS x86-64, aarch64 2029-06-30 (`End of Standard Support <https://wiki.ubuntu.com/Releases#Current>`__) Ubuntu 24.04 LTS x86-64, aarch64 2029-06-30 (`End of Standard Support <https://wiki.ubuntu.com/Releases#Current>`__)
================================ ======================= ============================================================ ================================ ======================= ============================================================

View File

@ -10,23 +10,23 @@ aiosignal==1.3.1
# via aiohttp # via aiohttp
apsw==3.46.1.0 apsw==3.46.1.0
# via -r base.in # via -r base.in
attrs==24.2.0 attrs==24.3.0
# via aiohttp # via aiohttp
babel==2.16.0 babel==2.16.0
# via -r base.in # via -r base.in
brotli==1.1.0 brotli==1.1.0
# via -r base.in # via -r base.in
click==8.1.7 click==8.1.8
# via -r base.in # via -r base.in
discord-py==2.4.0 discord-py==2.4.0
# via # via
# -r base.in # -r base.in
# red-lavalink # red-lavalink
frozenlist==1.4.1 frozenlist==1.5.0
# via # via
# aiohttp # aiohttp
# aiosignal # aiosignal
idna==3.8 idna==3.10
# via yarl # via yarl
markdown==3.7 markdown==3.7
# via -r base.in # via -r base.in
@ -34,17 +34,19 @@ markdown-it-py==3.0.0
# via rich # via rich
mdurl==0.1.2 mdurl==0.1.2
# via markdown-it-py # via markdown-it-py
multidict==6.0.5 multidict==6.1.0
# via # via
# aiohttp # aiohttp
# yarl # yarl
orjson==3.10.7 orjson==3.10.12
# via -r base.in # via -r base.in
packaging==24.1 packaging==24.2
# via -r base.in # via -r base.in
platformdirs==4.2.2 platformdirs==4.3.6
# via -r base.in # via -r base.in
psutil==6.0.0 propcache==0.2.0
# via yarl
psutil==6.1.1
# via -r base.in # via -r base.in
pygments==2.18.0 pygments==2.18.0
# via rich # via rich
@ -52,7 +54,7 @@ python-dateutil==2.9.0.post0
# via -r base.in # via -r base.in
pyyaml==6.0.2 pyyaml==6.0.2
# via -r base.in # via -r base.in
rapidfuzz==3.9.6 rapidfuzz==3.9.7
# via -r base.in # via -r base.in
red-commons==1.0.0 red-commons==1.0.0
# via # via
@ -60,17 +62,18 @@ red-commons==1.0.0
# red-lavalink # red-lavalink
red-lavalink==0.11.0 red-lavalink==0.11.0
# via -r base.in # via -r base.in
rich==13.8.0 rich==13.9.4
# via -r base.in # via -r base.in
schema==0.7.7 schema==0.7.7
# via -r base.in # via -r base.in
six==1.16.0 six==1.17.0
# via python-dateutil # via python-dateutil
typing-extensions==4.12.2 typing-extensions==4.12.2
# via # via
# -r base.in # -r base.in
# multidict
# rich # rich
yarl==1.9.4 yarl==1.15.2
# via # via
# -r base.in # -r base.in
# aiohttp # aiohttp
@ -80,11 +83,11 @@ colorama==0.4.6; sys_platform == "win32"
# via click # via click
distro==1.9.0; sys_platform == "linux" and sys_platform == "linux" distro==1.9.0; sys_platform == "linux" and sys_platform == "linux"
# via -r base.in # via -r base.in
importlib-metadata==8.4.0; python_version != "3.10" and python_version != "3.11" importlib-metadata==8.5.0; python_version != "3.10" and python_version != "3.11"
# via markdown # via markdown
pytz==2024.1; python_version == "3.8" pytz==2024.2; python_version == "3.8"
# via babel # via babel
uvloop==0.20.0; (sys_platform != "win32" and platform_python_implementation == "CPython") and sys_platform != "win32" uvloop==0.21.0; (sys_platform != "win32" and platform_python_implementation == "CPython") and sys_platform != "win32"
# via -r base.in # via -r base.in
zipp==3.20.1; python_version != "3.10" and python_version != "3.11" zipp==3.20.2; python_version != "3.10" and python_version != "3.11"
# via importlib-metadata # via importlib-metadata

View File

@ -1,8 +1,8 @@
alabaster==0.7.13 alabaster==0.7.13
# via sphinx # via sphinx
certifi==2024.7.4 certifi==2024.12.14
# via requests # via requests
charset-normalizer==3.3.2 charset-normalizer==3.4.0
# via requests # via requests
docutils==0.20.1 docutils==0.20.1
# via # via
@ -11,18 +11,14 @@ docutils==0.20.1
# sphinx-rtd-theme # sphinx-rtd-theme
imagesize==1.4.1 imagesize==1.4.1
# via sphinx # via sphinx
importlib-metadata==8.4.0 importlib-metadata==8.5.0
# via # via sphinx
# -c base.txt jinja2==3.1.5
# sphinx
jinja2==3.1.4
# via sphinx # via sphinx
markupsafe==2.1.5 markupsafe==2.1.5
# via jinja2 # via jinja2
pytz==2024.1 pytz==2024.2
# via # via babel
# -c base.txt
# babel
requests==2.32.3 requests==2.32.3
# via sphinx # via sphinx
snowballstemmer==2.2.0 snowballstemmer==2.2.0
@ -36,7 +32,7 @@ sphinx==7.1.2
# sphinxcontrib-trio # sphinxcontrib-trio
sphinx-prompt==1.7.0 sphinx-prompt==1.7.0
# via -r extra-doc.in # via -r extra-doc.in
sphinx-rtd-theme==2.0.0 sphinx-rtd-theme==3.0.2
# via -r extra-doc.in # via -r extra-doc.in
sphinxcontrib-applehelp==1.0.4 sphinxcontrib-applehelp==1.0.4
# via sphinx # via sphinx
@ -54,9 +50,7 @@ sphinxcontrib-serializinghtml==1.1.5
# via sphinx # via sphinx
sphinxcontrib-trio==1.1.2 sphinxcontrib-trio==1.1.2
# via -r extra-doc.in # via -r extra-doc.in
urllib3==2.2.2 urllib3==2.2.3
# via requests # via requests
zipp==3.20.1 zipp==3.20.2
# via # via importlib-metadata
# -c base.txt
# importlib-metadata

View File

@ -1,6 +1,2 @@
async-timeout==4.0.3 asyncpg==0.30.0
# via
# -c base.txt
# asyncpg
asyncpg==0.29.0
# via -r extra-postgres.in # via -r extra-postgres.in

View File

@ -4,5 +4,5 @@ mypy-extensions==1.0.0
# via black # via black
pathspec==0.12.1 pathspec==0.12.1
# via black # via black
tomli==2.0.1 tomli==2.2.1
# via black # via black

View File

@ -1,6 +1,6 @@
astroid==3.2.4 astroid==3.2.4
# via pylint # via pylint
dill==0.3.8 dill==0.3.9
# via pylint # via pylint
iniconfig==2.0.0 iniconfig==2.0.0
# via pytest # via pytest
@ -10,7 +10,7 @@ mccabe==0.7.0
# via pylint # via pylint
pluggy==1.5.0 pluggy==1.5.0
# via pytest # via pytest
pylint==3.2.6 pylint==3.2.7
# via -r extra-test.in # via -r extra-test.in
pytest==7.4.4 pytest==7.4.4
# via # via
@ -25,7 +25,7 @@ tomlkit==0.13.2
# via pylint # via pylint
exceptiongroup==1.2.2; python_version != "3.11" exceptiongroup==1.2.2; python_version != "3.11"
# via pytest # via pytest
tomli==2.0.1; python_version != "3.11" tomli==2.2.1; python_version != "3.11"
# via # via
# pylint # pylint
# pytest # pytest