Skip to content

Conversation

@jqtrde
Copy link
Contributor

@jqtrde jqtrde commented Nov 20, 2025

This PR:

  • Migrates packaging to pyproject.toml
  • Loads the version from package metadata
  • Drops support for versions < 3.10 and simplifies the CI matrix
  • Fixes up the CLI packages a bit

Tested with the following:

# clean python venv
$ mkdir -p /tmp/tilesets-cli-test
$ cd /tmp/tilesets-cli-test
$ python -m venv .venv
$ source .venv/bin/activate
$ python -V
Python 3.10.19


# build tilesets-cli with 3.10
$ cd /src/tilesets-cli
$ python -m pip install --upgrade pip build
$ python -m build

# install build into clean venv
$ cd /tmp/tilesets-cli-test
$ python -m pip install /src/tilesets-cli/dist/*.whl

# verify entrypoint + import
$ tilesets --help
...help text

$ tilesets --version
1.15.0

$ python -c "import mapbox_tilesets.scripts.cli; print('ok')"
ok

theborowski
theborowski previously approved these changes Nov 20, 2025
@jqtrde jqtrde marked this pull request as ready for review November 21, 2025 19:38
@jqtrde jqtrde requested a review from a team as a code owner November 21, 2025 19:38
@jqtrde jqtrde requested review from bgdnatx and nicklvsa December 23, 2025 14:55
@jqtrde jqtrde merged commit 00cebac into master Dec 24, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants