Skip to content

Commit

Permalink
DEP: Minimum supported Python version 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
snowman2 committed Nov 8, 2023
1 parent 16c04e2 commit d3e73f1
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ jobs:
- name: Setup Conda
uses: s-weigand/setup-conda@v1
with:
python-version: 3.9
python-version: 3.11
conda-channels: conda-forge

- name: Install and Build
shell: bash
run: |
conda config --prepend channels conda-forge
conda config --set channel_priority strict
conda create -n docs python=3.9 cython proj
conda create -n docs python=3.11 cython proj
source activate docs
python -m pip install -e .
python -m pip install -r requirements-docs.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_proj_latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.11
- name: Install PROJ
shell: bash
run: |
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.10
- uses: pre-commit/action@v3.0.0
- name: Install mypy
run: |
Expand All @@ -40,16 +40,16 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.10', '3.11', '3.12']
proj-version: ['9.3.0']
include:
- python-version: '3.9'
- python-version: '3.10'
proj-version: '9.2.1'
- python-version: '3.9'
- python-version: '3.10'
proj-version: '9.1.1'
- python-version: '3.9'
- python-version: '3.10'
proj-version: '9.1.0'
- python-version: '3.9'
- python-version: '3.10'
proj-version: '9.0.1'
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.10', '3.11', '3.12']
python-implementation: [python]
proj-version: ['*']
include:
Expand Down
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ environment:
# See: http://www.appveyor.com/docs/installed-software#python
# build is limited to 60 minutes, without caching each build takes 10-30 minutes
# with caching build takes less than 1 minute
- PYTHON: "C:\\Python39-x64"
- PYTHON: "C:\\Python310-x64"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
PROJSOURCE: 9.3.0
BUILD_SHARED_LIBS: ON
# - PYTHON: "C:\\Python39-x64"
# - PYTHON: "C:\\Python310-x64"
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
# PROJSOURCE: git
# BUILD_SHARED_LIBS: ON
# matrix:
# allow_failures:
# - PYTHON: "C:\\Python39-x64"
# - PYTHON: "C:\\Python310-x64"
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
# PROJSOURCE: git
# BUILD_SHARED_LIBS: ON
Expand Down
1 change: 1 addition & 0 deletions docs/history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Change Log

Latest
------
- DEP: Minimum supported Python version 3.10 (pull #1357)

3.6.1
------
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ GitHub Repository: https://github.com/pyproj4/pyproj

.. note:: Minimum supported PROJ version is 9.0

.. note:: Minimum supported Python version is 3.9
.. note:: Minimum supported Python version is 3.10

.. note:: Linux (manylinux2014) wheels require pip 19.3+

Expand Down
2 changes: 1 addition & 1 deletion pyproj/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Download: http://python.org/pypi/pyproj
Requirements: Python 3.9+.
Requirements: Python 10+.
Contact: Jeffrey Whitaker <jeffrey.s.whitaker@noaa.gov>
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand All @@ -40,7 +39,7 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
requires-python = ">=3.9"
requires-python = ">=3.10"
dependencies = [
"certifi",
]
Expand All @@ -64,4 +63,4 @@ include = ["pyproj", "pyproj.*"]
version = {attr = "pyproj.__version__"}

[tool.black]
target_version = ["py39"]
target_version = ["py310"]

0 comments on commit d3e73f1

Please sign in to comment.