Skip to content

Add wheel testing utilities #1

@AntoinePrv

Description

@AntoinePrv

A test section could be added to the build recipe, with a CLI option --no-tests similar to Conda build.
Two types of tests are considered:

Install and run checks

  • Use Mamba to create an environment with the proper Python version and a given installer (pip, uv)
  • Use that installer to install the wheel
  • Run some code with this Python and this wheel: for example import mypackage etc.

Wheel analysis checks

Looking into the wheel and making some verifications

  • Use auditwheel on Linux to verify wheels binary compatibility
  • Other checks we can provide:
    • Absence of certain type of file?
    • Single top level folder?

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureSuggest new additions to the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions