Comments (9)
iirc it prints the location of the tag checkout (a temp directory) at the end. I added this to make it easier to re-upload it from that directory. That dir contains a nice clean un-postreleased version of your package.
Pypi down is quite rare nowadays, especially for uploading.
Is aborting the best way? You'd have to know how to proceed from there. Well, you have to know what to do with the tag temp dir, also, of course.
Ideas?
from zest.releaser.
It's more like you are going to miss the line of text because it is lost in the other logging noise. Thus, it might be that a partial file ends up to pypi.
from zest.releaser.
If setup.py has a non-zero return state here, we should be able to pick that up and display a big fat warning.
from zest.releaser.
If I call print system(utils.setup_py('My brain hurts'))
currently no error is printed. This is because for python commands we do not show the stderr. See https://github.com/zestsoftware/zest.releaser/blob/3.56/zest/releaser/utils.py#L436
Reason is that this may contain warnings or other fluff that is harmful when we try to extract the version number.
I should probably change a few system calls to quit when there is an error, or to ask the user if she wants to continue.
from zest.releaser.
I think pull request #90 does this nicely.
from zest.releaser.
That pull request is merged to master. Will end up in 4.0 soon.
We are not exactly aborting when upload fails, but we print it in red and ask the user if she wants to continue.
from zest.releaser.
Do you give the user an option to retry?
from zest.releaser.
No. Would be interesting. I am playing with it now. :-)
from zest.releaser.
Heh. I just recently ran fullrelease on a package I didn't have PyPI rights on. It worked out okay: when the upload failed and zest.releaser asked if I wanted to bump the version to n+1.dev0, I asked for PyPI rights on IRC instead, dug out the temp directory name from xterm scrollback, twine uploaded the sdist, and then let fullrelease continue.
from zest.releaser.
Related Issues (20)
- index-servers vs. index_servers HOT 3
- postrelease minor/patch version HOT 6
- Passing version as a command-line parameter to `prerelease` and `fullrelease` HOT 2
- Unexpected `prerelease` behaviour with Changelog containing markdown links HOT 2
- Documentation: hook_package_dir en entrypoints section.
- support [tool:zest.releaser] in setup.cfg HOT 2
- support pep621 HOT 4
- Future plans for zest.releaser HOT 4
- Prefixing git tags with a "v" HOT 2
- Check version for PEP440 HOT 3
- bumprelease functionality HOT 6
- zest.releaser with plone.releaser breaks when not in a buildout.coredev environment HOT 3
- Failed git push does not fail release HOT 6
- Possibility to add prefix to commit messages HOT 6
- ValueError: binary mode doesn't take an encoding argument HOT 9
- fullrelease: error: no such option: --no-input HOT 8
- sdist is missing tox.ini HOT 1
- tests fails with non-GNU ls HOT 4
- testing: the following arguments are required: message HOT 1
- testing: bumpversion and postrelease tests fails HOT 3
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 zest.releaser.