mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-05 17:02:32 -05:00
Update deps, allow Python 3.9, drop Fedora 32 (#5121)
* Update deps + allow Python 3.9 * Add in updates from Jack's branch * Fix multiple target for cross-reference warnings * Update a few more Python 3.8 occurrences * Bump further * Don't install tox in CodeQL environment * Bump Python version in docs to 3.9.7 * more bumps * Add missing pin * Stop using the deprecated distro.linux_distribution() * Suppress deprecation warning * Fix OpenSUSE Leap instructions * Drop Fedora 32 * Add Python 3.10-dev to CI * meh Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
10
setup.py
10
setup.py
@@ -1,4 +1,10 @@
|
||||
import os
|
||||
import sys
|
||||
from setuptools import setup
|
||||
|
||||
# Metadata and options defined in setup.cfg
|
||||
setup()
|
||||
if os.getenv("TOX_RED", False) and sys.version_info >= (3, 10):
|
||||
# We want to be able to test Python versions that we do not support yet.
|
||||
setup(python_requires=">=3.8.1")
|
||||
else:
|
||||
# Metadata and options defined in setup.cfg
|
||||
setup()
|
||||
|
||||
Reference in New Issue
Block a user