Coder Social home page Coder Social logo

Comments (8)

RonnyPfannschmidt avatar RonnyPfannschmidt commented on July 29, 2024

this is a bug i also just recently noticed, pipsi currently expects to install pypi packages, with optional version specs

the solution is of course not to do requirement parsing in the case an actual path is involved
however this brings us to a very dire problem

if a path is used, pipsi has no idea what package i did just install

this is a fundamental shortcoming i hope we can tackle after #52 is solved

from pipsi.

RonnyPfannschmidt avatar RonnyPfannschmidt commented on July 29, 2024

on further investigation it seems i might be misstaken

from pipsi.

RonnyPfannschmidt avatar RonnyPfannschmidt commented on July 29, 2024

xonsh printing the logo completely breaks expected tooling behaviour

from pipsi.

untitaker avatar untitaker commented on July 29, 2024

We had a similar issue in khal because its setup.py created (used to create) a version.py and printed debugging information.

from pipsi.

scopatz avatar scopatz commented on July 29, 2024

@untitaker, I agree. I don't think that this is xonsh-specific issue. I could not find anything in the Python setup.py docs that disallows the setup script from taking other actions (such as printing) other than calling the setup() function. Forcing all packages into this mode is probably not a sustainable system, given how many packages there are.

Other tools like conda build and pip itself handle setup.py files that print extra information without error.

I am happy to help implement another hook in xonsh to find the package name, if you let me know what to do. I want my tool to work with your tool. Maybe a pipsi config file would be beneficial?

from pipsi.

RonnyPfannschmidt avatar RonnyPfannschmidt commented on July 29, 2024

pip forces setuptools onto all packages and extracts the first egg_info it finds,
such hack is a rather complex pain,
it tends to be way more sustainable to just report issues to packages that play the fancy card because they can,
because one of the reasons why packaging is such a mess is because packages to whatever they want if they can

from pipsi.

untitaker avatar untitaker commented on July 29, 2024

I don't think this is an issue that can be fixed in pipsi. Packages that break like this have to be fixed.

from pipsi.

RonnyPfannschmidt avatar RonnyPfannschmidt commented on July 29, 2024

actually i fixed 1-2 weeks ago (xonsh)

from pipsi.

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.