Skip to content

Commit

Permalink
Merge pull request #1581 from twisted/10171-pypy-coverage-run
Browse files Browse the repository at this point in the history
Merge pull request #123 from twisted/4356-branch-name-with-trac-id

Author: adiroiban
Reviewer: altendky 
Fixes: ticket:10171

Fix coverage run on PYPY due to SQLite error by using an unreleased python coverage version.
  • Loading branch information
adiroiban committed Apr 10, 2021
2 parents b3cf4b5 + 4b6f421 commit 8e23448
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ dev =
# TODO: support python-subunit in py3.10 https://twistedmatrix.com/trac/ticket/10115
python-subunit ~= 1.4; python_version < "3.10"
twistedchecker ~= 0.7
coverage ~= 5.5
# To be pinned to a minor version once PYPY `coverage run` error is fixed.
# See: https://twistedmatrix.com/trac/ticket/10171
coverage

tls =
pyopenssl >= 16.0.0
Expand Down
Empty file.
5 changes: 5 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ extras =
;; dependencies that are not specified as extras
deps =
lint: pre-commit
# For now we use a dev version of coverage with a fix for `coverage run`
# on PYPY.
# This should be moved
# See: https://twistedmatrix.com/trac/ticket/10171
withcov: https://github.com/nedbat/coveragepy/archive/refs/heads/nedbat/another-1010.zip

; All environment variables are passed.
passenv = *
Expand Down

0 comments on commit 8e23448

Please sign in to comment.