Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #132

Merged
merged 1 commit into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
strategy:
matrix:
python-version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ jobs:
lfs: false
- uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.12"
- uses: pre-commit/action@v3.0.0
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
exclude: ^mapbox_vector_tile/Mapbox/vector_tile_pb2.py
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
Expand All @@ -16,23 +16,23 @@ repos:
hooks:
- id: absolufy-imports
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.15.2
hooks:
- id: pyupgrade
args: [ --py38-plus ]
args: [ --py39-plus ]
- repo: https://github.com/PyCQA/isort
rev: 5.11.4
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.12.0
rev: 24.4.2
hooks:
- id: black
- repo: https://github.com/asottile/yesqa
rev: v1.4.0
rev: v1.5.0
hooks:
- id: yesqa
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
rev: 7.0.0
hooks:
- id: flake8
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
Version 2.0.2
Version 2.1.0
-------------

*In development*

- Drop the support for Python 3.8 and add the support for Python 3.12
- Update the minimum required version for `protobuf`

Version 2.0.1
-------------

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Mapbox Vector Tile
Installation
------------

mapbox-vector-tile is compatible with Python 3.8 or newer. It is listed on PyPi as `mapbox-vector-tile`. The
mapbox-vector-tile is compatible with Python 3.9 or newer. It is listed on PyPi as `mapbox-vector-tile`. The
recommended way to install is via `pip`:

```shell
Expand Down
680 changes: 335 additions & 345 deletions poetry.lock

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mapbox-vector-tile"
version = "2.0.2"
version = "2.1.0"
description = "Mapbox Vector Tile encoding and decoding."
license = "MIT"
authors = [
Expand All @@ -13,10 +13,10 @@ exclude = [
"**/*.wkt",
]
classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
include = [
"mapbox_vector_tile/Mapbox/*.proto",
Expand All @@ -32,8 +32,8 @@ requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry.dependencies]
python = "^3.8"
protobuf = "^4.21"
python = "^3.9"
protobuf = "^5.26.1"
shapely = "^2.0.0"
pyclipper = "^1.3.0"
pyproj = { version = "^3.4.1", optional = true }
Expand All @@ -54,7 +54,7 @@ extend-exclude = '''
.*_pb2.py
)
'''
target-version = ["py38", "py39", "py310", "py311"]
target-version = ["py39", "py310", "py311", "py312"]

# Isort
[tool.isort]
Expand Down
1 change: 1 addition & 0 deletions tests/test_encoder.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Tests for vector_tile/encoder.py
"""

import unittest

from shapely import wkt
Expand Down
1 change: 1 addition & 0 deletions tests/test_polygon.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Tests for vector_tile/polygon.py
"""

import os
import unittest

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38,py39,py310,py311
envlist = py39,py310,py311,py312

[tox:.package]
isolated_build = true
Expand Down
Loading