Skip to content

Conversation

@elbeno
Copy link
Contributor

@elbeno elbeno commented Oct 21, 2024

No description provided.

@elbeno elbeno force-pushed the remove-pytest-forked branch 5 times, most recently from bf912a7 to 55a09d3 Compare October 21, 2024 21:00
Copy link
Contributor

@lukevalenty lukevalenty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: why remove pytest-forked?

@elbeno
Copy link
Contributor Author

elbeno commented Oct 21, 2024

We don't need it. According to the docs, it's just an unmaintained fork of part of pytest-xdist. And it pulls in a version of py which is getting flagged with a CVE.

@elbeno elbeno enabled auto-merge October 21, 2024 21:51
Problem:
- pytest-forked (https://pypi.org/project/pytest-forked/) is basically orphaned
  and unmaintained. Instead,
  pytest-xdist (https://pypi.org/project/pytest-xdist/) provides the ability to
  spread tests across CPUs.

Solution:
- Replace pytest-forked with pytest-xdist
Problem:
- Repositories that have python tests need to provide their own
  `requirements.txt` to drive `pip install`.

Solution:
- Provide a `requirements.txt` that will enable running python tests.
@elbeno elbeno force-pushed the remove-pytest-forked branch from 55a09d3 to 5b01e22 Compare October 23, 2024 20:53
@elbeno elbeno merged commit f423a3e into intel:dev Oct 23, 2024
5 checks passed
@elbeno elbeno deleted the remove-pytest-forked branch October 24, 2024 14:48
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.

3 participants