Comments (9)
does not reproduce - as expected I see an error about connecting to "my_repo" but no sign of the error that you are reporting
$ poetry publish --build -r my_repo
Building Foo (0)
- Building sdist
- Built foo-0.tar.gz
- Building wheel
- Built foo-0-py3-none-any.whl
Publishing Foo (0) to my_repo
- Uploading foo-0-py3-none-any.whl FAILED
Connection Error: We were unable to connect to the repository, ensure the url is correct and can be reached.
please provide a way to reproduce
from poetry.
I don't know how else I should reproduce apart from the code above, since it's the one causing the error.
If I remove the torch-gpu-linux
source (and just have torch="2.3.0"
) it works fine
from poetry.
maybe provide a dockerfile in which the error happens, then we should get past any "works on my computer" differences
(still works on my computer, though!)
from poetry.
Just being curious; if you use the "-vvv" flag for publish, is "pytorch-gpu" only being added once?
from poetry.
For some odd reason, changing the version from "0" to "1" in my .toml
file seemed to work. I also added "PyPI" as source for the "darwin" source, thus I don't know which of them did the trick but .. 🤷
from poetry.
perhaps you had previously made changes but forgot to hit "save"...
well anyway: I guess either provide a repro or close this out, please
from poetry.
It looks like it is adding torch-gpu-linux
twice because it is configured in the poetry config as a repository and the pyproject.toml as a source. Poetry merges these 2 at run time and that is probably why you are running into this specific issue. Remove it from the poetry config and try again.
from poetry.
It looks like it is adding
torch-gpu-linux
twice because it is configured in the poetry config as a repository and the pyproject.toml as a source. Poetry merges these 2 at run time and that is probably why you are running into this specific issue. Remove it from the poetry config and try again.
Where is the poetry config? I have only modified the pyproject.toml
from poetry.
I always forget where it is but it doesn't matter, you can modify and see the contents using the 'poetry config' command.
'poetry config --unset repositories.' should do it I think.
from poetry.
Related Issues (20)
- Option to always create `src` folder when using `poetry new` command HOT 1
- Adding configuration for using --lock by default HOT 2
- `poetry install` run under pre-commit hook does not apply changes. HOT 7
- Confusing error message with duplicate package specification HOT 12
- The abnormal poetry shell exit led to a sustained 100% CPU utilization. HOT 9
- Installation issue with `pipx` on macOS?
- Changelog for 1.8.3 references wrong PR
- SVN support HOT 3
- poetry with "vcrpy==6.0.1" and "urllib=*" requirements does NOT install urllib3>2 because of vcrpy's platform-specific marker that should be ignored on CPython 3.10 HOT 6
- No module named 'packaging.metadata' HOT 3
- SyntaxError when attempting to uninstall from install script HOT 3
- Restrictions coming from dependencies not in the main group are not considered HOT 1
- poetry show --why truncates columns if output is too wide HOT 2
- `poetry -C path/to/project add package` installs package with relative path to python interpreter
- Poetry stuck on install and update HOT 1
- Poetry fails to resolve some dependencies from source with simple API only HOT 3
- force revalidate cache when package with version not found in cache/ HOT 3
- Add ability to configure ephemeral environment location HOT 5
- Has anyone seen this error "No virtualenv implementation" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poetry.