Giter Club home page Giter Club logo

Comments (4)

pjbollinger avatar pjbollinger commented on June 15, 2024 1

@raucao Looking at the last successful build logs and the first failed build logs, I'm noticing that Sphinx is being automatically upgraded from 4.3.2 to 4.4.0. This matches with the release history of Sphinx: https://pypi.org/project/Sphinx/#history

As a quick fix, you could pin just Sphinx in doc/requirements.txt like so:

sphinx==4.3.2

I made a PR here: #1263

A longer term fix, we could have two different requirements.txt files. One where you specify the base requirements needed, let's call it requirements-simple.txt. And then requirements.txt would contain a frozen list of all dependencies. Think of it like having dependencies defined in a package.json file vs a package-lock.json file in JS. I've started to use this approach recently for new Python projects because dependency upgrades can be painful as we see here. 😆

and/or

We could figure out why the error is coming up in the first place so the docs can live longer and not be tied down to a specific version. 😅

from remotestorage.js.

pjbollinger avatar pjbollinger commented on June 15, 2024 1

After more research, I did discover this comment: pypa/setuptools#2548 (comment)

I opened a new PR #1264. If it works, I will close the other one, since this new PR is a more favorable solution. Freezing dependencies wouldn't be a bad thing to do if you didn't want to worry about random builds failing due to updates.

from remotestorage.js.

raucao avatar raucao commented on June 15, 2024

... had a quick look at https://github.com/readthedocs/readthedocs-docker-images and it doesn't seem like there are any recent changes to the images.

from remotestorage.js.

raucao avatar raucao commented on June 15, 2024

Yeah, I think freezing dependency versions is not a bad idea. We don't usually want to touch the documentation build process outside of planned documentation setup upgrades, and the aren't really any considerable attack vectors I can think of when it comes to security there.

from remotestorage.js.

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.