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

Fix pytest error due to deprecation warning #1101

Merged
merged 2 commits into from
Jul 22, 2023

Conversation

odelalleau
Copy link
Collaborator

@odelalleau odelalleau commented Jul 13, 2023

Fixes #1100

The fix is similar to what was done in facebookresearch/hydra#2696, instead of pinning a specific version of setuptools as in #1068

I'll mark this PR as draft since I still need to check if #1069 can be reverted now.
[Update: I double checked and we can indeed revert #1069 now, so adding it to this PR]

@odelalleau odelalleau marked this pull request as draft July 13, 2023 16:37
@odelalleau odelalleau marked this pull request as ready for review July 13, 2023 17:29
@odelalleau odelalleau requested a review from omry July 13, 2023 17:29
@odelalleau
Copy link
Collaborator Author

/poke @omry not sure if you've seen this

Copy link
Collaborator

@Jasha10 Jasha10 left a comment

Choose a reason for hiding this comment

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

Looks good to me! I like the idea of using pyproject.toml instead of noxfile.py. This way the pytest settings will take effect even when running pytest not via nox.

@omry
Copy link
Owner

omry commented Jul 22, 2023

lgtm

@odelalleau odelalleau merged commit 8065c7c into omry:master Jul 22, 2023
2 checks passed
@odelalleau odelalleau deleted the od/deprecation-warning branch July 22, 2023 13:47
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.

Tests fail due to DeprecationWarning: pkg_resources is deprecated as an API
3 participants