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

Parse dependencies with no markers from core metadata #165

Merged
merged 4 commits into from
Jul 23, 2024

Conversation

diazona
Copy link
Owner

@diazona diazona commented Jul 22, 2024

In our test support code that parses the core metadata of a package, it turns out I had totally forgotten to parse dependencies which do not have any markers. This PR adds a branch to do that and updates the expected test results accordingly. I also added some logging messages which were helpful in diagnosing the problem.

@diazona diazona added this to the v0.3 milestone Jul 22, 2024
@diazona diazona linked an issue Jul 22, 2024 that may be closed by this pull request
diazona added 4 commits July 21, 2024 23:05
These new log messages help us get better visibility into what our test
support code is doing, which should be useful when tracking down bugs.
In our test support code that parses the core metadata of a package, it
turns out I had totally forgotten to parse dependencies which do not
have any markers. This commit adds a branch to do that.
Now that our test support code properly handles dependencies with no
markers, the dependency-related tests in our external project test
suite are passing, so I've removed their xfail markers.

Note that one of these xfailures was marked as being related to
issue #135, but that's a typo, they are both related to issue #133.
Since I'm removing the xfail markers anyway, I didn't bother to fix
it before deleting it.
@diazona diazona force-pushed the handle-dependencies-without-markers/1/dev branch from aa6b2fa to 7a4eecc Compare July 22, 2024 06:05
@diazona diazona marked this pull request as ready for review July 22, 2024 06:05
@diazona diazona requested a review from sjlongland July 22, 2024 06:05
@sjlongland sjlongland merged commit 68450bb into main Jul 23, 2024
12 checks passed
@sjlongland sjlongland deleted the handle-dependencies-without-markers/1/dev branch July 23, 2024 03:22
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.

Wrong dependencies computed for pytest
2 participants