crossbario / crossbar

Crossbar.io - WAMP application router
https://crossbar.io/
Other
2.05k stars 274 forks source link

Fix CI issues for Python 3.10 #1965

Open om26er opened 2 years ago

om26er commented 2 years ago

Python 3.10 CI is broken, it was disabled in this PR https://github.com/crossbario/crossbar/pull/1961, which make the run green. This issue is to track it so that we can re-enable Python 3.10 in CI.

oberstet commented 2 years ago

yeah, I tried latest pip and setuptools, but it still failed on python 3.10. no idea, and I am generally tired of this crap, hence I just moved back to 3.9

oberstet commented 2 years ago

this also seems to affect the deploy-wheels CI:

https://github.com/crossbario/crossbar/runs/5671938307?check_suite_focus=true#step:7:1399

as that uses CPython 3.10.2 https://github.com/crossbario/crossbar/blob/fa0e418ea143efe6ab360fb5f438e5ebf46e8f15/.github/workflows/deploy-wheels.yml#L73

package uploaded to:

      https://***.s3.***.amazonaws.com/wheels/crossbar-22.3.2.dev2-py2.py3-none-any.whl
      https://***.s3.***.amazonaws.com/wheels/crossbar-latest-py2.py3-none-any.whl

  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [20 lines of output]
      /opt/hostedtoolcache/Python/3.10.2/x64/lib/python3.10/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'install_requires'
        warnings.warn(msg)
      /opt/hostedtoolcache/Python/3.10.2/x64/lib/python3.10/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'extras_require'
        warnings.warn(msg)
      /opt/hostedtoolcache/Python/3.10.2/x64/lib/python3.10/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'tests_require'
        warnings.warn(msg)
      /opt/hostedtoolcache/Python/3.10.2/x64/lib/python3.10/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'entry_points'
        warnings.warn(msg)
      /opt/hostedtoolcache/Python/3.10.2/x64/lib/python3.10/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'include_package_data'
        warnings.warn(msg)
      /opt/hostedtoolcache/Python/3.10.2/x64/lib/python3.10/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'zip_safe'
        warnings.warn(msg)
      /opt/hostedtoolcache/Python/3.10.2/x64/lib/python3.10/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'python_requires'
        warnings.warn(msg)
      usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
         or: setup.py --help [cmd1 cmd2 ...]
         or: setup.py --help-commands
         or: setup.py cmd --help

      error: invalid command 'egg_info'
      [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.
Error: Process completed with exit code 1.
##[debug]Finishing: Build and deploy wheels