New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python3-coverage: update to 7.2.1 #42735
Conversation
The result of running the tests.
|
Any suggestions though on fixing the tests? make_check=no was there before on the 5.x version too. |
You might need to replicate the upstream test workflow for the tests to run properly https://github.com/nedbat/coveragepy/blob/7.2.1/tox.ini#L35-L48 |
build_style=python3-module | ||
hostmakedepends="python3-setuptools" | ||
makedepends="python3-devel" | ||
depends="python3-setuptools" | ||
checkdepends="python3-pytest-xdist python3-flaky python3-unittest-mixins" | ||
short_desc="Code coverage testing for Python3" | ||
maintainer="Orphaned <orphan@voidlinux.org>" | ||
maintainer="Jason Manley <jason@jasondavid.tv>" | ||
license="Apache-2.0" | ||
homepage="https://bitbucket.org/ned/coveragepy" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
homepage="https://bitbucket.org/ned/coveragepy" | |
homepage="https://github.com/nedbat/coveragepy" | |
changelog="https://raw.githubusercontent.com/nedbat/coveragepy/master/CHANGES.rst" |
@@ -1,17 +1,16 @@ | |||
# Template file for 'python3-coverage' | |||
pkgname=python3-coverage | |||
version=5.0.3 | |||
revision=5 | |||
version=7.2.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.2 is available
@@ -1,16 +0,0 @@ | |||
--- a/setup.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this patch is still needed: https://github.com/void-linux/void-packages/actions/runs/4400142292/jobs/7705163969?pr=42735#step:9:20
it will need to be adapted to the new version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The patch could be replaced with the equivalent:
post_install() {
# remove versioned scripts (keep only /usr/bin/coverage)
rm ${DESTDIR}/usr/bin/coverage3
rm ${DESTDIR}/usr/bin/coverage-${py3_ver}
}
Testing the changes
Local build testing