Skip to content

Commit

Permalink
Drop Python 3.6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
KostyaEsmukov committed May 16, 2022
1 parent a7341b7 commit d2a9769
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
strategy:
fail-fast: false
matrix: # &test-matrix
python-version: [3.6, 3.7, 3.8, 3.9, 'pypy3']
python-version: [3.7, 3.8, 3.9, 'pypy-3.7']
experimental: [false]
include:
- python-version: '3.10-dev'
Expand All @@ -64,7 +64,7 @@ jobs:
strategy:
fail-fast: false
matrix: # *test-matrix https://github.community/t/support-for-yaml-anchors/16128
python-version: [3.6, 3.7, 3.8, 3.9, 'pypy3']
python-version: [3.7, 3.8, 3.9, 'pypy-3.7']
experimental: [false]
include:
- python-version: '3.10-dev'
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Geocoder classes are located in `geopy.geocoders`_.
.. _Geocoders doc section: https://geopy.readthedocs.io/en/latest/#geocoders
.. _geopy.geocoders: https://github.com/geopy/geopy/tree/master/geopy/geocoders

geopy is tested against CPython (versions 3.6, 3.7, 3.8, 3.9)
geopy is tested against CPython (versions 3.7, 3.8, 3.9)
and PyPy3. geopy 1.x line also supported CPython 2.7, 3.4 and PyPy2.

© geopy contributors 2006-2018 (see AUTHORS) under the `MIT
Expand Down
2 changes: 1 addition & 1 deletion geopy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
addresses, cities, countries, and landmarks across the globe using third-party
geocoders and other data sources.
geopy is tested against CPython (versions 3.6, 3.7, 3.8, 3.9)
geopy is tested against CPython (versions 3.7, 3.8, 3.9)
and PyPy3. geopy 1.x line also supported CPython 2.7, 3.4 and PyPy2.
"""

Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
},
license='MIT',
keywords='geocode geocoding gis geographical maps earth distance',
python_requires=">=3.6",
python_requires=">=3.7",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand All @@ -82,7 +82,6 @@
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand Down
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist=
py36{-async,-noextras},
py{37,38,39,310,py3},
py37{-async,-noextras},
py{38,39,310,py3},
lint,
rst,

Expand All @@ -15,24 +15,24 @@ passenv = *
whitelist_externals = make
commands = make {env:GEOPY_TOX_TARGET:test}

[testenv:py36-async]
[testenv:py37-async]
# Run a single job with asyncio adapter:
# (not the whole matrix, to avoid spending extra quota)
setenv = GEOPY_TEST_ADAPTER=geopy.adapters.AioHTTPAdapter

[testenv:py36-noextras]
[testenv:py37-noextras]
# Ensure `pip install geopy` without any non-test extras doesn't break.
extras =
dev-test

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
pypy3: pypy3
pypy-3.7: pypy3

[testenv:lint]
basepython = python3
Expand Down

0 comments on commit d2a9769

Please sign in to comment.