From 34f8ed5965849fedf73bf333ec431ab52e8aac05 Mon Sep 17 00:00:00 2001 From: xavier-owkin Date: Thu, 4 Jan 2024 15:37:46 +0000 Subject: [PATCH] chore: Remove python 3.7 support --- .github/workflows/linting.yml | 6 +++--- .github/workflows/pr_validation.yml | 4 ++-- README.md | 2 +- docs/installation.rst | 2 +- setup.py | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 52013a404..012a1d2e5 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -15,11 +15,11 @@ jobs: runs-on: ${{ matrix.os }} matrix: os: [ubuntu-latest] - python: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python: ["3.8", "3.9", "3.10", "3.11"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 name: Install Python with: python-version: ${{ matrix.python }} diff --git a/.github/workflows/pr_validation.yml b/.github/workflows/pr_validation.yml index 127e50198..e48fc9f23 100644 --- a/.github/workflows/pr_validation.yml +++ b/.github/workflows/pr_validation.yml @@ -21,9 +21,9 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python: ["3.8", "3.9", "3.10", "3.11"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} diff --git a/README.md b/README.md index 33d63e7ad..628e7b290 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ please open a github issue on this repository. ## Installation -We recommend using anaconda and pip. You can install anaconda by downloading and executing appropriate installers from the [Anaconda website](https://www.anaconda.com/products/distribution), pip often comes included with python otherwise check [the following instructions](https://pip.pypa.io/en/stable/installation/). We support all Python version starting from **3.7**. +We recommend using anaconda and pip. You can install anaconda by downloading and executing appropriate installers from the [Anaconda website](https://www.anaconda.com/products/distribution), pip often comes included with python otherwise check [the following instructions](https://pip.pypa.io/en/stable/installation/). We support all Python version starting from **3.8**. You may need `make` for simplification. The following command will install all packages used by all datasets within FLamby. If you already know you will only need a fraction of the datasets inside the suite you can do a partial installation and update it along the way using the options described below. Create and launch the environment using: diff --git a/docs/installation.rst b/docs/installation.rst index 2d4871412..0f5a45dbf 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -1,7 +1,7 @@ Installation ------------ -We recommend using anaconda and pip. You can install anaconda by downloading and executing appropriate installers from the `Anaconda website `_\ , pip often comes included with python otherwise check `the following instructions `_. We support all Python version starting from **3.7**. +We recommend using anaconda and pip. You can install anaconda by downloading and executing appropriate installers from the `Anaconda website `_\ , pip often comes included with python otherwise check `the following instructions `_. We support all Python version starting from **3.8**. You may need ``make`` for simplification. The following command will install all packages used by all datasets within FLamby. If you already know you will only need a fraction of the datasets inside the suite you can do a partial installation and update it along the way using the options described below. Create and launch the environment using: diff --git a/setup.py b/setup.py index 3ca5c408d..42264ff0d 100644 --- a/setup.py +++ b/setup.py @@ -88,7 +88,7 @@ def run(self): setup( name="flamby", version="0.0.1", - python_requires=">=3.7.0", + python_requires=">=3.8.0", license="MIT", classifiers=[ "Topic :: Scientific/Engineering :: Artificial Intelligence",