Skip to content

Force reinstall pytest during installation into monolithic CASA in case the pytest delivered is already up-to-date#118

Open
psheehan wants to merge 1 commit into
mainfrom
pip_install_monolithic_CASA_with_up_to_date_pytest
Open

Force reinstall pytest during installation into monolithic CASA in case the pytest delivered is already up-to-date#118
psheehan wants to merge 1 commit into
mainfrom
pip_install_monolithic_CASA_with_up_to_date_pytest

Conversation

@psheehan
Copy link
Copy Markdown
Collaborator

Using pytest within monolithic CASA requires replacing the version delivered with monolithic CASA. This is handled under-the-hood in the auto_selfcal.setup_monolithic_CASA function, but right now uses only --upgrade, assuming that the pytest version is out of date. If the pytest delivered with monolithic CASA is up-to-date, this will do nothing, and pytest remains broken. To remedy this, this PR adds the --force-reinstall flag to force pytest to be reinstalled, even if it is up-to-date already.

…se the pytest delivered is already up-to-date
@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
auto_selfcal/__init__.py 0.00% 1 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Files with missing lines Coverage Δ
auto_selfcal/__init__.py 40.00% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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