You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When repacking a wheel, the following error is raised
File "edm/tools/repack.py", line 264, in repack_wheel_cmd
File "edm/tools/repack.py", line 681, in _get_spec
File "edm/tools/repack.py", line 625, in _get_spec_data
File "okonomiyaki/file_formats/_package_info.py", line 115, in from_wheel
File "okonomiyaki/file_formats/_package_info.py", line 165, in from_string
File "okonomiyaki/file_formats/_package_info.py", line 360, in _ensure_supported_version
okonomiyaki.errors.OkonomiyakiError: Unsupported PKG-INFO metadata format: '2.2'
Unexpected error: OkonomiyakiError("Unsupported PKG-INFO metadata format: '2.2'")
Context
This occurred for new builds starting on 2025/01/09 in the edge-product repository
We are building a wheel and then repacking to an egg using the following pyproject.toml:
Investigating generation of the PKG-INFO version, it appears that the latest setup tools version 75.8.0 released on 2025/01/08 allows "dynamic" pkg-info metadata version computation, likely causing the version info to be computed to 2.2. Settting "setuptools==75.7.0" resolves the issue.
The text was updated successfully, but these errors were encountered:
When repacking a wheel, the following error is raised
Context
The text was updated successfully, but these errors were encountered: