Skip to content

Update Makefile to use hatch build/publish#76

Draft
ajalon1 wants to merge 3 commits intomkdocs:masterfrom
ajalon1:fix/update-makefile
Draft

Update Makefile to use hatch build/publish#76
ajalon1 wants to merge 3 commits intomkdocs:masterfrom
ajalon1:fix/update-makefile

Conversation

@ajalon1
Copy link
Copy Markdown

@ajalon1 ajalon1 commented Apr 6, 2026

My company DataRobot still uses this plugin, and we'd like to push a change upstream. However, I see that CI fails and the build itself doesn't work.

I wanted to update the Makefile (which still referenced python setup.py sdist and twine upload) so that it uses hatch instead.

This updates all targets to use hatch:

  • build: python setup.py sdisthatch build
  • dev: pip install .[dev]hatch env create
  • test: .tools/ci.shhatch run test:test
  • release: twine upload ...hatch publish

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
ajalon1 and others added 2 commits April 6, 2026 13:37
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
virtualenv 21.0.0 dropped Python 3.9 support, causing hatch env
creation to fail with 'propose_interpreters' attribute error.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
@ajalon1 ajalon1 marked this pull request as draft April 6, 2026 20:42
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