-
Notifications
You must be signed in to change notification settings - Fork 26
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
Remove dependency on wheel package in setup.py (was: build fails ...) #3112
Comments
The failure in github is:
|
The changes incorporated into the new versions of build (1..1.0, 1.1.1 are defined at : https://build.pypa.io/en/stable/changelog.html and copied below. Changelog
1.1.0 (2024-02-29)
For the moment the primary suspect is: Stopped injecting wheel as a build dependency automatically, in the case of missing pyproject.toml – by @webknjaz. (PR #716) |
In PR #3111, the build package was pinned to <1.1.0 in order to circumvent the issue. Longer term, pywbem should remove its dependency on the wheel package in its setup.py. |
Bypassed this issue () by moving the version of build back to < 1.0. When all the other fixes for python 3.12 were includes, the use of build build>=0.5.1, <1.1.0 caused the builds for at least python 3.12, 3.11, 3.10, ... latest to fail for windows, ubuntu, and macos. Set build>=0.5.1, <1.0 and it passes CI build step with all of the systems that failed when build < 1.1.0.. I.e. This issue is introduced by build 1.0.3, 1.1.0. In fact, 1.1.0 specifically does the following: Stopped injecting wheel as a build dependency automatically, in the case of missing pyproject.toml – by @webknjaz. (PR #716) |
* add new safety fixes to .safety policy and modify corresponding versions in requirements. * New pylint entries to bypass new pylint messages. * Limit on version of build package. See issue #3112 * Changes to sphinx version limits * Fixed depencencies for virtualenv and pyinstrument * Import new versions for pylint and flake8 dependencies * Changed platformdirs to 2.5.0 on py>=3.7 * Changed tomli to 1.1.0 on py==3.6 * Changed pylint/astroid to 3.0.0 on py>=3.12 * Changed pylint to 3.0.3 and astroid to 3.0.2 on py>=3.12 * Limit version of pytest to < 8.0. Limit pytest version because pytest fails many tests with their warnings about DepecratedWarnings in pytest version 8. See pytest changelog for more information. * Modify conftest namedtuple (change exp_result to result) * Modify cim_type datetime to use datetime.now() and remove datetime.utcnow() for all but python 2.7 * Set build package max ver < 1.0 (issue #3112)
* add new safety fixes to .safety policy and modify corresponding versions in requirements. * New pylint entries to bypass new pylint messages. * Limit on version of build package. See issue #3112 * Changes to sphinx version limits * Fixed depencencies for virtualenv and pyinstrument * Import new versions for pylint and flake8 dependencies * Changed platformdirs to 2.5.0 on py>=3.7 * Changed tomli to 1.1.0 on py==3.6 * Changed pylint/astroid to 3.0.0 on py>=3.12 * Changed pylint to 3.0.3 and astroid to 3.0.2 on py>=3.12 * Limit version of pytest to < 8.0. Limit pytest version because pytest fails many tests with their warnings about DepecratedWarnings in pytest version 8. See pytest changelog for more information. * Modify conftest namedtuple (change exp_result to result) * Modify cim_type datetime to use datetime.now() and remove datetime.utcnow() for all but python 2.7 * Set build package max ver < 1.0 (issue #3112)
* add new safety fixes to .safety policy and modify corresponding versions in requirements. * New pylint entries to bypass new pylint messages. * Limit on version of build package. See issue #3112 * Changes to sphinx version limits * Fixed depencencies for virtualenv and pyinstrument * Import new versions for pylint and flake8 dependencies * Changed platformdirs to 2.5.0 on py>=3.7 * Changed tomli to 1.1.0 on py==3.6 * Changed pylint/astroid to 3.0.0 on py>=3.12 * Changed pylint to 3.0.3 and astroid to 3.0.2 on py>=3.12 * Limit version of pytest to < 8.0. Limit pytest version because pytest fails many tests with their warnings about DepecratedWarnings in pytest version 8. See pytest changelog for more information. * Modify conftest namedtuple (change exp_result to result) * Modify cim_type datetime to use datetime.now() and remove datetime.utcnow() for all but python 2.7 * Set build package max ver < 1.0 (issue #3112)
* add new safety fixes to .safety policy and modify corresponding versions in requirements. * New pylint entries to bypass new pylint messages. * Limit on version of build package. See issue #3112 * Changes to sphinx version limits * Fixed depencencies for virtualenv and pyinstrument * Import new versions for pylint and flake8 dependencies * Changed platformdirs to 2.5.0 on py>=3.7 * Changed tomli to 1.1.0 on py==3.6 * Changed pylint/astroid to 3.0.0 on py>=3.12 * Changed pylint to 3.0.3 and astroid to 3.0.2 on py>=3.12 * Limit version of pytest to < 8.0. Limit pytest version because pytest fails many tests with their warnings about DepecratedWarnings in pytest version 8. See pytest changelog for more information. * Modify conftest namedtuple (change exp_result to result) * Modify cim_type datetime to use datetime.now() and remove datetime.utcnow() for all but python 2.7 * Set build package max ver < 1.0 (issue #3112)
The build step of github fails with the latest version of the build package (version 1.1.1 released 1 March). Note that version 1.1.0 was released a couple of days earlier but pulled because of an issue.
It fails at the step:
and with the messages:
In particular this release includes PR pypa/build#716 (Stop injecting wheel as a build dep fallback)
The text was updated successfully, but these errors were encountered: