From 270202ce2905adb188cb50edd1ccb52e7ee900ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Souleymane=20TOUR=C3=89?= Date: Fri, 8 Dec 2023 10:04:53 +0100 Subject: [PATCH 1/5] Add apt get update --- .github/workflows/check-tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/check-tests.yml b/.github/workflows/check-tests.yml index 0d54bad5..dc22e5ee 100644 --- a/.github/workflows/check-tests.yml +++ b/.github/workflows/check-tests.yml @@ -33,6 +33,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip + sudo apt-get update sudo apt-get install binutils libproj-dev gdal-bin pip install -e ".[tests]" - name: Test with pytest From 1023fd092fb7a380b1a31947528c244c0f761e05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Souleymane=20TOUR=C3=89?= Date: Fri, 8 Dec 2023 10:06:41 +0100 Subject: [PATCH 2/5] Fix pipeline --- .github/workflows/check-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-tests.yml b/.github/workflows/check-tests.yml index dc22e5ee..041528c0 100644 --- a/.github/workflows/check-tests.yml +++ b/.github/workflows/check-tests.yml @@ -33,7 +33,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - sudo apt-get update + sudo apt-get update sudo apt-get install binutils libproj-dev gdal-bin pip install -e ".[tests]" - name: Test with pytest From 8011b3a8e71fce00fad5f4b2805d79adb3149d89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Souleymane=20TOUR=C3=89?= Date: Fri, 8 Dec 2023 11:12:13 +0100 Subject: [PATCH 3/5] Remove python3.6 support --- .github/workflows/check-tests.yml | 39 ------------------------------- 1 file changed, 39 deletions(-) diff --git a/.github/workflows/check-tests.yml b/.github/workflows/check-tests.yml index 041528c0..6046018a 100644 --- a/.github/workflows/check-tests.yml +++ b/.github/workflows/check-tests.yml @@ -42,42 +42,3 @@ jobs: - name: Tests coverage with CodeCov run: | codecov - - tests-python36: - runs-on: ubuntu-20.04 - strategy: - max-parallel: 2 - matrix: - python-version: [3.6] - services: - postgres: - image: postgis/postgis:14-master - env: - POSTGRES_DB: db-concrete-datastore - POSTGRES_USER: user-concrete-datastore - POSTGRES_PASSWORD: pwd-concrete-datastore - POSTGRES_HOST: localhost - POSTGRES_PORT: 5432 - ports: - - 5432:5432 - steps: - - uses: actions/checkout@v1 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 - with: - python-version: ${{ matrix.python-version }} - - name: Run SMTPD server - run: | - python -m pip install --upgrade pip - python -m smtpd -n -c DebuggingServer localhost:1025 & - - name: Install dependencies - run: | - python -m pip install --upgrade pip - sudo apt-get install binutils libproj-dev gdal-bin - pip install -e ".[tests]" - - name: Test with pytest - run: | - pytest --ds=tests.unittest_settings --pyargs -q tests --cov --cov-report html --cov-report term - - name: Tests coverage with CodeCov - run: | - codecov From df627f5ee4668d680ede307dbce058656affbbff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Souleymane=20TOUR=C3=89?= Date: Fri, 8 Dec 2023 11:13:40 +0100 Subject: [PATCH 4/5] Remove python3.6 support --- CHANGELOG.md | 2 +- README.md | 3 +-- setup.cfg | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 53bd43ce..0e979091 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ ### Removed -- nothing removed +- Python 3.6 support ## [1.58.0] - 2023-12-08 diff --git a/README.md b/README.md index d6bc46e8..383d4428 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,6 @@ ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/Netsach/concrete-datastore/check-tests.yml?branch=master&label=tests) ![Codecov](https://img.shields.io/codecov/c/github/Netsach/concrete-datastore?logo=codecov) ![Code Style](https://img.shields.io/badge/code%20style-black-000000.svg) -![Python](https://img.shields.io/badge/python-3.6-3473A7?logo=python&logoColor=FED646) ![Python](https://img.shields.io/badge/python-3.7-3473A7?logo=python&logoColor=FED646) ![Python](https://img.shields.io/badge/python-3.8-3473A7?logo=python&logoColor=FED646) ![Python](https://img.shields.io/badge/python-3.9-3473A7?logo=python&logoColor=FED646) @@ -76,4 +75,4 @@ Voir la [documentation officielle](http://concrete-datastore.netsach.org/) ## Version Anglaise -Vous pouvez retrouver la version Anglaise [ici](README-en.md) \ No newline at end of file +Vous pouvez retrouver la version Anglaise [ici](README-en.md) diff --git a/setup.cfg b/setup.cfg index be6ef5b5..ff2bce08 100644 --- a/setup.cfg +++ b/setup.cfg @@ -15,10 +15,9 @@ project_urls = Source Code = https://github.com/Netsach/concrete-datastore/ Tests Coverage = https://codecov.io/gh/Netsach/concrete-datastore classifiers = - Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 - + Programming Language :: Python :: 3.9 [options] packages = find: include_package_data = true From 263303d6049039fb16e136dc08935167458e154a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Souleymane=20TOUR=C3=89?= Date: Fri, 8 Dec 2023 11:15:32 +0100 Subject: [PATCH 5/5] Add new line --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index ff2bce08..70e41b5f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,6 +18,7 @@ classifiers = Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 + [options] packages = find: include_package_data = true