Skip to content

Commit

Permalink
Depreciating Python 3.7 due to security
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbraybrook committed Nov 18, 2024
1 parent b647f9c commit 2e13775
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]

env:
## Environment variable
Expand Down
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Changelog

## [1.2.12] - 2024/11/18
- Resolved issues on installation on later python versions
## [1.3.0] - 2024/11/18
- Removing Support for Python 3.7
- Adding Support for Python 3.12, 3.13

- Added Support for Python 3.12, 3.13
- Resolved issues on installation on later python versions
- Updated Typeguard Version
- Updated Packages to latest versions
- Fixed typing on GeoJson Outputs -> Feature Collection to Dict.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[build-system]
requires = ["setuptools>=75.5.0"]
requires = ["setuptools>=75.3.0"]
build-backend = "setuptools.build_meta"

2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ requests~=2.32.3
typeguard~=4.4.1
shapely~=2.0.6
tqdm~=4.67.0
setuptools~=75.5.0
setuptools~=75.3.0

7 changes: 3 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
[metadata]
name = osdatahub
version = 1.2.12
version = 1.3.0
author = OS Data Science
author_email = datascience@os.uk
classifiers =
Natural Language :: English
Intended Audience :: Developers
Intended Audience :: Science/Research
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Expand Down Expand Up @@ -40,8 +39,8 @@ install_requires =
typeguard~=4.4.1
shapely~=2.0.6
tqdm~=4.67.0
setuptools~=75.5.0
python_requires = >=3.7
setuptools~=75.3.0
python_requires = >=3.8
package_dir=
=src
packages=find:
Expand Down
1 change: 1 addition & 0 deletions tests/test_downloads_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def test_product_list_live(self):
# assert response == expected_download_return
# _DownloadObj.download.assert_has_calls(download_called_value)

# TODO Fix Test for packages

# class TestDataPackage:
# @pytest.fixture()
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13
envlist = python3.8, python3.9, python3.10, python3.11, python3.12, python3.13

[testenv]
# install pytest in the virtualenv where commands will be executed
Expand Down

0 comments on commit 2e13775

Please sign in to comment.