Skip to content

Conversation

@LovingThresh
Copy link

Key Changes

  • Replace pip install -vv . with python setup.py install to resolve path conflicts when a directory named 'platform' exists in the project. This prevents Python from incorrectly prioritizing the local 'platform' directory over the standard library module of the same name. While setup.py install avoids this issue, the exact underlying mechanism needs further investigation.

  • Update OS matrix to ubuntu-22.04 to enable C++20 support.

  • Upgrade CI toolchain dependencies:

    • Update actions/checkout to the latest version
    • Update actions/setup-python to the latest version
    • Update actions/upload-artifact to the latest version for generated code uploads
  • Update complete build toolchain.

  • Add .vs directory to .gitignore to exclude Visual Studio temporary files.

These changes should improve build reliability and ensure better compatibility with modern development environments.

- Replace "pip install -vv ." by "python setup.py install" to avoid platfrom path conflicts with standard library names.
- Update OS matrix to `ubuntu-22.04` to support C++ 20.
- Update `actions/checkout` and `actions/setup-python` to the latest versions.
- Update complete tool chain.
- Update action for uploading generated code to the latest version of `actions/upload-artifact`.
- Add ignore for `.vs` directory in `.gitignore`.
@LovingThresh LovingThresh changed the title Update workflow configuration and ignore .vs files Update workflow configuration for Github Python Actions Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant