From 83eba093c56b806753f37200f2647a45f5bd44c9 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Thu, 15 Aug 2024 12:05:18 +0200 Subject: [PATCH 1/3] Drop support for Python 3.7 --- .github/workflows/main.yml | 2 +- conda-recipe/meta.yaml | 4 +-- setup.py | 60 ++++++++++++++++++++------------------ 3 files changed, 35 insertions(+), 31 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 32314e15..d0c9365e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -82,7 +82,7 @@ jobs: fail-fast: false matrix: os: [macos-12,ubuntu-latest,windows-latest] - pyver: ["3.7","3.8","3.9","3.10"] + pyver: ["3.8","3.9","3.10"] include: # include the appropriate dependencies for testing SquashFS on each OS - os: macos-12 diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 5b5d9141..6ffa9e06 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -17,10 +17,10 @@ build: requirements: host: - - python >=3.7 + - python >=3.8 - pip run: - - python >=3.7 + - python >=3.8 - setuptools test: diff --git a/setup.py b/setup.py index 84f26db2..f7da448e 100644 --- a/setup.py +++ b/setup.py @@ -2,33 +2,37 @@ import versioneer -setup(name='conda-pack', - version=versioneer.get_version(), - cmdclass=versioneer.get_cmdclass(), - url='https://conda.github.io/conda-pack/', - project_urls={"Source Code": "https://github.com/conda/conda-pack"}, - maintainer='Jim Crist', - maintainer_email='jiminy.crist@gmail.com', - keywords='conda packaging', - classifiers=["Development Status :: 4 - Beta", - "License :: OSI Approved :: BSD License", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Topic :: System :: Archiving :: Packaging", - "Topic :: System :: Software Distribution", - "Topic :: Software Development :: Build Tools"], - license='BSD', - description='Package conda environments for redistribution', - long_description=open('README.md').read(), - long_description_content_type="text/markdown", - packages=['conda_pack'], - package_data={'conda_pack': ['scripts/windows/*', 'scripts/posix/*']}, - entry_points=''' +setup( + name="conda-pack", + version=versioneer.get_version(), + cmdclass=versioneer.get_cmdclass(), + url="https://conda.github.io/conda-pack/", + project_urls={"Source Code": "https://github.com/conda/conda-pack"}, + maintainer="Jim Crist", + maintainer_email="jiminy.crist@gmail.com", + keywords="conda packaging", + classifiers=[ + "Development Status :: 4 - Beta", + "License :: OSI Approved :: BSD License", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Topic :: System :: Archiving :: Packaging", + "Topic :: System :: Software Distribution", + "Topic :: Software Development :: Build Tools", + ], + license="BSD", + description="Package conda environments for redistribution", + long_description=open("README.md").read(), + long_description_content_type="text/markdown", + packages=["conda_pack"], + package_data={"conda_pack": ["scripts/windows/*", "scripts/posix/*"]}, + entry_points=""" [console_scripts] conda-pack=conda_pack.cli:main - ''', - install_requires=['setuptools'], - python_requires='>=3.7', - zip_safe=False) + """, + install_requires=["setuptools"], + python_requires=">=3.8", + zip_safe=False, +) From 8cac1f8754c221bce652ede1d72f3b2f8d9bd76b Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Thu, 15 Aug 2024 12:06:53 +0200 Subject: [PATCH 2/3] Add news --- news/360-drop-py37 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 news/360-drop-py37 diff --git a/news/360-drop-py37 b/news/360-drop-py37 new file mode 100644 index 00000000..f3f3dd7e --- /dev/null +++ b/news/360-drop-py37 @@ -0,0 +1,19 @@ +### Enhancements + +* + +### Bug fixes + +* + +### Deprecations + +* + +### Docs + +* + +### Other + +* Dropped support for Python 3.7 From 88dcd42dd5009946fe452dd16bff20ff928b4bb3 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Thu, 15 Aug 2024 12:08:57 +0200 Subject: [PATCH 3/3] Remove Python 3.7 classifier --- setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.py b/setup.py index f7da448e..005a4007 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,6 @@ classifiers=[ "Development Status :: 4 - Beta", "License :: OSI Approved :: BSD License", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10",