chaos testing: cannot install distribusi #5

Closed
opened 3 years ago by decentral1se · 4 comments

pip install -r requirements.txt errors out with:

ERROR: Project distribusi from git+https://git.vvvvvvaria.org/crunk/distribusi-verse.git@1a50898d216ae95c3eb9c144bb7ec678e638daa6#egg=distribusi (from -r requirements.txt (line 8)) has a 'pyproject.toml' and its build backend is missing the 'build_editable' hook. Since it does not have a 'setup.py' nor a 'setup.cfg', it cannot be installed in editable mode. Consider using a build backend that supports PEP 660.

If I:

diff --git a/requirements.txt b/requirements.txt
index 0d66cbf..125c78a 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -5,7 +5,7 @@ black==21.11b1
 blinker==1.4
 cffi==1.15.0
 click==8.0.3
--e git+https://git.vvvvvvaria.org/crunk/distribusi-verse.git@1a50898d216ae95c3eb9c144bb7ec678e638daa6#egg=distribusi
+git+https://git.vvvvvvaria.org/crunk/distribusi-verse.git@1a50898d216ae95c3eb9c144bb7ec678e638daa6#egg=distribusi
 dnspython==2.1.0
 email-validator==1.1.3
 Flask==2.0.2

Then I get:

...
  WARNING: Generating metadata for package distribusi produced metadata for project name unknown. Fix your #egg=distribusi fragments.
WARNING: Discarding git+https://git.vvvvvvaria.org/crunk/distribusi-verse.git@1a50898d216ae95c3eb9c144bb7ec678e638daa6#egg=distribusi. Requested unknown from git+https://git.vvvvvvaria.org/crunk/distribusi-verse.git@1a50898d216ae95c3eb9c144bb7ec678e638daa6#egg=distribusi (from -r requirements.txt (line 8)) has inconsistent name: filename has 'distribusi', but metadata has 'unknown'
...
ERROR: Could not find a version that satisfies the requirement distribusi (unavailable) (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.7, 0.0.8, 0.0.9, 0.0.10)
ERROR: No matching distribution found for distribusi (unavailable)

Retried from a clean venv, no luck.

Then I just ran pip install git+https://git.vvvvvvaria.org/varia/distribusi and it worked?

🤷‍♂️

`pip install -r requirements.txt` errors out with: ``` ERROR: Project distribusi from git+https://git.vvvvvvaria.org/crunk/distribusi-verse.git@1a50898d216ae95c3eb9c144bb7ec678e638daa6#egg=distribusi (from -r requirements.txt (line 8)) has a 'pyproject.toml' and its build backend is missing the 'build_editable' hook. Since it does not have a 'setup.py' nor a 'setup.cfg', it cannot be installed in editable mode. Consider using a build backend that supports PEP 660. ``` If I: ```diff diff --git a/requirements.txt b/requirements.txt index 0d66cbf..125c78a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ black==21.11b1 blinker==1.4 cffi==1.15.0 click==8.0.3 --e git+https://git.vvvvvvaria.org/crunk/distribusi-verse.git@1a50898d216ae95c3eb9c144bb7ec678e638daa6#egg=distribusi +git+https://git.vvvvvvaria.org/crunk/distribusi-verse.git@1a50898d216ae95c3eb9c144bb7ec678e638daa6#egg=distribusi dnspython==2.1.0 email-validator==1.1.3 Flask==2.0.2 ``` Then I get: ``` ... WARNING: Generating metadata for package distribusi produced metadata for project name unknown. Fix your #egg=distribusi fragments. WARNING: Discarding git+https://git.vvvvvvaria.org/crunk/distribusi-verse.git@1a50898d216ae95c3eb9c144bb7ec678e638daa6#egg=distribusi. Requested unknown from git+https://git.vvvvvvaria.org/crunk/distribusi-verse.git@1a50898d216ae95c3eb9c144bb7ec678e638daa6#egg=distribusi (from -r requirements.txt (line 8)) has inconsistent name: filename has 'distribusi', but metadata has 'unknown' ... ERROR: Could not find a version that satisfies the requirement distribusi (unavailable) (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.7, 0.0.8, 0.0.9, 0.0.10) ERROR: No matching distribution found for distribusi (unavailable) ``` Retried from a clean venv, no luck. Then I just ran `pip install git+https://git.vvvvvvaria.org/varia/distribusi` and it worked? 🤷‍♂️
Poster

pip 21.3.1 after pip install-U pip.

`pip 21.3.1` after `pip install-U pip`.
Owner

Yes, this doesn't seem trivial at all, installing on a different machine now.
It btw, doesn't get the contents of the git submodule, so maybe the problem is there?

I think I need a day to focus on understanding, git submodules and pip installing these things.

How do you even make a setup.cfg or setup.py file etc.

Yes, this doesn't seem trivial at all, installing on a different machine now. It btw, doesn't get the contents of the git submodule, so maybe the problem is there? I think I need a day to focus on understanding, git submodules and pip installing these things. How do you even make a setup.cfg or setup.py file etc.
Owner

Last time installing it on the VPS, it worked with the current requirements file.
could use some further investigation on how this should actually work.

Last time installing it on the VPS, it worked with the current requirements file. could use some further investigation on how this should actually work.
Poster

Great! We can close this off sure.

Great! We can close this off sure.
decentral1se closed this issue 3 years ago
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.