Giter Site home page Giter Site logo

Comments (6)

leggewie avatar leggewie commented on June 21, 2024 1

It turns out that I was using poetry the wrong way, apparently, by creating a venv, installing it there, activating the venv and then running poetry from the venv. Apparently, that's a no-no. I did this so as not to mess up the python packages installed via apt to /usr/lib/python3 and pip to ~/.local/ That's enough of a mess to deal with by itself.

Closing as invalid.

from mail-deduplicate.

kdeldycke avatar kdeldycke commented on June 21, 2024

Thanks @leggewie for providing the detailed context.

You're right about pip being special. If it is the go-to solution to install packages in the Python ecosystem, it was not always the case. And might not be in the future. Adding pip is going to forces onto the user the choice of package manager. People gets very opinionated about package managers, and there are some alternatives out there: Conda, pipx, apt, ...

So unless we call code or functions implemented in pip, the Python package, there is no need to add pip as a direct dependency to our project.

That being said, we can still amend the documentation and installation instruction to provide guidance to new users on how to install the project in a particular environment (Bionic in your case).

from mail-deduplicate.

leggewie avatar leggewie commented on June 21, 2024

Somehow, I don't like the idea of pushing this out to documentation. I'm sure there is a way within this project or possibly poetry to make the problem transparent to the user or throw a more meaningful error.

I am a seasoned debian/ubuntu admin and package maintainer with decades of experience, but my python foo is a bit more recent than that. If there is more than one python package manager (akin to apt/aptitude/dpkg/yum/dnf), I'd like to find out where the difference is in pip v9 vs v20 that triggers this problem.

from mail-deduplicate.

leggewie avatar leggewie commented on June 21, 2024

gosh, poetry has almost 200 open PRs and several pages of open bugs with the word platform.

Yes, very overwhelming indeed. Referencing this bug that appears to be most closely related (I really have no idea ATM, though).

from mail-deduplicate.

leggewie avatar leggewie commented on June 21, 2024

Again, I am not so well-versed with how python packages stuff. Is it possible for poetry to say that they need at least a certain version of pip? IOW, declare a versioned compile-time dependency? How about specifying alternative dependencies?

In Debian (are you on Debian, respectively a derivative?), I would specify "Depends: pip >= 123 | conda | pipx >= 345" in the debian/control file to solve this problem.

from mail-deduplicate.

github-actions avatar github-actions commented on June 21, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from mail-deduplicate.

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.