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

Install basetest requirements for unpinned test. #123

Merged
merged 2 commits into from
Jan 5, 2024

Conversation

YooSunYoung
Copy link
Member

The package requirements doesn't have all required dependencies for tests.

For example, beamlime unpinned test failed since it was using extra packages for tests: https://github.com/scipp/beamlime/actions/runs/7374353847/job/20064645129

So... does it make sense to install basetest.txt for unpinned tests...?

Copy link
Member

@SimonHeybrock SimonHeybrock left a comment

Choose a reason for hiding this comment

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

This should work, as long as we do not add things to basetest that cause unintentional pinning of the dependencies we care about.

@@ -15,6 +15,7 @@ commands = pytest
[testenv:unpinned]
description = Test with unpinned dependencies, as a user would install now.
deps =
-r requirements/basetest.txt
{{projectname}}
pytest
Copy link
Member

Choose a reason for hiding this comment

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

Can remove this now?

@YooSunYoung YooSunYoung merged commit bba4103 into main Jan 5, 2024
2 checks passed
@YooSunYoung YooSunYoung deleted the unpinned-tox-test branch January 5, 2024 08:36
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.

2 participants