jurplel / install-qt-action

Install Qt on your Github Actions workflows with just one simple action
MIT License
459 stars 78 forks source link

Action fails on osx #142

Closed m-kuhn closed 2 years ago

m-kuhn commented 2 years ago

It started failing a couple of hours ago.

Successfully setup CPython (3.10.3)
brew install p7zip
Warning: p7zip 17.04 is already installed and up-to-date.
To reinstall 17.04, run:
  brew reinstall p7zip
python3 -m pip install setuptools wheel
Requirement already satisfied: setuptools in /Users/runner/hostedtoolcache/Python/3.10.3/x64/lib/python3.10/site-packages (58.1.0)
Collecting wheel
  Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel
Successfully installed wheel-0.37.1
python3 -m pip install py7zr==0.18.1
Collecting py7zr==0.18.1
  Downloading py7zr-0.18.1-py3-none-any.whl (69 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 69.4/69.4 KB 1.1 MB/s eta 0:00:00
Collecting brotli>=1.0.9
  Downloading Brotli-1.0.9-cp[31](https://github.com/opengisch/QField/runs/5688150112?check_suite_focus=true#step:10:31)0-cp310-macosx_10_9_x86_64.whl ([42](https://github.com/opengisch/QField/runs/5688150112?check_suite_focus=true#step:10:42)1 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 421.8/421.8 KB 4.5 MB/s eta 0:00:00
Collecting pyppmd<0.18.0,>=0.17.0
  Downloading pyppmd-0.17.4.tar.gz (1.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 9.9 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error

Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [515 lines of output]
      /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-l0taqcrz/overlay/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py:100: _ExperimentalProjectMetadata: Support for project metadata in `pyproject.toml` is still experimental and may be removed (or change) in future releases.
        warnings.warn(msg, _ExperimentalProjectMetadata)
      configuration error: `project` must contain ['name'] properties
      DESCRIPTION:
          Data structure for the **project** table inside ``pyproject.toml`` (as
          initially defined in :pep:`[62](https://github.com/opengisch/QField/runs/5688150112?check_suite_focus=true#step:10:62)1`)

Here's a link to a failed job. https://github.com/opengisch/QField/runs/5688150112?check_suite_focus=true

Still works fine on linux and windows workers.

arximboldi commented 2 years ago

I posted a workaround here: https://github.com/jurplel/install-qt-action/issues/130

albert-github commented 2 years ago

Looks like the py7zr version is not correct anymore / a bit older, see also https://github.com/miurahr/pyppmd/issues/94

pzhlkj6612 commented 2 years ago

I posted a workaround here: #130

Based on @arximboldi 's post ( https://github.com/jurplel/install-qt-action/issues/130#issuecomment-1078764998 ):

      - uses: jurplel/install-qt-action@v2
        with:
          # ...
          setup-python: 'false'
albert-github commented 2 years ago

Will this be a final solution or is this just a workaround (looks to me more like a workaround).

jurplel commented 2 years ago

We'll say this is a duplicate of #130