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

chg: dev: Use realpath for pytest plugin search paths #86

Merged
merged 2 commits into from Jun 4, 2020

Conversation

dajose
Copy link
Contributor

@dajose dajose commented May 28, 2020

Starting on pytest 3.9.2 pytest resolves symbolic links:
pytest-dev/pytest#4108

This causes an uncompatibility with the attribute injection feature
as the paths pytest sees (realpaths) differ from the injected_attr
(abspath) found on the topology_plugin.

I am not sure how this impacts #61

Also I am concerned, topology currently does not specify a particular pytest version and this only works for pytest > 3.9.2

Starting on pytest 3.9.2 pytest resolves symbolic links:
pytest-dev/pytest#4108

This causes an uncompatibility with the attribute injection feature
as the paths pytest sees (realpaths) differ from the injected_attr
(abspath) found on the topology_plugin.
@carlos-jenkins carlos-jenkins merged commit 1d0782b into master Jun 4, 2020
@carlos-jenkins carlos-jenkins deleted the upgrade_pytest branch June 4, 2020 23:39
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

2 participants