From da84515710c01dfc504465bf74fc4b32e7c7d6ff Mon Sep 17 00:00:00 2001 From: Yerdos Ordabayev Date: Fri, 6 Oct 2023 01:39:19 +0000 Subject: [PATCH 1/2] Drop Python 3.7 --- .readthedocs.yml | 2 +- setup.cfg | 2 +- setup.py | 3 +-- 3 files changed, 3 insertions(+), 4 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..69b6126949 100644 --- a/setup.py +++ b/setup.py @@ -142,7 +142,7 @@ "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,7 +152,6 @@ "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", ], From 887ad124cd0a45a63e075dc984d7010426692c88 Mon Sep 17 00:00:00 2001 From: Yerdos Ordabayev Date: Fri, 6 Oct 2023 04:01:19 +0000 Subject: [PATCH 2/2] address comment --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 69b6126949..e8b075d146 100644 --- a/setup.py +++ b/setup.py @@ -137,8 +137,6 @@ "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", ], }, @@ -154,6 +152,8 @@ "Operating System :: MacOS :: MacOS X", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", ], # yapf )