pytest-dev / pytest-forked

extracted --boxed from pytest-xdist to ensure backward compat
MIT License
65 stars 21 forks source link

Investigate deployment failures #17

Closed nicoddemus closed 4 years ago

nicoddemus commented 5 years ago

Although the package has been deployed, the job that did manage the deploy failed strangely:

https://travis-ci.org/pytest-dev/pytest-forked/builds/493316392?utm_source=github_status&utm_medium=notification

We probably should update the configuration to use stages as well.

rmcdiffett commented 5 years ago

@nicoddemus We (my company) have noticed a failure in being able to download this project via an Artifactory virtual repo of pypi since your latest release (1.0.2) today. We have had to pin our dependencies back to 1.0.1. Error is that it throws an "Unknown content length".

nicoddemus commented 5 years ago

Hi @rmcdiffett,

Hmm strange, I just installed the 1.0.2 package into a fresh virtual environment and it worked perfectly. Also I manually downloaded the package and checked that it appears to be fine. Can you verify your artifactory repo? Perhaps manually downloading the file and ensuring it can be extracted?

webknjaz commented 5 years ago

@nicoddemus maybe you need skip-cleanup in travis config? https://travis-ci.org/pytest-dev/pytest-forked/jobs/493316393#L607

rmcdiffett commented 5 years ago

Hi @rmcdiffett,

Hmm strange, I just installed the 1.0.2 package into a fresh virtual environment and it worked perfectly. Also I manually downloaded the package and checked that it appears to be fine. Can you verify your artifactory repo? Perhaps manually downloading the file and ensuring it can be extracted?

This issue self-corrected with no intervention on our side. Thank you!

webknjaz commented 4 years ago

We probably should update the configuration to use stages as well.

Implemented via https://github.com/pytest-dev/pytest-forked/pull/40. Looks like no further action is needed. Also, @rmcdiffett's problem looks more or less like a caching issue (PyPI cache usually gets updated during 10 minutes after publishing a release).