Closed markusa closed 1 year ago
Might also be related to #982
@markusa Can you provide the pip version?
pip install --upgrade pip
might help.
I also tried this and specified in addition the newer python version 3.11, see below:
name: markdown-to-rfc
on: [push]
jobs:
make-rfc:
runs-on: ubuntu-latest
steps:
- name: "Setup Python"
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: python -m pip install --upgrade pip setuptools wheel twine build
- run: sudo pip install xml2rfc
This workflow YAML downloads pip-23.1.2-py3-none-any.whl
but finaly does not change the error pattern as shown in the first post.
@markusa, looks like using sudo pip
is the issue here. I think sudo pip
uses a pip
version provided by the OS. While python -m pip install --upgrade pip setuptools wheel twine build
upgrades/install a different module.
python -m pip install xml2rfc
Seems to be working. Ref:
Thank you, that solved the problem. Without sudo
it also doesn't need python -m pip install --upgrade pip setuptools wheel twine build
. I cannot remember why I decided to add sudo
when I created the
YAML :roll_eyes:.
Full working example:
name: markdown-to-rfc
on: [push]
jobs:
make-rfc:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v3
- name: "Setup Python"
uses: actions/setup-python@v4
with:
python-version: '3.11'
- run: pip install xml2rfc
Describe the issue
I use github workflow to install
xml2rfc
and convert Markdown to RFC style. Sincexml2rfc
version13.17.1
this process fails with the following errors:A minimal github workflow YAML example to provoke this behavior is as follows:
As soon as I force the workflow process to use xml2rfc version 13.17.0, the installation is successful again:
sudo pip install xml2rfc==3.17.0
Any ideas?
Code of Conduct