Skip to content
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
4 changes: 2 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- windows-latest
- macos-latest
python-version:
- "3.10"
- "3.13"
- "3.11"
- "3.14"

steps:
# Pixi should manage Python versions, but it doesn't work on Windows in GitHub Actions
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

- Replace flatdict from pypi with a local version to avoid pkg_resource install issues
- Change default compression to zstd
- Add option to set compression level, zstd defaults to 15
- Add support for Python 3.14, remove support for Python 3.10
- Replace flatdict from pypi with a local version to avoid pkg_resource install issues
- Updated dependencies (especially catering for future pandas versions)

## [v0.2.12] - 2025-12-08

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pixi run vec

#### Using pip

Alternatively, you can install from PyPI with **Python 3.10** or any later version:
Alternatively, you can install from PyPI with **Python 3.11** or any later version:

```bash
pip install vecorel-cli
Expand Down
13,634 changes: 6,888 additions & 6,746 deletions pixi.lock

Large diffs are not rendered by default.

16 changes: 7 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,21 @@ authors = [
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
requires-python = ">=3.10,<3.14"
requires-python = ">=3.11"
# This is duplicate, must also be changed below in the pixi configuration
dependencies = [
"pyyaml>=6.0,<7.0",
"click>=8.1,<9.0",
"geopandas>=1.0.0,<2.0",
"requests>=2.30,<3.0",
"shapely>=2.1,<3.0",
# numpy is restricted <2.2.0 due to the lower supported Python version being 3.11 and we still cater for 3.10
"numpy>=2.0,<2.2",
"pyarrow>=21.0,<22.0",
"numpy>=2.0,<3.0",
"pyarrow>=21.0,<24.0",
"py7zr>=1.0,<2.0",
"fsspec==2025.7.0",
"jsonschema[format]>=4.20,<5.0",
Expand Down Expand Up @@ -57,15 +56,14 @@ channels = ["conda-forge"]
platforms = ["win-64", "linux-64", "osx-64", "osx-arm64"]

[tool.pixi.dependencies]
python = ">=3.10,<3.14"
python = ">=3.11"
pyyaml = ">=6.0,<7.0"
click = ">=8.1,<9.0"
geopandas = ">=1.0.0,<2.0"
requests = ">=2.30,<3.0"
shapely = ">=2.1,<3.0"
# numpy is restricted <2.2.0 due to the lower supported Python version being 3.11 and we still cater for 3.10
numpy = ">=2.0,<2.2"
pyarrow = ">=21.0,<22.0"
numpy = ">=2.0,<3.0"
pyarrow = ">=21.0,<24.0"
py7zr = ">=1.0,<2.0"
unrar = ">=0.4"

Expand Down
2 changes: 1 addition & 1 deletion vecorel_cli/encoding/geoparquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def write(
if callable(gp_type):
data[column] = gp_type(data[column])
else:
data[column] = data[column].astype(gp_type, copy=False)
data[column] = data[column].astype(gp_type)
except Exception as e:
self.warning(f"{column}: Can't convert to {dtype}: {e}")

Expand Down
2 changes: 1 addition & 1 deletion vecorel_cli/parquet/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def get_pyarrow_type_for_geopandas(dtype):
dtype = dtype.lower()
if dtype == "bool":
return pa.bool_()
elif dtype == "string" or dtype == "|s0" or dtype == "<u0":
elif dtype in ("str", "string", "|s0", "<u0"):
return pa.string()
elif (
dtype == "float128"
Expand Down
Loading