2.3.3.6.8. Requirements

  • Relative Filepath[1]: package_python/requirements.yaml

  • Pre-configured: False

[1]: Filepath is relative to the root of the control center directory.

$schema: https://json-schema.org/draft/2020-12/schema
title: meta_package_metadata
description: Package metadata
type: object
default: { }
additionalProperties: false
properties:
  python_version_min:
    description: Minimum Python version for the project
    type: string
    pattern: ^3\.[1-9][0-9]*(\.[1-9][0-9]*)?$
  operating_systems:
    description: Operating systems for the project
    type: object
    additionalProperties: false
    minProperties: 1
    properties:
      linux:
        anyOf:
          - type: 'null'
          - type: object
            additionalProperties: false
            properties:
              runner:
                enum:
                  - ubuntu-latest
                  - ubuntu-22.04
                  - ubuntu-20.04
                default: ubuntu-latest
              cibw_build:
                type: array
                minItems: 1
                uniqueItems: true
                items:
                  type: string
      macos:
        anyOf:
          - type: 'null'
          - type: object
            additionalProperties: false
            properties:
              runner:
                enum:
                  - macos-latest
                  - macos-latest-xl
                  - macos-13
                  - macos-13-xl
                  - macos-12
                  - macos-12-xl
                  - macos-11
                default: macos-latest
              cibw_build:
                type: array
                minItems: 1
                uniqueItems: true
                items:
                  type: string
      windows:
        anyOf:
          - type: 'null'
          - type: object
            additionalProperties: false
            properties:
              runner:
                enum:
                  - windows-latest
                  - windows-2022
                  - windows-2019
                default: windows-latest
              cibw_build:
                type: array
                minItems: 1
                uniqueItems: true
                items:
                  type: string
  core_dependencies:
    description: Dependencies for the project
    type: array
    uniqueItems: true
    items:
      type: object
      additionalProperties: false
      required:
        - pip_spec
      properties:
        usage:
          type: string
        pip_spec:
          type: string
        conda_spec:
          type: string
        conda_channel:
          type: string
        url_homepage:
          type: string
          format: uri
        url_docs:
          type: string
          format: uri
        url_source:
          type: string
          format: uri
        intersphinx_mapping:
          type: object
          additionalProperties: false
          properties:
            key:
              type: string
            target:
              type: string
              format: uri
            inventory:
              type: array
              items:
                type: string
              minItems: 1
          required:
            - target
  optional_dependencies:
    description: Optional dependencies for the project
    type: array
    uniqueItems: true
    items:
      type: object
      additionalProperties: false
      required:
        - name
        - packages
      properties:
        name:
          type: string
        packages:
          type: array
          minItems: 1
          uniqueItems: true
          items:
            type: object
            required:
              - name
              - pip_spec
            properties:
              usage:
                type: string
              pip_spec:
                type: string
              conda_spec:
                type: string
              conda_channel:
                type: string
              url_homepage:
                type: string
                format: uri
              url_docs:
                type: string
                format: uri
              url_source:
                type: string
                format: uri
              intersphinx_mapping:
                type: object
                additionalProperties: false
                properties:
                  key:
                    type: string
                  target:
                    type: string
                    format: uri
                  inventory:
                    type: array
                    items:
                      type: string
                    minItems: 1
                required:
                  - target
required: [ python_version_min ]
{}

2.3.3.6.8.1. Supported Python Versions

We recommend following the NumPy Enhancement Proposal (NEP) 29.