flet-dev / flet

Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
https://flet.dev
Apache License 2.0
11.56k stars 452 forks source link

Update wheels #4127

Closed FeodorFitsner closed 1 month ago

FeodorFitsner commented 1 month ago

Summary by Sourcery

Update the AppVeyor configuration to streamline the wheel renaming process and conditionally install dependencies for specific packages. Remove the unused build-wheels script.

Enhancements:

Chores:

sourcery-ai[bot] commented 1 month ago

Reviewer's Guide by Sourcery

This pull request updates the wheel building process in the CI/CD pipeline, specifically modifying the AppVeyor configuration and Linux build steps. The changes focus on streamlining the wheel generation process, updating package installation conditions, and refining the wheel naming conventions.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Simplified Windows wheel generation process
  • Removed generation of 32-bit Windows wheels
  • Changed from copying and moving to just moving the generated wheel
  • Updated wheel naming to only create 64-bit Windows wheels
.appveyor.yml
Updated Linux package installation process
  • Separated basic package installation from conditional installation
  • Added conditional installation of multimedia-related packages only for 'flet-desktop' package
.appveyor.yml
Refined Linux wheel naming and generation process
  • Updated wheel tag generation to use more specific naming conventions
  • Simplified wheel tag list by combining similar tags
  • Modified wheel renaming process to handle new tag format
.appveyor.yml
Removed separate wheel building script
  • Deleted the 'ci/build-wheels.py' file, likely integrating its functionality into the main CI configuration
ci/build-wheels.py

Tips and commands #### Interacting with Sourcery - **Trigger a new review:** Comment `@sourcery-ai review` on the pull request. - **Continue discussions:** Reply directly to Sourcery's review comments. - **Generate a GitHub issue from a review comment:** Ask Sourcery to create an issue from a review comment by replying to it. - **Generate a pull request title:** Write `@sourcery-ai` anywhere in the pull request title to generate a title at any time. - **Generate a pull request summary:** Write `@sourcery-ai summary` anywhere in the pull request body to generate a PR summary at any time. You can also use this command to specify where the summary should be inserted. #### Customizing Your Experience Access your [dashboard](https://app.sourcery.ai) to: - Enable or disable review features such as the Sourcery-generated pull request summary, the reviewer's guide, and others. - Change the review language. - Add, remove or edit custom review instructions. - Adjust other review settings. #### Getting Help - [Contact our support team](mailto:support@sourcery.ai) for questions or feedback. - Visit our [documentation](https://docs.sourcery.ai) for detailed guides and information. - Keep in touch with the Sourcery team by following us on [X/Twitter](https://x.com/SourceryAI), [LinkedIn](https://www.linkedin.com/company/sourcery-ai/) or [GitHub](https://github.com/sourcery-ai).