Skip to content

Replace setup.py with pyproject.toml, add CI - #15

Merged
chrieke merged 1 commit into
mainfrom
pyproject_packaging
Aug 9, 2026
Merged

Replace setup.py with pyproject.toml, add CI#15
chrieke merged 1 commit into
mainfrom
pyproject_packaging

Conversation

@chrieke

@chrieke chrieke commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Packaging cleanup, no library code changes. Stacked on #14 (which adds the tests CI runs), so review that one first.

  • setup.py -> pyproject.toml, drops the root requirements.txt that it read deps from
  • metadata was stale: no classifiers at all, python_requires >=3.6, streamlit>=0.79
  • now requires-python >=3.10, classifiers up to 3.12, and a dev extra for pytest/ruff
  • ruff for both formatting and linting, github action running it plus pytest on 3.10 and 3.12
  • ruff sorted the imports in the examples, that's the only change there

Rules are pinned to E4/E7/E9/F/I instead of ruff's defaults, those keep growing between releases and would turn CI red on unrelated PRs.

Not on 3.13: keplergl 0.3.7 is sdist only and build-requires pyarrow~=16, which has no 3.13 wheels. Its build deps also still import pkg_resources, hence the setuptools<81 constraint in the workflow.

Version stays at 0.3.0, no release here.

Base automatically changed from fix_map_rendering to main August 9, 2026 16:10
@chrieke
chrieke force-pushed the pyproject_packaging branch from 1746aeb to 191feb7 Compare August 9, 2026 16:12
@chrieke
chrieke merged commit db290ca into main Aug 9, 2026
2 checks passed
@chrieke
chrieke deleted the pyproject_packaging branch August 9, 2026 16:41
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.

1 participant