-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v3.4 sdist contains empty setup.py #129
Comments
Thanks. It's been suggested by another contributor to completely removed |
From a distro packaging perspective, having a Another aspect to consider is that if building idna depend on OTOH, not having a setup.py/cfg is easier for you. That is also important. |
without setup.py or setup.cfg this command will go wrong under python 3.7 debian 10 pip install --no-binary :all: idna==3.4 |
I'm facing the same problem on CentosStream8
The
Would be nice to have one minimal |
With the move to pyproject.toml, given the focus on backward compatibility, adding a setup.py in case it is needed by some users.
@jayvdb @hgoldfish @sethmlarson I've created a branch with a |
@kjd thanks for providing the [options]
python_requires = >=3.5
+packages=find: Without the
The only side effect that I noticed is that now the |
PEP 517/ idna isn't the only package moving to PEP 517, so if these platforms need to continue consuming Python packages they will need to migrate eventually. |
This project has taken a very conservative approach to date of continuing to support older versions of Python given how many other applications depend on it, often indirectly without explicitly knowing they do. It would seem consistent with this approach to ease problems for significant downstream repackagers if its not too burdensome. With that said, this has presumably been a problem for about a year, and this package reportedly gets downloaded about 5 million times a day from PyPI. Given the relative lack of bug reports it seems the impact is pretty low of not having the setup.cfg in place? I agree it is not elegant and something to be careful about if we duplicate the package information in two places. To Seth's point maybe this is a good nudge if this is the way packaging needs to go anyway. The next Unicode release is scheduled for 12 September, and I'd like to cut the next release shortly thereafter, so I'd like to get consensus on the best approach here by then. |
I've temporarily re-added |
v3.5 has been published which reintroduces |
Hi,
https://files.pythonhosted.org/packages/8b/e1/43beb3d38dba6cb420cefa297822eac205a277ab43e5ba5d5c46faf96438/idna-3.4.tar.gz contains a
setup.py
which is:There is no setup.cfg , so as a result
python setup.py build
works, but it installs using version '0.0.0' which then causes problems withpkg_resources
.e.g.
pkg_resources.ContextualVersionConflict: (idna 0.0.0 (/usr/lib/python3.10/site-packages), Requirement.parse('idna>=2.5'), {'hyperlink'}) /usr/lib/python3.10/site-packages/pkg_resources/init.py:800: ContextualVersionConflict
The text was updated successfully, but these errors were encountered: