Comments (7)
The current option forces setuptools to generate a zipfile. I guess that's not really needed anymore.
So... instead of adding a tar option, I'd rather say "we don't need to pass the zip option anymore". Setuptools will then use some default, which is probably tgz files.
@mauritsvanrees: tgz is probably fine now?
from zest.releaser.
Probably okay. I started writing that we should still check for the Python version: if it is 2.4.x we should still use zip. But looking at our setup.py we only support Python 2.6 and 2.7. So should be okay to remove our zip default.
There is a nagging doubt in the back of my mind, because I had some problems recently with a tarball that I created on my Mac and that could not be extracted on some Linux server. Problem was that I was using the Mac standard /usr/bin/tar
which is bsdtar
. Switching to a port install of GNU tar fixed it. But this was with a git archive
command, not with zest.releaser
or setuptools
. setuptools
may be using some internal or base Python tar version. Not sure. But as two data points on PyPI: for setuptools both .zip
and .tgz
are uploaded, and for pip
only .tgz
is uploaded. I guess we would know if there were problems with .tgz
and recent Python versions.
Long story short: should be okay. :-)
BTW, I think whether zip or targz or something else is used by default depends on the OS. Indeed, see https://docs.python.org/2/distutils/sourcedist.html. If you want to override the default behavior you can add a setup.cfg
to your Python project and put this in it, with one or more formats:
[sdist]
formats = zip,gztar
from zest.releaser.
Hm... I am getting all sorts of hard-to-debug doctest failures. The common problem.
Note: I made the change on master...
from zest.releaser.
Is this related to tgz files?
from zest.releaser.
Yep, the expected sometimes-I-fail-sometimes-I-dont related to 'tags dir does not exist' where we try to answer 'no, do not create it' first, and it creates it anyway. Something like that.
from zest.releaser.
Ok, tests are OK again.
Released as 3.56 and.... it is a tgz automatically :-)
https://pypi.python.org/packages/source/z/zest.releaser/zest.releaser-3.56.tar.gz
from zest.releaser.
@yesimon: the 'Yep' was for Reinout. As answer to you: No, the doctest failures are not related to tgz files, they have been here for a while, sometimes failing sometimes not.... :-(
See https://travis-ci.org/zestsoftware/zest.releaser/builds/54873008
from zest.releaser.
Related Issues (20)
- 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
- Always create wheels, when possible HOT 2
- Warn/ask to verify for deprecation notices when making a major release HOT 4
- get_last_tag can fail with recent setuptools HOT 1
- Use build to generate wheels and sdists HOT 7
- Read zest.releaser settings from pyproject.toml HOT 3
- Issue during our dependency-check analysis because of tests/pyproject.toml file HOT 1
- Upload to PyPI fails HOT 6
- readthedocs documentation isn't being build anymore HOT 2
- Issues when trying 'build' HOT 7
- Wheel does not contain the required METADATA file HOT 2
- `build` has changed the ProjectBuilder API in 1.0.0 HOT 2
- index-servers option in setup.cfg not working HOT 5
- implement --version HOT 1
- Support Hatchling as build backend 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.