Skip to content

Cannot build launcher on Rocky 9 #200

@antirotor

Description

@antirotor

Is there an existing issue for this?

  • I have searched the existing issues and added correct labels.

Description

Current Behavior.

Cannot build ayon-launcher on "almost" vanilla Rocky 9. It complains about missing semver module even though it gets installed using poetry and is present.

Steps To Reproduce:

clone repo
run ./tools/make.sh create-env
run ./tools/make.sh install-runtime
run ./tools/make.sh build

Additional context:

Version

current develop - c5744cf

What platform were you running when you found the bug?

Linux - Rocky9

Relevant log output:

Traceback (most recent call last):
  File "__startup__.py", line 120, in run
  File "console.py", line 16, in run
  File "start.py", line 321, in <module>
    from ayon_common import is_staging_enabled, is_dev_mode_enabled  # noqa E402
  File "/home/annatar/ayon-launcher/build/output/common/ayon_common/__init__.py", line 1, in <module>
    from .utils import (
  File "/home/annatar/ayon-launcher/build/output/common/ayon_common/utils.py", line 15, in <module>
    import semver
ModuleNotFoundError: No module named 'semver'
Traceback (most recent call last):
  File "/home/annatar/ayon-launcher/tools/build_post_process.py", line 855, in <module>
    main()
  File "/home/annatar/ayon-launcher/tools/build_post_process.py", line 848, in main
    post_build_process(ayon_root, build_root)
  File "/home/annatar/ayon-launcher/tools/build_post_process.py", line 616, in post_build_process
    store_base_metadata(build_root, build_content_root, ayon_version)
  File "/home/annatar/ayon-launcher/tools/build_post_process.py", line 600, in store_base_metadata
    "runtime_python_modules": get_runtime_modules(build_content_root),
  File "/home/annatar/ayon-launcher/tools/build_post_process.py", line 501, in get_runtime_modules
    raise ValueError("Wasn't able to get runtime modules.")
ValueError: Wasn't able to get runtime modules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions