-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
internal library dosen't get version from git repo #5617
Comments
May be related to python-poetry/poetry-core#325 and an incorrect call of |
@ericman93 Can you please try the version on master? Using pipxpipx install --suffix=@git --force 'poetry @ git+https://github.com/python-poetry/poetry.git'
poetry@git lock
poetry@git install Using a container (podman | docker)podman run --rm -i --entrypoint bash docker.io/python:3.10 <<EOF
set -xe
python -m pip install --disable-pip-version-check -q git+https://github.com/python-poetry/poetry.git
# try your poetry commands here
EOF |
I got this error
By the way, before having the final error I had got
|
@ericman93 I think that is #5682 |
#5782 relates to the 404 (not an issue, just asked if this is a new feature) or to the AssertionError? |
Ah I misunderstood your comment. The assertion error looks like it's the solver, that scenario should work but will have to look more closely. Do you have the |
|
Maybe also the bits above the stack trace as well. |
|
@abn Happens for me without any internal library
|
@ronlut if you have a repro that does not require private libraries and repositories please share your |
@dimbleby Thanks for the comment, actually now I tried pinning down the problem and it stops working as soon as I even add a private registry (source), without any library from the private registry. What interesting though, is if I remove the So I think the problem is a declaration of a private registry with EDIT: actually, I think it is even not consistent. I ran poetry update 3 times with private source and |
absent a way of reproducing this, we can guess that it's the same as #5791 (which did give a repro) |
tried with
after deleting |
You still have not provided a way to reproduce this. I see that your log has reached scikit-learn 0.22.2.post1 when it falls over, the post-release here is consistent with this being the same thing as #5791 NB the fix was in poetry-core, not poetry, so if you are trying to test the fix it is poetry-core that you will need to update |
it finally ran until
and after running it again it failed for different reason
I'm trying to reproduce it with open repo but with no luck |
I removed the problematic sckitlearn package and now the solving is finishes successfully 100% of the time
but reading the
right after locking the file, I see those logs (and those are the only libs with extras)
Albus's pyproject
pyproject of the repo I'm trying to update
full logs are attached @dimbleby still no repo but a major update |
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).OS version and name: MacOS 11.1 (20C69)
Poetry version:
1.1.13
(tried also on1.2.0b1
)Issue
I have a repo
A
that is using 2 other reposB
andC
C
is also usingB
A's pyproject.toml
B's pyproject.toml (in
my-branch
branch)C's pyproject.toml
The current versions of
B
in my PyPI server are(0.30.0 || 0.30.1 || 0.30.2 || 0.30.3 || 0.30.4)
It seems that when locking
C
insideA
, C's not awareB
's version is acceptableI tried to publish
my-branch
as a beta branch, changedA
's to use this version, and still had the same issueThe text was updated successfully, but these errors were encountered: