Giter Site home page Giter Site logo

Cannot install from git about luna HOT 4 CLOSED

jeremyherbert avatar jeremyherbert commented on July 19, 2024
Cannot install from git

from luna.

Comments (4)

antoinevg avatar antoinevg commented on July 19, 2024

The plan moving forward is to stop using poetry entirely in favour of pip.

pip install . should be working at the moment against HEAD but it's good to know when it isn't!

Can you please provide a bit more info about your environment:

  • OS & version
  • Python version
  • Are you using a virtual environment tool such as virtualenv or pyenv ?

Environments I've tested and can confirm work from a fresh environment:

  • macOS 12 & 13, Ubuntu 22.04, Arch latest
  • Python 3.10 and 3.11, PyPy 3.9

from luna.

jeremyherbert avatar jeremyherbert commented on July 19, 2024

Hi,

Sorry, I should have provided that info earlier. I’m using Ubuntu 22.04 with python from the apt repo, 3.10. The only other things installed via pip are litex and amaranth (and their dependencies). No virtual environment, I’m running a separate VM with the fresh Ubuntu install so there isn’t really a need for one.

from luna.

antoinevg avatar antoinevg commented on July 19, 2024

Ah okay, this could indeed be related to the recent shift amaranth made to pyproject.toml.

There's an open PR which is related: #192

In the meantime you could try this change on your local requirements.txt to specify the package name manually:

- -e git+https://github.com/amaranth-lang/amaranth.git#egg=amaranth
+ amaranth -e git+https://github.com/amaranth-lang/amaranth.git#egg=amaranth

from luna.

jeremyherbert avatar jeremyherbert commented on July 19, 2024

Seems that this problem is related to pip 22 which ships with ubuntu by default. Upgrading to pip 23 and using the PR you mentioned works fine.

from luna.

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.