Skip to content

Commit 2571482

Browse files
authored
Merge pull request #56 from bennylope/py311
Remove Python 3.6 support, add Python 3.11
2 parents fecd5ab + 6398b78 commit 2571482

File tree

14 files changed

+32
-77
lines changed

14 files changed

+32
-77
lines changed

.github/workflows/lint.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515

1616
- name: Set up Python
17-
uses: actions/setup-python@v2
17+
uses: actions/setup-python@v4
1818
with:
1919
python-version: '3.x'
2020

.github/workflows/tests.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
name: Run Tests
1+
name: Tests
22

3-
on:
4-
- push
5-
- pull_request
3+
on: [ push, pull_request ]
64

75
jobs:
8-
tests:
6+
test:
7+
8+
name: Test on Python ${{ matrix.python-version }}
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
12+
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ]
1313

1414
steps:
15-
- uses: actions/checkout@v1
16-
- name: Set up Python ${{ matrix.python-version }}
17-
uses: actions/setup-python@v2
18-
with:
19-
python-version: ${{ matrix.python-version }}
20-
- name: Install dependencies
21-
run: |
22-
python -m pip install --upgrade pip
23-
pip install tox tox-gh-actions
24-
- name: Test with tox
25-
run: tox
15+
- uses: actions/checkout@v3
16+
- name: Set up Python ${{ matrix.python-version }}
17+
uses: actions/setup-python@v4
18+
with:
19+
python-version: ${{ matrix.python-version }}
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install tox tox-gh-actions
24+
- name: Test with tox
25+
run: tox

.travis.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

HISTORY.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
History
44
-------
55

6+
1.2.0 (2023-03-21)
7+
+++++++++++++++++++
8+
9+
* Adds custom_base_domain support (thanks MiniCodeMonkey!)
10+
* Drops Python 3.6 support
11+
* Adds official Python 3.11 support
12+
613
1.1.0 (2022-03-28)
714
+++++++++++++++++++
815

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
# built documents.
4949
#
5050
# The short X.Y version.
51-
version = "1.1"
51+
version = "1.2"
5252
# The full version, including alpha/beta/rc tags.
53-
release = "1.1.0"
53+
release = "1.2.0"
5454

5555
# The language for content autogenerated by Sphinx. Refer to documentation
5656
# for a list of supported languages.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@
4242
"License :: OSI Approved :: BSD License",
4343
"Natural Language :: English",
4444
"Programming Language :: Python :: 3",
45-
"Programming Language :: Python :: 3.6",
4645
"Programming Language :: Python :: 3.7",
4746
"Programming Language :: Python :: 3.8",
4847
"Programming Language :: Python :: 3.9",
4948
"Programming Language :: Python :: 3.10",
49+
"Programming Language :: Python :: 3.11",
5050
"Topic :: Internet :: WWW/HTTP",
5151
],
5252
test_suite="tests",

src/geocodio/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
#!/usr/bin/env python
2-
# -*- coding: utf-8 -*-
32

43
__author__ = "Ben Lopatin"
54
__email__ = "ben@benlopatin.com"
6-
__version__ = "1.1.0"
5+
__version__ = "1.2.0"
76

87

98
from geocodio.client import GeocodioClient # noqa

src/geocodio/client.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
#!/usr/bin/env python
2-
# -*- coding: utf-8 -*-
3-
4-
51
import json
62
import logging
73
import re

src/geocodio/data.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
# -*- coding: utf-8 -*-
31
import json
42

53

0 commit comments

Comments
 (0)