Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Install a patched version of pytest on CircleCI #477

Closed
wants to merge 1 commit into from
Closed

Install a patched version of pytest on CircleCI #477

wants to merge 1 commit into from

Conversation

horizon-blue
Copy link
Contributor

Summary: As titled. Currently pytest's import-mode=importlib option does not add the test file to sys.module, which can break some of the use cases. While the community has came up with a fix, it's not yet clear when the particular PR will be merged and added to the latest pytest. So in the meanwhile, we could download and use the patched version by directly from the PR so we are not blocked.

Differential Revision: D25480894

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Dec 10, 2020
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D25480894

2 similar comments
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D25480894

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D25480894

Summary:
Pull Request resolved: #477

As titled. Currently pytest's `import-mode=importlib` option does not add the test file to `sys.module`, which can break some of the use cases. While [the community has came up with a fix](pytest-dev/pytest#7870), it's not yet clear when the particular PR will be merged and added to the latest pytest. So in the meanwhile, we could download and use the patched version by directly from the PR so we are not blocked.

Differential Revision: D25480894

fbshipit-source-id: 761b882179d39b7919088a787b6c10e2e03abb77
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D25480894

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 14b49f9.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants