From 44ba2d2470b45a93a3ae951204becc194ef8346f Mon Sep 17 00:00:00 2001 From: Yerdos Ordabayev Date: Fri, 6 Oct 2023 10:49:58 -0400 Subject: [PATCH] Drop Python 3.7 support (#3278) --- .readthedocs.yml | 2 +- setup.cfg | 2 +- setup.py | 7 +++---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 61fd13982c..38e8cd6815 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -10,6 +10,6 @@ sphinx: # Optionally set the version of Python and requirements required to build your docs python: - version: 3.7 + version: 3.8 install: - requirements: docs/requirements.txt diff --git a/setup.cfg b/setup.cfg index 0604212cd7..5e66de5e49 100644 --- a/setup.cfg +++ b/setup.cfg @@ -35,7 +35,7 @@ column_limit = 120 # Global options: [mypy] -python_version = 3.7 +python_version = 3.8 warn_return_any = True warn_unused_configs = True warn_incomplete_stub = True diff --git a/setup.py b/setup.py index ea25c09887..e8b075d146 100644 --- a/setup.py +++ b/setup.py @@ -137,12 +137,10 @@ "horovod": ["horovod[pytorch]>=0.19"], "lightning": ["lightning"], "funsor": [ - # This must be a released version when Pyro is released. - # "funsor[torch] @ git+git://github.com/pyro-ppl/funsor.git@7bb52d0eae3046d08a20d1b288544e1a21b4f461", "funsor[torch]==0.4.4", ], }, - python_requires=">=3.7", + python_requires=">=3.8", keywords="machine learning statistics probabilistic programming bayesian modeling pytorch", license="Apache 2.0", classifiers=[ @@ -152,9 +150,10 @@ "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX :: Linux", "Operating System :: MacOS :: MacOS X", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", ], # yapf )