Skip to content

build: update packaging files to use PEP 517/518 tooling after setup.py removal - #17

Closed
igaw with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-review-comment-3804462438
Closed

build: update packaging files to use PEP 517/518 tooling after setup.py removal#17
igaw with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-review-comment-3804462438

Conversation

Copilot AI commented Aug 18, 2026

Copy link
Copy Markdown

debian/rules, rpm/nvmetcli.spec.tmpl, README, and bump-ver.sh all referenced setup.py which was replaced by pyproject.toml, breaking distro builds and the version-bump workflow.

Changes

  • debian/rules — replace python setup.py build/install with python3 -m build / pip3 install; switch --with python2--with python3
  • rpm/nvmetcli.spec.tmpl — update BuildRequires to python3-devel/pip/build; replace %{__python} setup.py invocations with %{__python3} -m build and pip3 install
  • bump-ver.sh — retarget version sed to pyproject.toml (version = "...") and update git add
  • README — update install instruction from setup.py to pip install .

Update debian/rules, rpm/nvmetcli.spec.tmpl, README, and bump-ver.sh
to use python3 -m build / pip3 install instead of setup.py, since
setup.py has been replaced by pyproject.toml.

Co-authored-by: igaw <1050803+igaw@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix code based on review comment 3804462438 build: update packaging files to use PEP 517/518 tooling after setup.py removal Aug 18, 2026
Copilot AI requested a review from igaw August 18, 2026 13:30
@igaw igaw closed this Aug 18, 2026
@igaw
igaw deleted the copilot/fix-review-comment-3804462438 branch August 18, 2026 14:55
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.

2 participants