-
Notifications
You must be signed in to change notification settings - Fork 31
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
publish wheels #17
Comments
extra context, according to the config it should publish, so something is broken that i have to debug later |
Not entirely sure if this is related the issue you have logged here, but AWS tried to spin up a new instance of our prod application just now, but it failed with the following issue. Neither iniconfig, nor setuptools were specified in our requirements.txt, and we'd had no previous issues, but coinciding with the recent release of iniconfig, its presence as a dependency of pytest, which was in requirements.txt, has caused this failure.
|
I am affected, too:
|
When I manually install setuptools and wheel beforehand, I can install iniconfig successfully:
My requirements file (
So there is setuptools, but no wheel being required. Maybe I should? I recreated the venv:
This fixes the installation issue for me. |
the incorrect |
I think that I am also affected by this issue. I am trying to run Python 3.6 and 3.7 tests with
|
For AWS SAM builds using the
Note I am able to build the wheel if I run the
|
I am also having errors when using
Content of requirements.txt:
initconfig is in my case being pulled in by |
Could the problem be that pyproject.toml is missing from MANIFEST.in (pypa/setuptools#1694 (comment))? |
I don't think so: in this case |
I uploaded the wheel to TestPyPI and installing the wheel from there fixes my builds: $ python setup.py sdist bdist_wheel
/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/setuptools_scm/git.py:68: UserWarning: "/private/tmp/iniconfig" is shallow and may cause errors
warnings.warn('"{}" is shallow and may cause errors'.format(wd.path))
/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/setuptools_scm/git.py:68: UserWarning: "/private/tmp/iniconfig" is shallow and may cause errors
warnings.warn('"{}" is shallow and may cause errors'.format(wd.path))
running sdist
running egg_info
writing src/iniconfig.egg-info/PKG-INFO
writing dependency_links to src/iniconfig.egg-info/dependency_links.txt
writing top-level names to src/iniconfig.egg-info/top_level.txt
reading manifest template 'MANIFEST.in'
writing manifest file 'src/iniconfig.egg-info/SOURCES.txt'
running check
creating iniconfig-1.1.1
creating iniconfig-1.1.1/src
creating iniconfig-1.1.1/src/iniconfig
creating iniconfig-1.1.1/src/iniconfig.egg-info
creating iniconfig-1.1.1/testing
copying files to iniconfig-1.1.1...
copying .gitignore -> iniconfig-1.1.1
copying .hgignore -> iniconfig-1.1.1
copying .landscape.yml -> iniconfig-1.1.1
copying .travis.yml -> iniconfig-1.1.1
copying CHANGELOG -> iniconfig-1.1.1
copying LICENSE -> iniconfig-1.1.1
copying MANIFEST.in -> iniconfig-1.1.1
copying README.txt -> iniconfig-1.1.1
copying example.ini -> iniconfig-1.1.1
copying pyproject.toml -> iniconfig-1.1.1
copying setup.cfg -> iniconfig-1.1.1
copying setup.py -> iniconfig-1.1.1
copying tox.ini -> iniconfig-1.1.1
copying src/iniconfig/__init__.py -> iniconfig-1.1.1/src/iniconfig
copying src/iniconfig/__init__.pyi -> iniconfig-1.1.1/src/iniconfig
copying src/iniconfig/py.typed -> iniconfig-1.1.1/src/iniconfig
copying src/iniconfig.egg-info/PKG-INFO -> iniconfig-1.1.1/src/iniconfig.egg-info
copying src/iniconfig.egg-info/SOURCES.txt -> iniconfig-1.1.1/src/iniconfig.egg-info
copying src/iniconfig.egg-info/dependency_links.txt -> iniconfig-1.1.1/src/iniconfig.egg-info
copying src/iniconfig.egg-info/not-zip-safe -> iniconfig-1.1.1/src/iniconfig.egg-info
copying src/iniconfig.egg-info/top_level.txt -> iniconfig-1.1.1/src/iniconfig.egg-info
copying testing/conftest.py -> iniconfig-1.1.1/testing
copying testing/test_iniconfig.py -> iniconfig-1.1.1/testing
Writing iniconfig-1.1.1/setup.cfg
Creating tar archive
removing 'iniconfig-1.1.1' (and everything under it)
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/iniconfig
copying src/iniconfig/__init__.py -> build/lib/iniconfig
copying src/iniconfig/__init__.pyi -> build/lib/iniconfig
copying src/iniconfig/py.typed -> build/lib/iniconfig
installing to build/bdist.macosx-10.9-x86_64/wheel
running install
running install_lib
creating build/bdist.macosx-10.9-x86_64
creating build/bdist.macosx-10.9-x86_64/wheel
creating build/bdist.macosx-10.9-x86_64/wheel/iniconfig
copying build/lib/iniconfig/__init__.pyi -> build/bdist.macosx-10.9-x86_64/wheel/iniconfig
copying build/lib/iniconfig/__init__.py -> build/bdist.macosx-10.9-x86_64/wheel/iniconfig
copying build/lib/iniconfig/py.typed -> build/bdist.macosx-10.9-x86_64/wheel/iniconfig
running install_egg_info
Copying src/iniconfig.egg-info to build/bdist.macosx-10.9-x86_64/wheel/iniconfig-1.1.1-py3.9.egg-info
running install_scripts
adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
creating build/bdist.macosx-10.9-x86_64/wheel/iniconfig-1.1.1.dist-info/WHEEL
creating 'dist/iniconfig-1.1.1-py2.py3-none-any.whl' and adding 'build/bdist.macosx-10.9-x86_64/wheel' to it
adding 'iniconfig/__init__.py'
adding 'iniconfig/__init__.pyi'
adding 'iniconfig/py.typed'
adding 'iniconfig-1.1.1.dist-info/LICENSE'
adding 'iniconfig-1.1.1.dist-info/METADATA'
adding 'iniconfig-1.1.1.dist-info/WHEEL'
adding 'iniconfig-1.1.1.dist-info/top_level.txt'
adding 'iniconfig-1.1.1.dist-info/RECORD'
removing build/bdist.macosx-10.9-x86_64/wheel $ l dist
total 40
drwxr-xr-x 4 hugo wheel 128B 16 Oct 18:30 .
drwxr-xr-x 20 hugo wheel 640B 16 Oct 18:30 ..
-rw-r--r-- 1 hugo wheel 4.9K 16 Oct 18:30 iniconfig-1.1.1-py2.py3-none-any.whl
-rw-r--r-- 1 hugo wheel 8.7K 16 Oct 18:30 iniconfig-1.1.1.tar.gz $ twine check dist/*
Checking dist/iniconfig-1.1.1-py2.py3-none-any.whl: PASSED, with warnings
warning: `long_description_content_type` missing. defaulting to `text/x-rst`.
Checking dist/iniconfig-1.1.1.tar.gz: PASSED, with warnings
warning: `long_description_content_type` missing. defaulting to `text/x-rst`. $ twine upload --repository-url https://test.pypi.org/legacy/ dist/*
Uploading distributions to https://test.pypi.org/legacy/
Enter your username: hugovk
Uploading iniconfig-1.1.1-py2.py3-none-any.whl
100%|█████████████████████████████████████████████████████████████████████████████████████| 10.8k/10.8k [00:02<00:00, 4.96kB/s]
Uploading iniconfig-1.1.1.tar.gz
100%|█████████████████████████████████████████████████████████████████████████████████████| 14.7k/14.7k [00:01<00:00, 9.89kB/s]
View at:
https://test.pypi.org/project/iniconfig/1.1.1/ sdist + wheel: https://test.pypi.org/project/iniconfig/1.1.1/#files Here's a build which failed before: https://travis-ci.org/github/hugovk/docker-images/jobs/736383820 Then I did a test installing (the wheel) from TestPyPI: pip install --upgrade iniconfig -i https://test.pypi.org/simple/ Here's a build which passed afterwards: https://travis-ci.com/github/hugovk/docker-images/builds/190504886 I don't recommend people use TestPyPI wheel, it's just a test, especially not on production. @RonnyPfannschmidt I've also added you ( Please could you upload a wheel for 1.1.1? Something like this: git checkout v1.1.1
pip install -U pip setuptools wheel twine keyring
rm -rf build dist
python3 setup.py bdist_wheel
twine check dist/*
twine upload -r pypi dist/* I can then help set up a CI (GitHub Actions ok?) to auto-deploy for later releases. |
@hugovk i was considering to just fix the build and upload a new release . i uploaded a wheel now to help the others, i'll di a github actions migration now |
Great, thank you! Confirmed it's now working: https://travis-ci.com/github/hugovk/docker-images/jobs/400761871 I've got an auto-deploy on my fork now, shall I make a PR with setup instructions? |
please do so, im working on a pr with the normal test workflow meanwhile + setup.cfg migration and pyproject updates (im not going to debug why travis fails the wheel silently, im done with travis) |
https://github.com/pytest-dev/iniconfig/releases/tag/v2.0.0 comes with wheels on pyi |
based on #16 the build pipeline should also publish the wheels
The text was updated successfully, but these errors were encountered: