From ce4426bfa0e569875a48bb3bcd006feb16431556 Mon Sep 17 00:00:00 2001 From: Daniel Bast <2790401+dbast@users.noreply.github.com> Date: Fri, 21 Jan 2022 19:54:25 +0100 Subject: [PATCH] Remove Python 2.7 and 3.6 support due to being EOL --- .github/workflows/main.yml | 2 +- conda-recipe/meta.yaml | 4 ++-- conda_pack/core.py | 2 +- setup.py | 3 +-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 24b636ff..07d70ca2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -91,7 +91,7 @@ jobs: fail-fast: false matrix: os: [macos-latest,ubuntu-latest,windows-latest] - pyver: ["3.6","3.7","3.8","3.9","3.10"] + pyver: ["3.7","3.8","3.9","3.10"] include: # include the appropriate dependencies for testing SquashFS on each OS - os: macos-latest diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index f450cf2e..5b5d9141 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -17,10 +17,10 @@ build: requirements: host: - - python + - python >=3.7 - pip run: - - python + - python >=3.7 - setuptools test: diff --git a/conda_pack/core.py b/conda_pack/core.py index 0f617f68..82d6d9bc 100644 --- a/conda_pack/core.py +++ b/conda_pack/core.py @@ -109,7 +109,7 @@ class CondaEnv(object): >>> env = (CondaEnv.from_default() ... .exclude("*.pyx") - ... .include("lib/python3.6/site-packages/cytoolz/*.pyx")) + ... .include("lib/python3.7/site-packages/cytoolz/*.pyx")) CondaEnv<'~/miniconda/envs/example', 1234 files> """ def __init__(self, prefix, files, excluded_files=None): diff --git a/setup.py b/setup.py index a55247f6..84f26db2 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,6 @@ keywords='conda packaging', classifiers=["Development Status :: 4 - Beta", "License :: OSI Approved :: BSD License", - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", @@ -31,5 +30,5 @@ conda-pack=conda_pack.cli:main ''', install_requires=['setuptools'], - python_requires='>=3.6', + python_requires='>=3.7', zip_safe=False)