Skip to content
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

Updates to python test packages #44272

Closed
wants to merge 12 commits into from
Closed

Conversation

tornaria
Copy link
Contributor

@tornaria tornaria commented Jun 5, 2023

Testing the changes

  • I tested the changes in this PR: briefly

Mostly taken from #44160, this updates several packages used for testing:

  • python3-coverage: update to 7.2.7.
  • python3-flaky: update to 3.7.0.
  • python3-hypothesis: update to 6.76.0.
  • python3-mock: update to 5.0.2.
  • python3-pytest-asyncio: update to 0.21.0.
  • python3-pytest-cov: update to 4.1.0.
  • python3-pytest-mock: update to 3.10.0.
  • python3-pytest-xdist: enable tests.
  • python3-testpath: update to 0.6.0.

There are also 3 new packages:

  • python3-process-tests-2.1.2, needed to check pytest-cov
  • python3-pytest-console-scripts-1.4.1, need to check jupyter_server
  • python3-pytest-trio-0.8.0, need to check pytest-asyncio

@tornaria
Copy link
Contributor Author

tornaria commented Jun 5, 2023

Force push: disabled two tests in python3-pytest-asyncio which fail on CI (due to binding to a tcp address).

@tornaria
Copy link
Contributor Author

tornaria commented Jun 6, 2023

Major changes from previous version:

  • changelog entries are replaced by the direct link
  • explicitly depend on python3-setuptools, not just via python3-wheel
  • python3-pytest-trio no longer needs a venv for testing (uses the trick from python3-ipython: update to 8.14.0. #44268, i.e., set PYTHONPATH=.)
  • python3-coverage and python3-pytest-cov still test in a venv; if using PYTHONPATH some tests will fail

@ahesford comments welcome

ahesford pushed a commit to ahesford/void-packages that referenced this pull request Jun 9, 2023
@ahesford ahesford closed this in 0c27fc3 Jun 9, 2023
sirkhancision pushed a commit to sirkhancision/void-packages that referenced this pull request Jun 10, 2023
sirkhancision pushed a commit to sirkhancision/void-packages that referenced this pull request Jun 12, 2023
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.

None yet

3 participants