You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our repos host part "bas-common.company.de" does not end with "pypi.org" end so # Assume devpi always hits
=> +simple is added which then causes 404 response
When i change the if clause to go into #PyPI everything works!
What can i do to be able to publish without changing hatch?
This is strange it did work before, but not anymore.
edit:
The request for the simple uri is catched by hatch, there is a 404 response but that is not the main cause.
If i put a sleep(1) before the index.upload_artifact(artifact, data) call in publish/index.py it works also.
Seems our artifactory server didnt handle/repsond properly! Nevermind
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to publish with hatch to our companies repo but it doesnt work.
hatch publish -r https://bas-common.company.de/artifactory/api/pypi/subpath -u user -a auth
Needed to debug hatch, from hatch/index/core.py:
Our repos host part "bas-common.company.de" does not end with "pypi.org" end so # Assume devpi always hits
=> +simple is added which then causes 404 response
When i change the if clause to go into #PyPI everything works!
What can i do to be able to publish without changing hatch?
This is strange it did work before, but not anymore.
edit:
The request for the simple uri is catched by hatch, there is a 404 response but that is not the main cause.
If i put a sleep(1) before the index.upload_artifact(artifact, data) call in publish/index.py it works also.
Seems our artifactory server didnt handle/repsond properly! Nevermind
Beta Was this translation helpful? Give feedback.
All reactions