From b9566474c759a4e50a83998e5b009108a20f27ce Mon Sep 17 00:00:00 2001 From: Yin Li Date: Thu, 27 Jan 2022 15:02:59 -0500 Subject: [PATCH] Add python 3.9 & 3.10 supports and Drop 3.6 --- .github/workflows/pythonpackage.yml | 6 +++--- setup.py | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 7eabd1c..d3342f8 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.6, 3.7, 3.8] + python-version: ['3.7', '3.8', '3.9', '3.10'] steps: - uses: actions/checkout@v2 @@ -32,10 +32,10 @@ jobs: shell: bash -l {0} run: | conda config --set always_yes yes - conda install pytest pip + conda install pytest pip conda install -c conda-forge pyccl pip install . - + - name: Test with pytest shell: bash -l {0} run: | diff --git a/setup.py b/setup.py index 5696aa6..8bd6a77 100644 --- a/setup.py +++ b/setup.py @@ -17,14 +17,16 @@ author="jax-cosmo developers", packages=find_packages(), url="https://github.com/DifferentiableUniverseInitiative/jax_cosmo", + python_requires=">=3.7", install_requires=["jax", "jaxlib"], tests_require=["pyccl"], use_scm_version=True, setup_requires=["setuptools_scm"], classifiers=[ - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "License :: OSI Approved :: MIT License", "Operating System :: MacOS", "Operating System :: POSIX :: Linux",