Giter Club home page Giter Club logo

Comments (4)

DanielYang59 avatar DanielYang59 commented on June 14, 2024 2

We don't install typing_extensions in CI but one of our optional dependencies must.

Could be (just guess, didn't check).

So we didn't see the error but #3646 by @ml-evs would have caught this which is why I'm eager to get it merged. Sadly, lots of legacy issues in the way. maybe it makes sense to split out a PR that only adds minimal dependency checking and do all the type stuff in #3646 separately.

Yes I just had a look and there are 700+ pyright errors. It's certainly too much work for a single person and I would see if I could give him a hand on that.

from pymatgen.

janosh avatar janosh commented on June 14, 2024 1

Mistakes happen. It's not a big deal especially if we fix them quickly.

We don't install typing_extensions in CI but one of our optional dependencies must. Which means it's available in our CI but not necessarily available in others CI or local machines. So we didn't see the error but #3646 by @ml-evs would have caught this which is why I'm eager to get it merged. Sadly, lots of legacy issues in the way. maybe it makes sense to split out a PR that only adds minimal dependency checking and do all the type stuff in #3646 separately.

from pymatgen.

janosh avatar janosh commented on June 14, 2024 1

Help with fixing pyright issues would be hugely appreciated!

from pymatgen.

DanielYang59 avatar DanielYang59 commented on June 14, 2024

Thanks for fixing! Just tracked them down and found these were added in 2adde29 (guess we were both too distracted because there were just too many mypy errors), and wondering why unit tests didn't capture such errors (we don't explicitly install typing_extensions in our CI too)?

from pymatgen.

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.