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
Collecting lxml==4.9.1 (from -r ./requirements.txt (line 10))
Downloading lxml-4.9.1.tar.gz (3.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 106.4 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
/tmp/pip-install-q2qqyahd/lxml_eac12c04c32d40b09b293af6401a040e/setup.py:114: SyntaxWarning: invalid escape sequence '\.'
is_interesting_header = re.compile('^(zconf|zlib|.*charset)\.h$').match
/tmp/pip-install-q2qqyahd/lxml_eac12c04c32d40b09b293af6401a040e/setup.py:67: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Building lxml version 4.9.1.
Building without Cython.
Error: Please make sure the libxml2 and libxslt development packages are installed.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Collecting lxml==4.9.1 (from -r ./requirements.txt (line 10))
Downloading lxml-4.9.1.tar.gz (3.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 106.4 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
/tmp/pip-install-q2qqyahd/lxml_eac12c04c32d40b09b293af6401a040e/setup.py:114: SyntaxWarning: invalid escape sequence '\.'
is_interesting_header = re.compile('^(zconf|zlib|.*charset)\.h$').match
/tmp/pip-install-q2qqyahd/lxml_eac12c04c32d40b09b293af6401a040e/setup.py:67: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Building lxml version 4.9.1.
Building without Cython.
Error: Please make sure the libxml2 and libxslt development packages are installed.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Description
When trying to install
lxml
viarequirements.txt
inubuntu-latest
throws an errorUsing step -
Result
Platforms affected
Runner images affected
Image version and build link
https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20250113.1
Is it regression?
No
Expected behavior
lxml should get installed successfully.
Actual behavior
Throwing an error as below
Repro steps
The text was updated successfully, but these errors were encountered: