Skip to content
Snippets Groups Projects

Remove pytest-runner, use pypa build and installer

Closed Rafael Fontenelle requested to merge (removed):pytest-runner-removal into main
1 unresolved thread

Do pytest-runner removal, and use python-build and python-installer.

Note: pytest-runner was set as 'setup_requires' in setup.py, but it was unnecessary. pytest is already in test_requires.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
16 prepare() {
17 cd hypothesis-fspaths-$pkgver
18 # remove superfluous dependency from 'setup_requires'
19 sed -i '/pytest-runner/d' setup.py
20 }
21
15 22 build() {
16 23 cd hypothesis-fspaths-$pkgver
17 python setup.py build
24 python -m build --wheel --no-isolation
18 25 }
19 26
20 27 check() {
21 28 cd hypothesis-fspaths-$pkgver
22 python setup.py pytest
29 pytest -v
  • Confirmed the test suite passes and package builds in a clean chroot, thank you!

  • Nitpick resolved and merged.

  • Please register or sign in to reply
    Loading