Skip to content

Unpinning CI dependencies#3503

Merged
IAlibay merged 5 commits intodevelopfrom
unhardcode-CI
Jun 13, 2022
Merged

Unpinning CI dependencies#3503
IAlibay merged 5 commits intodevelopfrom
unhardcode-CI

Conversation

@IAlibay
Copy link
Member

@IAlibay IAlibay commented Jan 16, 2022

Fixes #3372

Now that we've fixed sphinx issues, let's see if we can unhardcode CI dependencies - fixing this is a priority to allow folks downstream to properly build develop version of MDA.

Changes made in this Pull Request:

  • unpin coverage and pytest-cov

PR Checklist

  • Tests?
  • Docs?
  • CHANGELOG updated?
  • Issue raised/referenced?

@codecov
Copy link

codecov bot commented Jan 16, 2022

Codecov Report

Merging #3503 (6c268e6) into develop (d7e7276) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           develop    #3503    +/-   ##
=========================================
  Coverage    94.35%   94.35%            
=========================================
  Files          191      191            
  Lines        24985    24985            
  Branches      3375     3798   +423     
=========================================
  Hits         23575    23575            
  Misses        1362     1362            
  Partials        48       48            

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d7e7276...6c268e6. Read the comment docs.

@IAlibay IAlibay changed the title [WIP] try unpinning dependencies Unpinning CI dependencies Jun 11, 2022
*/MDAnalysis/tests/*
*/legacy/*
*/due.py
concurrency = thread, multiprocessing
Copy link
Member Author

Choose a reason for hiding this comment

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

Since we use some multiprocessing in our code, we should include this I think (see: https://coverage.readthedocs.io/en/latest/config.html#run-concurrency)

Copy link
Member

Choose a reason for hiding this comment

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

thanks for linking the docs, I agree

PYTEST_FLAGS="--disable-pytest-warnings --durations=50"
if [ ${{ matrix.codecov }} = "true" ]; then
PYTEST_FLAGS="${PYTEST_FLAGS} --cov=MDAnalysis --cov-report=xml"
PYTEST_FLAGS="${PYTEST_FLAGS} --cov-config=.coveragerc --cov=MDAnalysis --cov-report=xml"
Copy link
Member Author

Choose a reason for hiding this comment

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

So it's not strictly necessary but we have multiple coveragerc files knocking about in the repo (I have another PR open looking to fix that) and I want to make 100% sure we're picking up the right thing.

Copy link
Member

Choose a reason for hiding this comment

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

Better explicit than implicit.

(I was thinking even ./.coveragerc but that seems too much.)

@IAlibay
Copy link
Member Author

IAlibay commented Jun 11, 2022

This is a reasonable simple one that was giving us headaches with py37, but now that we ditched it, seems like CI is happy

@IAlibay IAlibay requested a review from orbeckst June 11, 2022 08:37
@IAlibay
Copy link
Member Author

IAlibay commented Jun 11, 2022

INTERNALERROR> coverage.exceptions.DataError: Conflicting file tracer name for '/home/runner/work/mdanalysis/mdanalysis/package/MDAnalysis/lib/_cutil.pyx': 'Cython.Coverage.Plugin' vs ''

this will need a bit more thought I think

Copy link
Member

@orbeckst orbeckst left a comment

Choose a reason for hiding this comment

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

LGTM & CI is happy.

*/MDAnalysis/tests/*
*/legacy/*
*/due.py
concurrency = thread, multiprocessing
Copy link
Member

Choose a reason for hiding this comment

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

thanks for linking the docs, I agree

PYTEST_FLAGS="--disable-pytest-warnings --durations=50"
if [ ${{ matrix.codecov }} = "true" ]; then
PYTEST_FLAGS="${PYTEST_FLAGS} --cov=MDAnalysis --cov-report=xml"
PYTEST_FLAGS="${PYTEST_FLAGS} --cov-config=.coveragerc --cov=MDAnalysis --cov-report=xml"
Copy link
Member

Choose a reason for hiding this comment

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

Better explicit than implicit.

(I was thinking even ./.coveragerc but that seems too much.)

@IAlibay IAlibay merged commit ec5da1d into develop Jun 13, 2022
@IAlibay IAlibay deleted the unhardcode-CI branch June 13, 2022 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Investigate pins for various CI components (pytest-cov, coverage, msmb_theme)

2 participants