Giter Site home page Giter Site logo

Comments (8)

bast avatar bast commented on August 27, 2024 1

OK false alarm. It seems pip was too old and I was surprised that it needs to be upgraded separately. Thanks for testing.

from sphinx-lesson.

bast avatar bast commented on August 27, 2024

I am on Python 3.9.2 and my local setuptools is 54.2.0 so the inconsistency seems to be arriving from the environment.

from sphinx-lesson.

samumantha avatar samumantha commented on August 27, 2024

Overread the python version and created a new conda environment with pip and the requirements for Python 3.9.4 which seems to be working, trying again with Python 3.9.2 now

from sphinx-lesson.

bast avatar bast commented on August 27, 2024

Interesting. Same problematic behavior for me installing only sphinx-lesson:

python -m venv venv
source venv/bin/activate
python -m pip install sphinx-lesson

from sphinx-lesson.

samumantha avatar samumantha commented on August 27, 2024

Same results with Python 3.9.2, I am on Ubuntu 20.04.2, and used conda to create an environment with Python 3.9.2, installed pip into it and then the requirements. Setup tools Version is 52.0.0 after this and sphinx-build runs without issues on the documentation lesson.

from sphinx-lesson.

rkdarst avatar rkdarst commented on August 27, 2024

do you know what your old and new versions of pip were?
I recently learned that pip basically doesn't resolve dependencies: it goes through and handles it top to bottom. I knew it was bad, but not that bad: https://stackoverflow.com/a/55826767
I had been meaning to research this more to see just what the situation is, but hadn't gotten around to it yet.

I see recent pip has been adding a new resolver but haven't yet learned a lot about it. It has all kind of implications for my crusade against unnecessary pinning of dependencies (does in not matter, since pip ignores them, and this is what makes pip fast compared to conda (implication: people pin dependencies but without cause, so it works even if they are not resolved? is it very important (snce pip can't handle them and will fail with a first-match algorithm? If the second, which that SO answer implies, why don't we see it more often?)

from sphinx-lesson.

bast avatar bast commented on August 27, 2024

My problematic old pip was 20.2.3. Problem disappeared with 21.0.1.

from sphinx-lesson.

bast avatar bast commented on August 27, 2024

After this I added this line to my ve alias: https://github.com/bast/config/blob/63eaa8cdfa85c6e7f68213ba70300511b0d6d992/omf/init.fish#L46

from sphinx-lesson.

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.