Git Product home page Git Product logo

Comments (4)

TAdeJong avatar TAdeJong commented on July 27, 2024 1

readthedocs ... update your packages ... or to pin dependency versions

Could you expand on this? What problems were you having?

Looking back probably more nbsphinx related than readthedocs directly, but I had a weird internal error for the latex rendering on sphinx=4.1.2, which was newer than what I had locally, and ended up pinning on 3.5.4, I missed 2 non-obvious dependencies (because of course I already locally had added matplotlib to my env) and then a newer matplotlib version on readthedocs decided to throw an error my older local version didn't throw.

Nothing crazily unexpected, and all fixable, but the warning to carefully check env versions and requirements beforehand would have saved me quite some googling headache and awkward extra commits :-)

from website.

jacobtomlinson avatar jacobtomlinson commented on July 27, 2024 1

Just came across this series again.

Yay! Yeah I was also setting up a new project yesterday and did it all with pyproject.toml. Maybe this series is due an update.

I would probably also use ruff over many of the linting tools I used to use.

from website.

jacobtomlinson avatar jacobtomlinson commented on July 27, 2024

Thanks for the feedback this is really helpful!

codecov

Awesome that's a quick fix.

napoleon

Yeah I need to go back and add that.

readthedocs ... update your packages ... or to pin dependency versions

Could you expand on this? What problems were you having?

pyproject.toml

I've heard a little about pyproject.toml but I've never used it in a project. I'm aware that the current trend is to move static metadata out of setup.py and into setup.cfg. I should get more familiar with this and then go back and update things.

from website.

jsignell avatar jsignell commented on July 27, 2024

Just came across this series again. It's great Jacob! Having just set up a new project for the first time in a while it seems like the current trend it to just have a pyproject.toml and not a setup.cfg or a setup.py

from website.

Related Issues (19)

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.