Giter Site home page Giter Site logo

Travis is gone about skrub HOT 5 CLOSED

skrub-data avatar skrub-data commented on May 23, 2024
Travis is gone

from skrub.

Comments (5)

alexis-cvetkov avatar alexis-cvetkov commented on May 23, 2024

The problem is that Travis cannot use the command codecov to measure the code coverage of the tests. Usually this package is installed with conda as defined in the .travis.yml file, but it is not the case anymore. When looking at https://travis-ci.org/github/dirty-cat/dirty_cat/builds/637915880 (line to 868 to 976), it seems that the coverage package is pinned to version <5, which prevent codecov from being installed.

image

I don't know how pinned specs are handled, for now a quick fix is to manually install codecov with pip install codecov in .travis.yml (see PR #109)

from skrub.

GaelVaroquaux avatar GaelVaroquaux commented on May 23, 2024

from skrub.

alexis-cvetkov avatar alexis-cvetkov commented on May 23, 2024

Yes, for some reason travis wasn't returning any error message on github. It's only on https://travis-ci.org/github/dirty-cat/dirty_cat that I was able to see that the build failed due to codecov. After modifying .travis.yml to install codecov manually, Travis notifications started to appear again on github.

from skrub.

GaelVaroquaux avatar GaelVaroquaux commented on May 23, 2024

from skrub.

alexis-cvetkov avatar alexis-cvetkov commented on May 23, 2024

After some digging, it appears that the 5.0 release of the coverage package broke some tests in astropy (astropy/astropy#9792). For now they decided to pin the version of coverage<5 in astropy/ci-helpers (astropy/ci-helpers#432).
When running Travis, coverage 5.0 is installed as a dependency of pytest-cov and codecov. Because of the pinning it is downgraded to 4.5.4, which entails the removing of codecov.

from skrub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.