├── .github └── CODEOWNERS ├── recipe ├── METADATA.pyside6.in ├── METADATA.shiboken6.in ├── conda_build_config.yaml ├── patches │ ├── pyi_osx.patch │ ├── do_not_store_build_time_compiler.patch │ ├── qfp_osx.patch │ ├── 0001-Fix-memory-leak.patch │ ├── no_abi3.patch │ └── tools.patch ├── bld.bat ├── build.sh └── meta.yaml ├── .ci_support ├── migrations │ ├── qt6_main610.yaml │ ├── libxml2214.yaml │ └── python314.yaml ├── README ├── win_64_python3.13.____cp313.yaml ├── win_64_python3.14.____cp314.yaml ├── win_64_python3.10.____cpython.yaml ├── win_64_python3.11.____cpython.yaml ├── win_64_python3.12.____cpython.yaml ├── linux_64_python3.13.____cp313.yaml ├── linux_64_python3.14.____cp314.yaml ├── linux_64_python3.10.____cpython.yaml ├── linux_64_python3.11.____cpython.yaml ├── linux_64_python3.12.____cpython.yaml ├── linux_aarch64_python3.13.____cp313.yaml ├── linux_aarch64_python3.14.____cp314.yaml ├── linux_aarch64_python3.10.____cpython.yaml ├── linux_aarch64_python3.11.____cpython.yaml ├── linux_aarch64_python3.12.____cpython.yaml ├── osx_64_python3.13.____cp313.yaml ├── osx_64_python3.14.____cp314.yaml ├── osx_64_python3.10.____cpython.yaml ├── osx_64_python3.11.____cpython.yaml ├── osx_64_python3.12.____cpython.yaml ├── osx_arm64_python3.13.____cp313.yaml ├── osx_arm64_python3.14.____cp314.yaml ├── osx_arm64_python3.10.____cpython.yaml ├── osx_arm64_python3.11.____cpython.yaml └── osx_arm64_python3.12.____cpython.yaml ├── conda-forge.yml ├── .circleci └── config.yml ├── .gitattributes ├── .gitignore ├── .scripts ├── logging_utils.sh ├── build_steps.sh ├── run_docker_build.sh ├── run_osx_build.sh └── run_win_build.bat ├── azure-pipelines.yml ├── LICENSE.txt ├── .azure-pipelines ├── azure-pipelines-win.yml ├── azure-pipelines-osx.yml └── azure-pipelines-linux.yml └── README.md /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @jan-janssen @jschueller -------------------------------------------------------------------------------- /recipe/METADATA.pyside6.in: -------------------------------------------------------------------------------- 1 | Metadata-Version: 2.1 2 | Name: PySide6 3 | -------------------------------------------------------------------------------- /recipe/METADATA.shiboken6.in: -------------------------------------------------------------------------------- 1 | Metadata-Version: 2.1 2 | Name: shiboken6 3 | -------------------------------------------------------------------------------- /recipe/conda_build_config.yaml: -------------------------------------------------------------------------------- 1 | # https://doc.qt.io/qt-6/macos.html 2 | c_stdlib_version: # [osx] 3 | - '11.0' # [osx] 4 | MACOSX_SDK_VERSION: # [osx] 5 | - '12.3' # [osx] 6 | 7 | -------------------------------------------------------------------------------- /.ci_support/migrations/qt6_main610.yaml: -------------------------------------------------------------------------------- 1 | __migrator: 2 | build_number: 1 3 | commit_message: Rebuild for qt6_main 6.10 4 | kind: version 5 | migration_number: 1 6 | migrator_ts: 1763433669.7565482 7 | qt6_main: 8 | - '6.10' 9 | -------------------------------------------------------------------------------- /conda-forge.yml: -------------------------------------------------------------------------------- 1 | bot: 2 | abi_migration_branches: 3 | - pyside2 4 | build_platform: 5 | linux_aarch64: linux_64 6 | osx_arm64: osx_64 7 | conda_build: 8 | pkg_format: '2' 9 | conda_forge_output_validation: true 10 | github: 11 | branch_name: main 12 | tooling_branch_name: main 13 | provider: 14 | linux_aarch64: azure 15 | test: native 16 | -------------------------------------------------------------------------------- /.ci_support/README: -------------------------------------------------------------------------------- 1 | This file is automatically generated by conda-smithy. If any 2 | particular build configuration is expected, but it is not found, 3 | please make sure all dependencies are satisfiable. To add/modify any 4 | matrix elements, you should create/change conda-smithy's input 5 | recipe/conda_build_config.yaml and re-render the recipe, rather than 6 | editing these files directly. 7 | -------------------------------------------------------------------------------- /.ci_support/win_64_python3.13.____cp313.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - vs2022 3 | c_stdlib: 4 | - vs 5 | channel_sources: 6 | - conda-forge 7 | channel_targets: 8 | - conda-forge main 9 | cxx_compiler: 10 | - vs2022 11 | libxml2_devel: 12 | - '2.14' 13 | pin_run_as_build: 14 | python: 15 | min_pin: x.x 16 | max_pin: x.x 17 | python: 18 | - 3.13.* *_cp313 19 | target_platform: 20 | - win-64 21 | -------------------------------------------------------------------------------- /.ci_support/win_64_python3.14.____cp314.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - vs2022 3 | c_stdlib: 4 | - vs 5 | channel_sources: 6 | - conda-forge 7 | channel_targets: 8 | - conda-forge main 9 | cxx_compiler: 10 | - vs2022 11 | libxml2_devel: 12 | - '2.14' 13 | pin_run_as_build: 14 | python: 15 | min_pin: x.x 16 | max_pin: x.x 17 | python: 18 | - 3.14.* *_cp314 19 | target_platform: 20 | - win-64 21 | -------------------------------------------------------------------------------- /.ci_support/win_64_python3.10.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - vs2022 3 | c_stdlib: 4 | - vs 5 | channel_sources: 6 | - conda-forge 7 | channel_targets: 8 | - conda-forge main 9 | cxx_compiler: 10 | - vs2022 11 | libxml2_devel: 12 | - '2.14' 13 | pin_run_as_build: 14 | python: 15 | min_pin: x.x 16 | max_pin: x.x 17 | python: 18 | - 3.10.* *_cpython 19 | target_platform: 20 | - win-64 21 | -------------------------------------------------------------------------------- /.ci_support/win_64_python3.11.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - vs2022 3 | c_stdlib: 4 | - vs 5 | channel_sources: 6 | - conda-forge 7 | channel_targets: 8 | - conda-forge main 9 | cxx_compiler: 10 | - vs2022 11 | libxml2_devel: 12 | - '2.14' 13 | pin_run_as_build: 14 | python: 15 | min_pin: x.x 16 | max_pin: x.x 17 | python: 18 | - 3.11.* *_cpython 19 | target_platform: 20 | - win-64 21 | -------------------------------------------------------------------------------- /.ci_support/win_64_python3.12.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - vs2022 3 | c_stdlib: 4 | - vs 5 | channel_sources: 6 | - conda-forge 7 | channel_targets: 8 | - conda-forge main 9 | cxx_compiler: 10 | - vs2022 11 | libxml2_devel: 12 | - '2.14' 13 | pin_run_as_build: 14 | python: 15 | min_pin: x.x 16 | max_pin: x.x 17 | python: 18 | - 3.12.* *_cpython 19 | target_platform: 20 | - win-64 21 | -------------------------------------------------------------------------------- /.ci_support/migrations/libxml2214.yaml: -------------------------------------------------------------------------------- 1 | __migrator: 2 | build_number: 1 3 | commit_message: Rebuild for libxml2 2.14 4 | kind: version 5 | migration_number: 1 6 | exclude: 7 | # break circularity with compiler stack 8 | - llvmdev 9 | - clangdev 10 | - compiler-rt 11 | - lld 12 | # same for libgsf and msitools 13 | - libgsf 14 | libxml2: 15 | - '2.14' 16 | libxml2_devel: 17 | - '2.14' 18 | migrator_ts: 1743812129.3751788 19 | -------------------------------------------------------------------------------- /recipe/patches/pyi_osx.patch: -------------------------------------------------------------------------------- 1 | diff --git a/sources/pyside2/cmake/Macros/PySideModules.cmake b/sources/pyside2/cmake/Macros/PySideModules.cmake 2 | index dca00ec1..ac399d57 100644 3 | --- a/sources/pyside6/cmake/Macros/PySideModules.cmake 4 | +++ b/sources/pyside6/cmake/Macros/PySideModules.cmake 5 | @@ -170,7 +170,7 @@ macro(create_pyside_module) 6 | if (WIN32) 7 | set(ld_prefix_var_name "PATH") 8 | elseif(APPLE) 9 | - set(ld_prefix_var_name "DYLD_LIBRARY_PATH") 10 | + set(ld_prefix_var_name "DYLD_FALLBACK_LIBRARY_PATH") 11 | else() 12 | set(ld_prefix_var_name "LD_LIBRARY_PATH") 13 | endif() 14 | -------------------------------------------------------------------------------- /.ci_support/linux_64_python3.13.____cp313.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | libxml2_devel: 20 | - '2.14' 21 | pin_run_as_build: 22 | python: 23 | min_pin: x.x 24 | max_pin: x.x 25 | python: 26 | - 3.13.* *_cp313 27 | target_platform: 28 | - linux-64 29 | zip_keys: 30 | - - c_compiler_version 31 | - cxx_compiler_version 32 | -------------------------------------------------------------------------------- /.ci_support/linux_64_python3.14.____cp314.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | libxml2_devel: 20 | - '2.14' 21 | pin_run_as_build: 22 | python: 23 | min_pin: x.x 24 | max_pin: x.x 25 | python: 26 | - 3.14.* *_cp314 27 | target_platform: 28 | - linux-64 29 | zip_keys: 30 | - - c_compiler_version 31 | - cxx_compiler_version 32 | -------------------------------------------------------------------------------- /.ci_support/linux_64_python3.10.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | libxml2_devel: 20 | - '2.14' 21 | pin_run_as_build: 22 | python: 23 | min_pin: x.x 24 | max_pin: x.x 25 | python: 26 | - 3.10.* *_cpython 27 | target_platform: 28 | - linux-64 29 | zip_keys: 30 | - - c_compiler_version 31 | - cxx_compiler_version 32 | -------------------------------------------------------------------------------- /.ci_support/linux_64_python3.11.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | libxml2_devel: 20 | - '2.14' 21 | pin_run_as_build: 22 | python: 23 | min_pin: x.x 24 | max_pin: x.x 25 | python: 26 | - 3.11.* *_cpython 27 | target_platform: 28 | - linux-64 29 | zip_keys: 30 | - - c_compiler_version 31 | - cxx_compiler_version 32 | -------------------------------------------------------------------------------- /.ci_support/linux_64_python3.12.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | libxml2_devel: 20 | - '2.14' 21 | pin_run_as_build: 22 | python: 23 | min_pin: x.x 24 | max_pin: x.x 25 | python: 26 | - 3.12.* *_cpython 27 | target_platform: 28 | - linux-64 29 | zip_keys: 30 | - - c_compiler_version 31 | - cxx_compiler_version 32 | -------------------------------------------------------------------------------- /.ci_support/linux_aarch64_python3.13.____cp313.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | libxml2_devel: 20 | - '2.14' 21 | pin_run_as_build: 22 | python: 23 | min_pin: x.x 24 | max_pin: x.x 25 | python: 26 | - 3.13.* *_cp313 27 | target_platform: 28 | - linux-aarch64 29 | zip_keys: 30 | - - c_compiler_version 31 | - cxx_compiler_version 32 | -------------------------------------------------------------------------------- /.ci_support/linux_aarch64_python3.14.____cp314.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | libxml2_devel: 20 | - '2.14' 21 | pin_run_as_build: 22 | python: 23 | min_pin: x.x 24 | max_pin: x.x 25 | python: 26 | - 3.14.* *_cp314 27 | target_platform: 28 | - linux-aarch64 29 | zip_keys: 30 | - - c_compiler_version 31 | - cxx_compiler_version 32 | -------------------------------------------------------------------------------- /.ci_support/linux_aarch64_python3.10.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | libxml2_devel: 20 | - '2.14' 21 | pin_run_as_build: 22 | python: 23 | min_pin: x.x 24 | max_pin: x.x 25 | python: 26 | - 3.10.* *_cpython 27 | target_platform: 28 | - linux-aarch64 29 | zip_keys: 30 | - - c_compiler_version 31 | - cxx_compiler_version 32 | -------------------------------------------------------------------------------- /.ci_support/linux_aarch64_python3.11.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | libxml2_devel: 20 | - '2.14' 21 | pin_run_as_build: 22 | python: 23 | min_pin: x.x 24 | max_pin: x.x 25 | python: 26 | - 3.11.* *_cpython 27 | target_platform: 28 | - linux-aarch64 29 | zip_keys: 30 | - - c_compiler_version 31 | - cxx_compiler_version 32 | -------------------------------------------------------------------------------- /.ci_support/linux_aarch64_python3.12.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | libxml2_devel: 20 | - '2.14' 21 | pin_run_as_build: 22 | python: 23 | min_pin: x.x 24 | max_pin: x.x 25 | python: 26 | - 3.12.* *_cpython 27 | target_platform: 28 | - linux-aarch64 29 | zip_keys: 30 | - - c_compiler_version 31 | - cxx_compiler_version 32 | -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | # This file was generated automatically from conda-smithy. To update this configuration, 2 | # update the conda-forge.yml and/or the recipe/meta.yaml. 3 | # -*- mode: jinja-yaml -*- 4 | 5 | version: 2 6 | 7 | jobs: 8 | build: 9 | working_directory: ~/test 10 | machine: 11 | image: ubuntu-2004:current 12 | steps: 13 | - run: 14 | # The Circle-CI build should not be active, but if this is not true for some reason, do a fast finish. 15 | command: exit 0 16 | 17 | workflows: 18 | version: 2 19 | build_and_test: 20 | jobs: 21 | - build: 22 | filters: 23 | branches: 24 | ignore: 25 | - /.*/ 26 | -------------------------------------------------------------------------------- /recipe/patches/do_not_store_build_time_compiler.patch: -------------------------------------------------------------------------------- 1 | diff --git a/sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp b/sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp 2 | index 4eb1a9ee8..137b4c44a 100644 3 | --- a/sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp 4 | +++ b/sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp 5 | @@ -295,6 +295,7 @@ static QString findClangBuiltInIncludesDir() 6 | 7 | static QString compilerFromCMake(const QString &defaultCompiler) 8 | { 9 | + return qEnvironmentVariable("CXX", defaultCompiler); 10 | if (!compilerPath().isEmpty()) 11 | return compilerPath(); 12 | // Added !defined(Q_OS_DARWIN) due to PYSIDE-1032 13 | -------------------------------------------------------------------------------- /.ci_support/osx_64_python3.13.____cp313.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '12.3' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '19' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '19' 21 | libxml2_devel: 22 | - '2.14' 23 | macos_machine: 24 | - x86_64-apple-darwin13.4.0 25 | pin_run_as_build: 26 | python: 27 | min_pin: x.x 28 | max_pin: x.x 29 | python: 30 | - 3.13.* *_cp313 31 | target_platform: 32 | - osx-64 33 | zip_keys: 34 | - - c_compiler_version 35 | - cxx_compiler_version 36 | -------------------------------------------------------------------------------- /.ci_support/osx_64_python3.14.____cp314.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '12.3' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '19' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '19' 21 | libxml2_devel: 22 | - '2.14' 23 | macos_machine: 24 | - x86_64-apple-darwin13.4.0 25 | pin_run_as_build: 26 | python: 27 | min_pin: x.x 28 | max_pin: x.x 29 | python: 30 | - 3.14.* *_cp314 31 | target_platform: 32 | - osx-64 33 | zip_keys: 34 | - - c_compiler_version 35 | - cxx_compiler_version 36 | -------------------------------------------------------------------------------- /.ci_support/osx_64_python3.10.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '12.3' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '19' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '19' 21 | libxml2_devel: 22 | - '2.14' 23 | macos_machine: 24 | - x86_64-apple-darwin13.4.0 25 | pin_run_as_build: 26 | python: 27 | min_pin: x.x 28 | max_pin: x.x 29 | python: 30 | - 3.10.* *_cpython 31 | target_platform: 32 | - osx-64 33 | zip_keys: 34 | - - c_compiler_version 35 | - cxx_compiler_version 36 | -------------------------------------------------------------------------------- /.ci_support/osx_64_python3.11.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '12.3' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '19' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '19' 21 | libxml2_devel: 22 | - '2.14' 23 | macos_machine: 24 | - x86_64-apple-darwin13.4.0 25 | pin_run_as_build: 26 | python: 27 | min_pin: x.x 28 | max_pin: x.x 29 | python: 30 | - 3.11.* *_cpython 31 | target_platform: 32 | - osx-64 33 | zip_keys: 34 | - - c_compiler_version 35 | - cxx_compiler_version 36 | -------------------------------------------------------------------------------- /.ci_support/osx_64_python3.12.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '12.3' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '19' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '19' 21 | libxml2_devel: 22 | - '2.14' 23 | macos_machine: 24 | - x86_64-apple-darwin13.4.0 25 | pin_run_as_build: 26 | python: 27 | min_pin: x.x 28 | max_pin: x.x 29 | python: 30 | - 3.12.* *_cpython 31 | target_platform: 32 | - osx-64 33 | zip_keys: 34 | - - c_compiler_version 35 | - cxx_compiler_version 36 | -------------------------------------------------------------------------------- /.ci_support/osx_arm64_python3.13.____cp313.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '12.3' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '19' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '19' 21 | libxml2_devel: 22 | - '2.14' 23 | macos_machine: 24 | - arm64-apple-darwin20.0.0 25 | pin_run_as_build: 26 | python: 27 | min_pin: x.x 28 | max_pin: x.x 29 | python: 30 | - 3.13.* *_cp313 31 | target_platform: 32 | - osx-arm64 33 | zip_keys: 34 | - - c_compiler_version 35 | - cxx_compiler_version 36 | -------------------------------------------------------------------------------- /.ci_support/osx_arm64_python3.14.____cp314.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '12.3' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '19' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '19' 21 | libxml2_devel: 22 | - '2.14' 23 | macos_machine: 24 | - arm64-apple-darwin20.0.0 25 | pin_run_as_build: 26 | python: 27 | min_pin: x.x 28 | max_pin: x.x 29 | python: 30 | - 3.14.* *_cp314 31 | target_platform: 32 | - osx-arm64 33 | zip_keys: 34 | - - c_compiler_version 35 | - cxx_compiler_version 36 | -------------------------------------------------------------------------------- /.ci_support/osx_arm64_python3.10.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '12.3' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '19' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '19' 21 | libxml2_devel: 22 | - '2.14' 23 | macos_machine: 24 | - arm64-apple-darwin20.0.0 25 | pin_run_as_build: 26 | python: 27 | min_pin: x.x 28 | max_pin: x.x 29 | python: 30 | - 3.10.* *_cpython 31 | target_platform: 32 | - osx-arm64 33 | zip_keys: 34 | - - c_compiler_version 35 | - cxx_compiler_version 36 | -------------------------------------------------------------------------------- /.ci_support/osx_arm64_python3.11.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '12.3' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '19' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '19' 21 | libxml2_devel: 22 | - '2.14' 23 | macos_machine: 24 | - arm64-apple-darwin20.0.0 25 | pin_run_as_build: 26 | python: 27 | min_pin: x.x 28 | max_pin: x.x 29 | python: 30 | - 3.11.* *_cpython 31 | target_platform: 32 | - osx-arm64 33 | zip_keys: 34 | - - c_compiler_version 35 | - cxx_compiler_version 36 | -------------------------------------------------------------------------------- /.ci_support/osx_arm64_python3.12.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '12.3' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '19' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '19' 21 | libxml2_devel: 22 | - '2.14' 23 | macos_machine: 24 | - arm64-apple-darwin20.0.0 25 | pin_run_as_build: 26 | python: 27 | min_pin: x.x 28 | max_pin: x.x 29 | python: 30 | - 3.12.* *_cpython 31 | target_platform: 32 | - osx-arm64 33 | zip_keys: 34 | - - c_compiler_version 35 | - cxx_compiler_version 36 | -------------------------------------------------------------------------------- /recipe/patches/qfp_osx.patch: -------------------------------------------------------------------------------- 1 | diff --git a/sources/shiboken6/cmake/ShibokenHelpers.cmake b/sources/shiboken6/cmake/ShibokenHelpers.cmake 2 | index 4fdfe3648..8a60054fe 100644 3 | --- a/sources/shiboken6/cmake/ShibokenHelpers.cmake 4 | +++ b/sources/shiboken6/cmake/ShibokenHelpers.cmake 5 | @@ -767,7 +767,7 @@ set PATH=${path_dirs_native};%PATH% 6 | elseif(CMAKE_HOST_APPLE) 7 | string(REPLACE ";" ":" path_dirs_native "${path_dirs_native}") 8 | file(WRITE "${wrapper_path}" "#!/bin/bash 9 | -export DYLD_LIBRARY_PATH=${path_dirs_native}:$DYLD_LIBRARY_PATH 10 | +export DYLD_FALLBACK_LIBRARY_PATH=${path_dirs_native}:$DYLD_FALLBACK_LIBRARY_PATH 11 | export DYLD_FRAMEWORK_PATH=${path_dirs_native}:$DYLD_FRAMEWORK_PATH 12 | $@") 13 | else() 14 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | 3 | *.patch binary 4 | *.diff binary 5 | meta.yaml text eol=lf 6 | build.sh text eol=lf 7 | bld.bat text eol=crlf 8 | 9 | # github helper pieces to make some files not show up in diffs automatically 10 | .azure-pipelines/* linguist-generated=true 11 | .circleci/* linguist-generated=true 12 | .ci_support/README linguist-generated=true 13 | .drone/* linguist-generated=true 14 | .drone.yml linguist-generated=true 15 | .github/* linguist-generated=true 16 | .travis/* linguist-generated=true 17 | .appveyor.yml linguist-generated=true 18 | .gitattributes linguist-generated=true 19 | .gitignore linguist-generated=true 20 | .travis.yml linguist-generated=true 21 | .scripts/* linguist-generated=true 22 | .woodpecker.yml linguist-generated=true 23 | /LICENSE.txt linguist-generated=true 24 | /README.md linguist-generated=true 25 | azure-pipelines.yml linguist-generated=true 26 | build-locally.py linguist-generated=true 27 | pixi.toml linguist-generated=true 28 | shippable.yml linguist-generated=true 29 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # User content belongs under recipe/. 2 | # Feedstock configuration goes in `conda-forge.yml` 3 | # Everything else is managed by the conda-smithy rerender process. 4 | # Please do not modify 5 | 6 | # Ignore all files and folders in root 7 | * 8 | !/conda-forge.yml 9 | 10 | # Don't ignore any files/folders if the parent folder is 'un-ignored' 11 | # This also avoids warnings when adding an already-checked file with an ignored parent. 12 | !/**/ 13 | # Don't ignore any files/folders recursively in the following folders 14 | !/recipe/** 15 | !/.ci_support/** 16 | 17 | # Since we ignore files/folders recursively, any folders inside 18 | # build_artifacts gets ignored which trips some build systems. 19 | # To avoid that we 'un-ignore' all files/folders recursively 20 | # and only ignore the root build_artifacts folder. 21 | !/build_artifacts/** 22 | /build_artifacts 23 | 24 | *.pyc 25 | 26 | # Rattler-build's artifacts are in `output` when not specifying anything. 27 | /output 28 | # Pixi's configuration 29 | .pixi 30 | -------------------------------------------------------------------------------- /.scripts/logging_utils.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Provide a unified interface for the different logging 4 | # utilities CI providers offer. If unavailable, provide 5 | # a compatible fallback (e.g. bare `echo xxxxxx`). 6 | 7 | function startgroup { 8 | # Start a foldable group of log lines 9 | # Pass a single argument, quoted 10 | case ${CI:-} in 11 | azure ) 12 | echo "##[group]$1";; 13 | travis ) 14 | echo "$1" 15 | echo -en 'travis_fold:start:'"${1// /}"'\r';; 16 | github_actions ) 17 | echo "::group::$1";; 18 | * ) 19 | echo "$1";; 20 | esac 21 | } 2> /dev/null 22 | 23 | function endgroup { 24 | # End a foldable group of log lines 25 | # Pass a single argument, quoted 26 | 27 | case ${CI:-} in 28 | azure ) 29 | echo "##[endgroup]";; 30 | travis ) 31 | echo -en 'travis_fold:end:'"${1// /}"'\r';; 32 | github_actions ) 33 | echo "::endgroup::";; 34 | esac 35 | } 2> /dev/null 36 | -------------------------------------------------------------------------------- /recipe/patches/0001-Fix-memory-leak.patch: -------------------------------------------------------------------------------- 1 | From 4da546552760153e8439da6fd8f1d2c327afe19a Mon Sep 17 00:00:00 2001 2 | From: Jindrich Makovicka 3 | Date: Fri, 28 Feb 2025 08:21:32 -0500 4 | Subject: [PATCH] Fix memory leak 5 | 6 | Change-Id: Icbbcee9d33fcefaea19d0d4883131ed50fe70e34 7 | --- 8 | sources/pyside6/PySide6/glue/qtcore.cpp | 2 -- 9 | 1 file changed, 2 deletions(-) 10 | 11 | diff --git a/sources/pyside6/PySide6/glue/qtcore.cpp b/sources/pyside6/PySide6/glue/qtcore.cpp 12 | index da8442d14..1e8488d81 100644 13 | --- a/sources/pyside6/PySide6/glue/qtcore.cpp 14 | +++ b/sources/pyside6/PySide6/glue/qtcore.cpp 15 | @@ -821,8 +821,6 @@ static int SbkQByteArray_getbufferproc(PyObject *obj, Py_buffer *view, int flags 16 | #else // Py_LIMITED_API 17 | const int result = PyBuffer_FillInfo(view, obj, reinterpret_cast(cppSelf->data()), 18 | cppSelf->size(), 0, flags); 19 | - if (result == 0) 20 | - Py_XINCREF(obj); 21 | return result; 22 | #endif 23 | } 24 | -- 25 | 2.48.1 26 | 27 | -------------------------------------------------------------------------------- /recipe/patches/no_abi3.patch: -------------------------------------------------------------------------------- 1 | diff --git a/sources/pyside6/plugins/designer/CMakeLists.txt b/sources/pyside6/plugins/designer/CMakeLists.txt 2 | index f886c7f36..49bfcca2e 100644 3 | --- a/sources/pyside6/plugins/designer/CMakeLists.txt 4 | +++ b/sources/pyside6/plugins/designer/CMakeLists.txt 5 | @@ -25,7 +25,7 @@ target_compile_definitions(PySidePlugin PRIVATE -DQT_NO_KEYWORDS=1) 6 | # For Windows we use the limited API by default 7 | # See ShibokenHelpers.cmake::shiboken_check_if_limited_api() which is called always 8 | # with default FORCE_LIMITED_API set to TRUE for building libshiboken 9 | -if(FORCE_LIMITED_API OR WIN32) 10 | +if(FORCE_LIMITED_API) 11 | target_compile_definitions(PySidePlugin PRIVATE "-DPy_LIMITED_API=0x03090000") 12 | endif() 13 | 14 | diff --git a/sources/shiboken6/cmake/ShibokenSetup.cmake b/sources/shiboken6/cmake/ShibokenSetup.cmake 15 | index 32823d9fa..40df10fc7 100644 16 | --- a/sources/shiboken6/cmake/ShibokenSetup.cmake 17 | +++ b/sources/shiboken6/cmake/ShibokenSetup.cmake 18 | @@ -57,7 +57,7 @@ endif() 19 | option(FORCE_LIMITED_API "Enable the limited API." "yes") 20 | set(PYTHON_LIMITED_API 0) 21 | 22 | -shiboken_check_if_limited_api() 23 | +#shiboken_check_if_limited_api() 24 | 25 | if(PYTHON_LIMITED_API) 26 | set_limited_api() 27 | -------------------------------------------------------------------------------- /.ci_support/migrations/python314.yaml: -------------------------------------------------------------------------------- 1 | # this is intentionally sorted before the 3.13t migrator, because that determines 2 | # the order of application of the migrators; otherwise we'd have to add values for 3 | # is_freethreading and is_abi3 keys here, since that migration extends the zip; 4 | migrator_ts: 1724712607 5 | __migrator: 6 | commit_message: Rebuild for python 3.14 7 | migration_number: 1 8 | operation: key_add 9 | primary_key: python 10 | ordering: 11 | python: 12 | - 3.9.* *_cpython 13 | - 3.10.* *_cpython 14 | - 3.11.* *_cpython 15 | - 3.12.* *_cpython 16 | - 3.13.* *_cp313 17 | - 3.13.* *_cp313t 18 | - 3.14.* *_cp314 # new entry 19 | paused: false 20 | longterm: true 21 | pr_limit: 5 22 | max_solver_attempts: 3 # this will make the bot retry "not solvable" stuff 12 times 23 | exclude: 24 | # this shouldn't attempt to modify the python feedstocks 25 | - python 26 | - pypy3.6 27 | - pypy-meta 28 | - cross-python 29 | - python_abi 30 | exclude_pinned_pkgs: false 31 | ignored_deps_per_node: 32 | matplotlib: 33 | - pyqt 34 | additional_zip_keys: 35 | - channel_sources 36 | 37 | python: 38 | - 3.14.* *_cp314 39 | # additional entries to add for zip_keys 40 | is_python_min: 41 | - false 42 | channel_sources: 43 | - conda-forge,conda-forge/label/python_rc 44 | -------------------------------------------------------------------------------- /azure-pipelines.yml: -------------------------------------------------------------------------------- 1 | # This file was generated automatically from conda-smithy. To update this configuration, 2 | # update the conda-forge.yml and/or the recipe/meta.yaml. 3 | # -*- mode: yaml -*- 4 | 5 | stages: 6 | - stage: Check 7 | jobs: 8 | - job: Skip 9 | pool: 10 | vmImage: 'ubuntu-22.04' 11 | variables: 12 | DECODE_PERCENTS: 'false' 13 | RET: 'true' 14 | steps: 15 | - checkout: self 16 | fetchDepth: '2' 17 | - bash: | 18 | git_log=`git log --max-count=1 --skip=1 --pretty=format:"%B" | tr "\n" " "` 19 | echo "##vso[task.setvariable variable=log]$git_log" 20 | displayName: Obtain commit message 21 | - bash: echo "##vso[task.setvariable variable=RET]false" 22 | condition: and(eq(variables['Build.Reason'], 'PullRequest'), or(contains(variables.log, '[skip azp]'), contains(variables.log, '[azp skip]'), contains(variables.log, '[skip ci]'), contains(variables.log, '[ci skip]'))) 23 | displayName: Skip build? 24 | - bash: echo "##vso[task.setvariable variable=start_main;isOutput=true]$RET" 25 | name: result 26 | displayName: Export result 27 | - stage: Build 28 | condition: and(succeeded(), eq(dependencies.Check.outputs['Skip.result.start_main'], 'true')) 29 | dependsOn: Check 30 | jobs: 31 | - template: ./.azure-pipelines/azure-pipelines-linux.yml 32 | - template: ./.azure-pipelines/azure-pipelines-osx.yml 33 | - template: ./.azure-pipelines/azure-pipelines-win.yml -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | BSD-3-Clause license 2 | Copyright (c) 2015-2022, conda-forge contributors 3 | All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions are met: 7 | 8 | 1. Redistributions of source code must retain the above copyright notice, 9 | this list of conditions and the following disclaimer. 10 | 2. Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in the 12 | documentation and/or other materials provided with the distribution. 13 | 3. Neither the name of the copyright holder nor the names of its 14 | contributors may be used to endorse or promote products derived from 15 | this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR 21 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 23 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 24 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 | OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 27 | DAMAGE. 28 | -------------------------------------------------------------------------------- /recipe/patches/tools.patch: -------------------------------------------------------------------------------- 1 | diff -ur a/sources/pyside-tools/pyside_tool.py b/sources/pyside-tools/pyside_tool.py 2 | --- a/sources/pyside-tools/pyside_tool.py 2024-04-05 12:14:14.000000000 -0400 3 | +++ b/sources/pyside-tools/pyside_tool.py 2024-05-19 16:27:51.368920401 -0400 4 | @@ -8,6 +8,7 @@ 5 | import sys 6 | import sysconfig 7 | from pathlib import Path 8 | +from subprocess import PIPE, Popen 9 | 10 | import PySide6 as ref_mod 11 | 12 | @@ -49,18 +50,22 @@ 13 | def qt_tool_wrapper(qt_tool, args, libexec=False): 14 | # Taking care of pyside6-uic, pyside6-rcc, and pyside6-designer 15 | # listed as an entrypoint in setup.py 16 | - pyside_dir = Path(ref_mod.__file__).resolve().parent 17 | - if libexec and sys.platform != "win32": 18 | - exe = pyside_dir / 'Qt' / 'libexec' / qt_tool 19 | - else: 20 | - exe = pyside_dir / qt_tool 21 | + # On conda-forge, the command rcc and uic may get clobbered 22 | + # by the user's qt-main (qt5) installation, and as such, 23 | + # we specify the original tools used by PySide6. 24 | + exec_prefix = sys.exec_prefix 25 | + if sys.platform == "win32": 26 | + exec_prefix = os.path.join(exec_prefix, "Library") 27 | + exe = os.path.join(exec_prefix, "lib", "qt6", qt_tool) 28 | 29 | cmd = [os.fspath(exe)] + args 30 | - returncode = subprocess.call(cmd) 31 | - if returncode != 0: 32 | + proc = Popen(cmd, stderr=PIPE) 33 | + out, err = proc.communicate() 34 | + if err: 35 | + msg = err.decode("utf-8") 36 | command = ' '.join(cmd) 37 | - print(f"'{command}' returned {returncode}", file=sys.stderr) 38 | - sys.exit(returncode) 39 | + print(f"Error: {msg}\nwhile executing '{command}'") 40 | + sys.exit(proc.returncode) 41 | 42 | 43 | def pyside_script_wrapper(script_name): 44 | -------------------------------------------------------------------------------- /.azure-pipelines/azure-pipelines-win.yml: -------------------------------------------------------------------------------- 1 | # This file was generated automatically from conda-smithy. To update this configuration, 2 | # update the conda-forge.yml and/or the recipe/meta.yaml. 3 | # -*- mode: yaml -*- 4 | 5 | jobs: 6 | - job: win 7 | pool: 8 | vmImage: windows-2022 9 | strategy: 10 | matrix: 11 | win_64_python3.10.____cpython: 12 | CONFIG: win_64_python3.10.____cpython 13 | UPLOAD_PACKAGES: 'True' 14 | win_64_python3.11.____cpython: 15 | CONFIG: win_64_python3.11.____cpython 16 | UPLOAD_PACKAGES: 'True' 17 | win_64_python3.12.____cpython: 18 | CONFIG: win_64_python3.12.____cpython 19 | UPLOAD_PACKAGES: 'True' 20 | win_64_python3.13.____cp313: 21 | CONFIG: win_64_python3.13.____cp313 22 | UPLOAD_PACKAGES: 'True' 23 | win_64_python3.14.____cp314: 24 | CONFIG: win_64_python3.14.____cp314 25 | UPLOAD_PACKAGES: 'True' 26 | timeoutInMinutes: 360 27 | variables: 28 | CONDA_BLD_PATH: D:\\bld\\ 29 | MINIFORGE_HOME: D:\Miniforge 30 | UPLOAD_TEMP: D:\\tmp 31 | 32 | steps: 33 | 34 | - script: | 35 | call ".scripts\run_win_build.bat" 36 | displayName: Run Windows build 37 | env: 38 | MINIFORGE_HOME: $(MINIFORGE_HOME) 39 | CONDA_BLD_PATH: $(CONDA_BLD_PATH) 40 | PYTHONUNBUFFERED: 1 41 | CONFIG: $(CONFIG) 42 | CI: azure 43 | flow_run_id: azure_$(Build.BuildNumber).$(System.JobAttempt) 44 | remote_url: $(Build.Repository.Uri) 45 | sha: $(Build.SourceVersion) 46 | UPLOAD_PACKAGES: $(UPLOAD_PACKAGES) 47 | UPLOAD_TEMP: $(UPLOAD_TEMP) 48 | BINSTAR_TOKEN: $(BINSTAR_TOKEN) 49 | FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) 50 | STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) 51 | -------------------------------------------------------------------------------- /recipe/bld.bat: -------------------------------------------------------------------------------- 1 | :: build shiboken only 2 | cmake %CMAKE_ARGS% -LAH -G "Ninja" ^ 3 | -DCMAKE_UNITY_BUILD=ON -DCMAKE_UNITY_BUILD_BATCH_SIZE=32 ^ 4 | -DPYTHON_SITE_PACKAGES="%SP_DIR:\=/%" ^ 5 | -DBUILD_TESTS=OFF ^ 6 | -DFORCE_LIMITED_API=OFF ^ 7 | -DPython_EXECUTABLE="%PYTHON%" ^ 8 | -B build_shiboken %SRC_DIR:\=/%/sources/shiboken6 9 | if errorlevel 1 exit 1 10 | 11 | cmake --build build_shiboken --target install 12 | if errorlevel 1 exit 1 13 | 14 | :: write dummy shiboken metadata 15 | mkdir %SP_DIR%\shiboken6-%PKG_VERSION%.dist-info 16 | copy %RECIPE_DIR%\METADATA.shiboken6.in %SP_DIR%\shiboken6-%PKG_VERSION%.dist-info\METADATA 17 | echo Version: %PKG_VERSION% >> %SP_DIR%\shiboken6-%PKG_VERSION%.dist-info\METADATA 18 | type %SP_DIR%\shiboken6-%PKG_VERSION%.dist-info\METADATA 19 | 20 | :: build all 21 | cmake %CMAKE_ARGS% -LAH -G "Ninja" ^ 22 | -DCMAKE_UNITY_BUILD=ON ^ 23 | -DCMAKE_UNITY_BUILD_BATCH_SIZE=32 ^ 24 | -DPYTHON_SITE_PACKAGES="%SP_DIR:\=/%" ^ 25 | -DBUILD_TESTS=OFF ^ 26 | -DFORCE_LIMITED_API=OFF ^ 27 | -DPython_EXECUTABLE="%PYTHON%" ^ 28 | -DNO_QT_TOOLS=yes ^ 29 | -B build . 30 | if errorlevel 1 exit 1 31 | 32 | cmake --build build --target install 33 | if errorlevel 1 exit 1 34 | 35 | :: write dummy pyside metadata 36 | mkdir %SP_DIR%\PySide6-%PKG_VERSION%.dist-info 37 | copy %RECIPE_DIR%\METADATA.pyside6.in %SP_DIR%\PySide6-%PKG_VERSION%.dist-info\METADATA 38 | echo Version: %PKG_VERSION% >> %SP_DIR%\PySide6-%PKG_VERSION%.dist-info\METADATA 39 | type %SP_DIR%\PySide6-%PKG_VERSION%.dist-info\METADATA 40 | 41 | :: Move pyside_tool.py to the right location 42 | mkdir %SP_DIR%\PySide6\scripts 43 | type nul > %SP_DIR%\PySide6\scripts\__init__.py 44 | move %LIBRARY_PREFIX%\bin\pyside_tool.py %SP_DIR%\PySide6\scripts\pyside_tool.py 45 | -------------------------------------------------------------------------------- /.azure-pipelines/azure-pipelines-osx.yml: -------------------------------------------------------------------------------- 1 | # This file was generated automatically from conda-smithy. To update this configuration, 2 | # update the conda-forge.yml and/or the recipe/meta.yaml. 3 | # -*- mode: yaml -*- 4 | 5 | jobs: 6 | - job: osx 7 | pool: 8 | vmImage: macOS-15 9 | strategy: 10 | matrix: 11 | osx_64_python3.10.____cpython: 12 | CONFIG: osx_64_python3.10.____cpython 13 | UPLOAD_PACKAGES: 'True' 14 | osx_64_python3.11.____cpython: 15 | CONFIG: osx_64_python3.11.____cpython 16 | UPLOAD_PACKAGES: 'True' 17 | osx_64_python3.12.____cpython: 18 | CONFIG: osx_64_python3.12.____cpython 19 | UPLOAD_PACKAGES: 'True' 20 | osx_64_python3.13.____cp313: 21 | CONFIG: osx_64_python3.13.____cp313 22 | UPLOAD_PACKAGES: 'True' 23 | osx_64_python3.14.____cp314: 24 | CONFIG: osx_64_python3.14.____cp314 25 | UPLOAD_PACKAGES: 'True' 26 | osx_arm64_python3.10.____cpython: 27 | CONFIG: osx_arm64_python3.10.____cpython 28 | UPLOAD_PACKAGES: 'True' 29 | osx_arm64_python3.11.____cpython: 30 | CONFIG: osx_arm64_python3.11.____cpython 31 | UPLOAD_PACKAGES: 'True' 32 | osx_arm64_python3.12.____cpython: 33 | CONFIG: osx_arm64_python3.12.____cpython 34 | UPLOAD_PACKAGES: 'True' 35 | osx_arm64_python3.13.____cp313: 36 | CONFIG: osx_arm64_python3.13.____cp313 37 | UPLOAD_PACKAGES: 'True' 38 | osx_arm64_python3.14.____cp314: 39 | CONFIG: osx_arm64_python3.14.____cp314 40 | UPLOAD_PACKAGES: 'True' 41 | timeoutInMinutes: 360 42 | variables: {} 43 | 44 | steps: 45 | # TODO: Fast finish on azure pipelines? 46 | - script: | 47 | export CI=azure 48 | export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt) 49 | export remote_url=$(Build.Repository.Uri) 50 | export sha=$(Build.SourceVersion) 51 | export OSX_FORCE_SDK_DOWNLOAD="1" 52 | export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME 53 | export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) 54 | if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then 55 | export IS_PR_BUILD="True" 56 | else 57 | export IS_PR_BUILD="False" 58 | fi 59 | ./.scripts/run_osx_build.sh 60 | displayName: Run OSX build 61 | env: 62 | BINSTAR_TOKEN: $(BINSTAR_TOKEN) 63 | FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) 64 | STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) 65 | -------------------------------------------------------------------------------- /.azure-pipelines/azure-pipelines-linux.yml: -------------------------------------------------------------------------------- 1 | # This file was generated automatically from conda-smithy. To update this configuration, 2 | # update the conda-forge.yml and/or the recipe/meta.yaml. 3 | # -*- mode: yaml -*- 4 | 5 | jobs: 6 | - job: linux 7 | pool: 8 | vmImage: ubuntu-latest 9 | strategy: 10 | matrix: 11 | linux_64_python3.10.____cpython: 12 | CONFIG: linux_64_python3.10.____cpython 13 | UPLOAD_PACKAGES: 'True' 14 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 15 | linux_64_python3.11.____cpython: 16 | CONFIG: linux_64_python3.11.____cpython 17 | UPLOAD_PACKAGES: 'True' 18 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 19 | linux_64_python3.12.____cpython: 20 | CONFIG: linux_64_python3.12.____cpython 21 | UPLOAD_PACKAGES: 'True' 22 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 23 | linux_64_python3.13.____cp313: 24 | CONFIG: linux_64_python3.13.____cp313 25 | UPLOAD_PACKAGES: 'True' 26 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 27 | linux_64_python3.14.____cp314: 28 | CONFIG: linux_64_python3.14.____cp314 29 | UPLOAD_PACKAGES: 'True' 30 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 31 | linux_aarch64_python3.10.____cpython: 32 | CONFIG: linux_aarch64_python3.10.____cpython 33 | UPLOAD_PACKAGES: 'True' 34 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 35 | linux_aarch64_python3.11.____cpython: 36 | CONFIG: linux_aarch64_python3.11.____cpython 37 | UPLOAD_PACKAGES: 'True' 38 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 39 | linux_aarch64_python3.12.____cpython: 40 | CONFIG: linux_aarch64_python3.12.____cpython 41 | UPLOAD_PACKAGES: 'True' 42 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 43 | linux_aarch64_python3.13.____cp313: 44 | CONFIG: linux_aarch64_python3.13.____cp313 45 | UPLOAD_PACKAGES: 'True' 46 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 47 | linux_aarch64_python3.14.____cp314: 48 | CONFIG: linux_aarch64_python3.14.____cp314 49 | UPLOAD_PACKAGES: 'True' 50 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 51 | timeoutInMinutes: 360 52 | variables: {} 53 | 54 | steps: 55 | # configure qemu binfmt-misc running. This allows us to run docker containers 56 | # embedded qemu-static 57 | - script: | 58 | docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes 59 | ls /proc/sys/fs/binfmt_misc/ 60 | condition: not(startsWith(variables['CONFIG'], 'linux_64')) 61 | displayName: Configure binfmt_misc 62 | 63 | - script: | 64 | export CI=azure 65 | export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt) 66 | export remote_url=$(Build.Repository.Uri) 67 | export sha=$(Build.SourceVersion) 68 | export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME 69 | export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) 70 | if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then 71 | export IS_PR_BUILD="True" 72 | else 73 | export IS_PR_BUILD="False" 74 | fi 75 | .scripts/run_docker_build.sh 76 | displayName: Run docker build 77 | env: 78 | BINSTAR_TOKEN: $(BINSTAR_TOKEN) 79 | FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) 80 | STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) 81 | -------------------------------------------------------------------------------- /recipe/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -ex 4 | 5 | # hmaarrfk -- 2023/11/17 6 | # Qt seems to look for the VULKAN_SDK environment variable when detecting vulkan support 7 | export VULKAN_SDK=${PREFIX} 8 | 9 | if test "$CONDA_BUILD_CROSS_COMPILATION" = "1" 10 | then 11 | ( 12 | export CC=$CC_FOR_BUILD 13 | export CXX=$CXX_FOR_BUILD 14 | export LDFLAGS=${LDFLAGS//$PREFIX/$BUILD_PREFIX} 15 | export PKG_CONFIG_PATH=${PKG_CONFIG_PATH//$PREFIX/$BUILD_PREFIX} 16 | export CFLAGS=${CFLAGS//$PREFIX/$BUILD_PREFIX} 17 | export CXXFLAGS=${CXXFLAGS//$PREFIX/$BUILD_PREFIX} 18 | 19 | # hide host libs 20 | mkdir -p $BUILD_PREFIX/${HOST} 21 | mv $BUILD_PREFIX/${HOST} _hidden 22 | 23 | cmake -LAH -G "Ninja" \ 24 | -DCMAKE_PREFIX_PATH=${BUILD_PREFIX} \ 25 | -DCMAKE_IGNORE_PREFIX_PATH="${PREFIX}" \ 26 | -DCMAKE_INSTALL_RPATH:STRING=${BUILD_PREFIX}/lib \ 27 | -DCMAKE_RANLIB=$BUILD_PREFIX/bin/${CONDA_TOOLCHAIN_BUILD}-ranlib \ 28 | -DCMAKE_INSTALL_PREFIX=${BUILD_PREFIX} \ 29 | -DCMAKE_UNITY_BUILD=ON -DCMAKE_UNITY_BUILD_BATCH_SIZE=32 \ 30 | -DBUILD_TESTS=OFF \ 31 | -B build_shiboken_native -S sources/shiboken6 32 | cmake --build build_shiboken_native --target install 33 | mv _hidden $BUILD_PREFIX/${HOST} 34 | ) 35 | # wrapper path is hardcoded in sources/shiboken6/cmake/ShibokenHelpers.cmake: 36 | mkdir -p ${BUILD_PREFIX}/../build/shiboken6/.qfp/bin 37 | echo -e '#!/bin/bash\n$@' > ${BUILD_PREFIX}/../build/shiboken6/.qfp/bin/shiboken_wrapper.sh 38 | chmod +x ${BUILD_PREFIX}/../build/shiboken6/.qfp/bin/shiboken_wrapper.sh 39 | 40 | CMAKE_ARGS="${CMAKE_ARGS} -DQFP_SHIBOKEN_HOST_PATH=${BUILD_PREFIX} -DQT_HOST_PATH=${BUILD_PREFIX} -DQFP_PYTHON_HOST_PATH=${BUILD_PREFIX}/bin/python" 41 | 42 | if test `uname` = "Darwin" 43 | then 44 | CMAKE_ARGS="${CMAKE_ARGS} -DPython_SOABI=cpython-${PY_VER//./}-darwin" 45 | fi 46 | fi 47 | 48 | cmake -LAH -G "Ninja" ${CMAKE_ARGS} \ 49 | -DCMAKE_PREFIX_PATH=${PREFIX} \ 50 | -DCMAKE_INSTALL_PREFIX=${PREFIX} \ 51 | -DCMAKE_UNITY_BUILD=ON -DCMAKE_UNITY_BUILD_BATCH_SIZE=32 \ 52 | -DCMAKE_BUILD_TYPE=Release \ 53 | -DCMAKE_INSTALL_RPATH=${PREFIX}/lib \ 54 | -DBUILD_TESTS=OFF \ 55 | -DFORCE_LIMITED_API=OFF \ 56 | -B build_shiboken -S sources/shiboken6 57 | cmake --build build_shiboken --target install 58 | 59 | mkdir ${SP_DIR}/shiboken6-${PKG_VERSION}.dist-info 60 | cp ${RECIPE_DIR}/METADATA.shiboken6.in ${SP_DIR}/shiboken6-${PKG_VERSION}.dist-info/METADATA 61 | echo "Version: ${PKG_VERSION}" >> ${SP_DIR}/shiboken6-${PKG_VERSION}.dist-info/METADATA 62 | 63 | cmake -LAH -G "Ninja" ${CMAKE_ARGS} \ 64 | -DCMAKE_PREFIX_PATH=${PREFIX} \ 65 | -DCMAKE_INSTALL_PREFIX=${PREFIX} \ 66 | -DCMAKE_BUILD_TYPE=Release \ 67 | -DCMAKE_INSTALL_RPATH="${PREFIX}/lib" -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_MACOSX_RPATH=ON \ 68 | -DCMAKE_UNITY_BUILD=ON -DCMAKE_UNITY_BUILD_BATCH_SIZE=32 \ 69 | -DBUILD_TESTS=OFF \ 70 | -B build_pyside -S sources/pyside6 71 | cmake --build build_pyside --target install 72 | 73 | mkdir ${SP_DIR}/PySide6-${PKG_VERSION}.dist-info 74 | cp ${RECIPE_DIR}/METADATA.pyside6.in ${SP_DIR}/PySide6-${PKG_VERSION}.dist-info/METADATA 75 | echo "Version: ${PKG_VERSION}" >> ${SP_DIR}/PySide6-${PKG_VERSION}.dist-info/METADATA 76 | cat ${SP_DIR}/PySide6-${PKG_VERSION}.dist-info/METADATA 77 | 78 | cmake -LAH -G "Ninja" ${CMAKE_ARGS} \ 79 | -DCMAKE_PREFIX_PATH=${PREFIX} \ 80 | -DCMAKE_INSTALL_PREFIX=${PREFIX} \ 81 | -DCMAKE_BUILD_TYPE=Release \ 82 | -DNO_QT_TOOLS=yes \ 83 | -B build_tools -S sources/pyside-tools 84 | cmake --build build_tools --target install 85 | 86 | # Move pyside_tool.py to the right location 87 | mkdir -p "${SP_DIR}"/PySide6/scripts 88 | touch "${SP_DIR}"/PySide6/scripts/__init__.py 89 | mv ${PREFIX}/bin/pyside_tool.py "${SP_DIR}"/PySide6/scripts/pyside_tool.py 90 | -------------------------------------------------------------------------------- /.scripts/build_steps.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here 4 | # will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent 5 | # changes to this script, consider a proposal to conda-smithy so that other feedstocks can also 6 | # benefit from the improvement. 7 | 8 | # -*- mode: jinja-shell -*- 9 | 10 | set -xeuo pipefail 11 | export FEEDSTOCK_ROOT="${FEEDSTOCK_ROOT:-/home/conda/feedstock_root}" 12 | source ${FEEDSTOCK_ROOT}/.scripts/logging_utils.sh 13 | 14 | 15 | ( endgroup "Start Docker" ) 2> /dev/null 16 | 17 | ( startgroup "Configuring conda" ) 2> /dev/null 18 | 19 | export PYTHONUNBUFFERED=1 20 | export RECIPE_ROOT="${RECIPE_ROOT:-/home/conda/recipe_root}" 21 | export CI_SUPPORT="${FEEDSTOCK_ROOT}/.ci_support" 22 | export CONFIG_FILE="${CI_SUPPORT}/${CONFIG}.yaml" 23 | 24 | cat >~/.condarc < /opt/conda/conda-meta/history 36 | micromamba install --root-prefix ~/.conda --prefix /opt/conda \ 37 | --yes --override-channels --channel conda-forge --strict-channel-priority \ 38 | pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1" 39 | export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1 40 | 41 | # set up the condarc 42 | setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" 43 | 44 | source run_conda_forge_build_setup 45 | 46 | 47 | 48 | # make the build number clobber 49 | make_build_number "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" 50 | 51 | if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]] && [[ "${BUILD_WITH_CONDA_DEBUG:-0}" != 1 ]]; then 52 | EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test" 53 | fi 54 | 55 | ( endgroup "Configuring conda" ) 2> /dev/null 56 | 57 | if [[ -f "${FEEDSTOCK_ROOT}/LICENSE.txt" ]]; then 58 | cp "${FEEDSTOCK_ROOT}/LICENSE.txt" "${RECIPE_ROOT}/recipe-scripts-license.txt" 59 | fi 60 | 61 | if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then 62 | if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then 63 | EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}" 64 | fi 65 | conda debug "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ 66 | ${EXTRA_CB_OPTIONS:-} \ 67 | --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" 68 | 69 | # Drop into an interactive shell 70 | /bin/bash 71 | else 72 | conda-build "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ 73 | --suppress-variables ${EXTRA_CB_OPTIONS:-} \ 74 | --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" \ 75 | --extra-meta flow_run_id="${flow_run_id:-}" remote_url="${remote_url:-}" sha="${sha:-}" 76 | ( startgroup "Inspecting artifacts" ) 2> /dev/null 77 | 78 | # inspect_artifacts was only added in conda-forge-ci-setup 4.9.4 79 | command -v inspect_artifacts >/dev/null 2>&1 && inspect_artifacts --recipe-dir "${RECIPE_ROOT}" -m "${CONFIG_FILE}" || echo "inspect_artifacts needs conda-forge-ci-setup >=4.9.4" 80 | 81 | ( endgroup "Inspecting artifacts" ) 2> /dev/null 82 | ( startgroup "Validating outputs" ) 2> /dev/null 83 | 84 | validate_recipe_outputs "${FEEDSTOCK_NAME}" 85 | 86 | ( endgroup "Validating outputs" ) 2> /dev/null 87 | 88 | ( startgroup "Uploading packages" ) 2> /dev/null 89 | 90 | if [[ "${UPLOAD_PACKAGES}" != "False" ]] && [[ "${IS_PR_BUILD}" == "False" ]]; then 91 | upload_package --validate --feedstock-name="${FEEDSTOCK_NAME}" "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" 92 | fi 93 | 94 | ( endgroup "Uploading packages" ) 2> /dev/null 95 | fi 96 | 97 | ( startgroup "Final checks" ) 2> /dev/null 98 | 99 | touch "${FEEDSTOCK_ROOT}/build_artifacts/conda-forge-build-done-${CONFIG}" 100 | -------------------------------------------------------------------------------- /.scripts/run_docker_build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here 4 | # will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent 5 | # changes to this script, consider a proposal to conda-smithy so that other feedstocks can also 6 | # benefit from the improvement. 7 | 8 | source .scripts/logging_utils.sh 9 | 10 | ( startgroup "Configure Docker" ) 2> /dev/null 11 | 12 | set -xeo pipefail 13 | 14 | THISDIR="$( cd "$( dirname "$0" )" >/dev/null && pwd )" 15 | PROVIDER_DIR="$(basename "$THISDIR")" 16 | 17 | FEEDSTOCK_ROOT="$( cd "$( dirname "$0" )/.." >/dev/null && pwd )" 18 | RECIPE_ROOT="${FEEDSTOCK_ROOT}/recipe" 19 | 20 | if [ -z ${FEEDSTOCK_NAME} ]; then 21 | export FEEDSTOCK_NAME=$(basename ${FEEDSTOCK_ROOT}) 22 | fi 23 | 24 | if [[ "${sha:-}" == "" ]]; then 25 | pushd "${FEEDSTOCK_ROOT}" 26 | sha=$(git rev-parse HEAD) 27 | popd 28 | fi 29 | 30 | docker info 31 | 32 | # In order for the conda-build process in the container to write to the mounted 33 | # volumes, we need to run with the same id as the host machine, which is 34 | # normally the owner of the mounted volumes, or at least has write permission 35 | export HOST_USER_ID=$(id -u) 36 | # Check if docker-machine is being used (normally on OSX) and get the uid from 37 | # the VM 38 | if hash docker-machine 2> /dev/null && docker-machine active > /dev/null; then 39 | export HOST_USER_ID=$(docker-machine ssh $(docker-machine active) id -u) 40 | fi 41 | 42 | ARTIFACTS="$FEEDSTOCK_ROOT/build_artifacts" 43 | 44 | if [ -z "$CONFIG" ]; then 45 | set +x 46 | FILES=`ls .ci_support/linux_*` 47 | CONFIGS="" 48 | for file in $FILES; do 49 | CONFIGS="${CONFIGS}'${file:12:-5}' or "; 50 | done 51 | echo "Need to set CONFIG env variable. Value can be one of ${CONFIGS:0:-4}" 52 | exit 1 53 | fi 54 | 55 | if [ -z "${DOCKER_IMAGE}" ]; then 56 | SHYAML_INSTALLED="$(shyaml -h || echo NO)" 57 | if [ "${SHYAML_INSTALLED}" == "NO" ]; then 58 | echo "WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Trying to parse with coreutils" 59 | DOCKER_IMAGE=$(cat .ci_support/${CONFIG}.yaml | grep '^docker_image:$' -A 1 | tail -n 1 | cut -b 3-) 60 | if [ "${DOCKER_IMAGE}" = "" ]; then 61 | echo "No docker_image entry found in ${CONFIG}. Falling back to quay.io/condaforge/linux-anvil-comp7" 62 | DOCKER_IMAGE="quay.io/condaforge/linux-anvil-comp7" 63 | fi 64 | else 65 | DOCKER_IMAGE="$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 quay.io/condaforge/linux-anvil-comp7 )" 66 | fi 67 | fi 68 | 69 | mkdir -p "$ARTIFACTS" 70 | DONE_CANARY="$ARTIFACTS/conda-forge-build-done-${CONFIG}" 71 | rm -f "$DONE_CANARY" 72 | 73 | # Allow people to specify extra default arguments to `docker run` (e.g. `--rm`) 74 | DOCKER_RUN_ARGS="${CONDA_FORGE_DOCKER_RUN_ARGS}" 75 | if [ -z "${CI}" ]; then 76 | DOCKER_RUN_ARGS="-it ${DOCKER_RUN_ARGS}" 77 | fi 78 | 79 | ( endgroup "Configure Docker" ) 2> /dev/null 80 | 81 | ( startgroup "Start Docker" ) 2> /dev/null 82 | 83 | export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}" 84 | export IS_PR_BUILD="${IS_PR_BUILD:-False}" 85 | docker pull "${DOCKER_IMAGE}" 86 | docker run ${DOCKER_RUN_ARGS} \ 87 | -v "${RECIPE_ROOT}":/home/conda/recipe_root:rw,z,delegated \ 88 | -v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw,z,delegated \ 89 | -e CONFIG \ 90 | -e HOST_USER_ID \ 91 | -e UPLOAD_PACKAGES \ 92 | -e IS_PR_BUILD \ 93 | -e GIT_BRANCH \ 94 | -e UPLOAD_ON_BRANCH \ 95 | -e CI \ 96 | -e FEEDSTOCK_NAME \ 97 | -e CPU_COUNT \ 98 | -e BUILD_WITH_CONDA_DEBUG \ 99 | -e BUILD_OUTPUT_ID \ 100 | -e flow_run_id \ 101 | -e remote_url \ 102 | -e sha \ 103 | -e BINSTAR_TOKEN \ 104 | -e FEEDSTOCK_TOKEN \ 105 | -e STAGING_BINSTAR_TOKEN \ 106 | "${DOCKER_IMAGE}" \ 107 | bash \ 108 | "/home/conda/feedstock_root/${PROVIDER_DIR}/build_steps.sh" 109 | 110 | # verify that the end of the script was reached 111 | test -f "$DONE_CANARY" 112 | 113 | # This closes the last group opened in `build_steps.sh` 114 | ( endgroup "Final checks" ) 2> /dev/null 115 | -------------------------------------------------------------------------------- /.scripts/run_osx_build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -*- mode: jinja-shell -*- 4 | 5 | source .scripts/logging_utils.sh 6 | 7 | set -xe 8 | 9 | MINIFORGE_HOME="${MINIFORGE_HOME:-${HOME}/miniforge3}" 10 | MINIFORGE_HOME="${MINIFORGE_HOME%/}" # remove trailing slash 11 | export CONDA_BLD_PATH="${CONDA_BLD_PATH:-${MINIFORGE_HOME}/conda-bld}" 12 | 13 | ( startgroup "Provisioning base env with micromamba" ) 2> /dev/null 14 | MICROMAMBA_VERSION="1.5.10-0" 15 | if [[ "$(uname -m)" == "arm64" ]]; then 16 | osx_arch="osx-arm64" 17 | else 18 | osx_arch="osx-64" 19 | fi 20 | MICROMAMBA_URL="https://github.com/mamba-org/micromamba-releases/releases/download/${MICROMAMBA_VERSION}/micromamba-${osx_arch}" 21 | MAMBA_ROOT_PREFIX="${MINIFORGE_HOME}-micromamba-$(date +%s)" 22 | echo "Downloading micromamba ${MICROMAMBA_VERSION}" 23 | micromamba_exe="$(mktemp -d)/micromamba" 24 | curl -L -o "${micromamba_exe}" "${MICROMAMBA_URL}" 25 | chmod +x "${micromamba_exe}" 26 | echo "Creating environment" 27 | "${micromamba_exe}" create --yes --root-prefix "${MAMBA_ROOT_PREFIX}" --prefix "${MINIFORGE_HOME}" \ 28 | --channel conda-forge \ 29 | pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1" 30 | echo "Moving pkgs cache from ${MAMBA_ROOT_PREFIX} to ${MINIFORGE_HOME}" 31 | mv "${MAMBA_ROOT_PREFIX}/pkgs" "${MINIFORGE_HOME}" 32 | echo "Cleaning up micromamba" 33 | rm -rf "${MAMBA_ROOT_PREFIX}" "${micromamba_exe}" || true 34 | ( endgroup "Provisioning base env with micromamba" ) 2> /dev/null 35 | 36 | ( startgroup "Configuring conda" ) 2> /dev/null 37 | echo "Activating environment" 38 | source "${MINIFORGE_HOME}/etc/profile.d/conda.sh" 39 | conda activate base 40 | export CONDA_SOLVER="libmamba" 41 | export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1 42 | 43 | 44 | 45 | 46 | 47 | echo -e "\n\nSetting up the condarc and mangling the compiler." 48 | setup_conda_rc ./ ./recipe ./.ci_support/${CONFIG}.yaml 49 | 50 | if [[ "${CI:-}" != "" ]]; then 51 | mangle_compiler ./ ./recipe .ci_support/${CONFIG}.yaml 52 | fi 53 | 54 | if [[ "${CI:-}" != "" ]]; then 55 | echo -e "\n\nMangling homebrew in the CI to avoid conflicts." 56 | /usr/bin/sudo mangle_homebrew 57 | /usr/bin/sudo -k 58 | else 59 | echo -e "\n\nNot mangling homebrew as we are not running in CI" 60 | fi 61 | 62 | if [[ "${sha:-}" == "" ]]; then 63 | sha=$(git rev-parse HEAD) 64 | fi 65 | 66 | echo -e "\n\nRunning the build setup script." 67 | source run_conda_forge_build_setup 68 | 69 | 70 | 71 | ( endgroup "Configuring conda" ) 2> /dev/null 72 | 73 | echo -e "\n\nMaking the build clobber file" 74 | make_build_number ./ ./recipe ./.ci_support/${CONFIG}.yaml 75 | 76 | if [[ -f LICENSE.txt ]]; then 77 | cp LICENSE.txt "recipe/recipe-scripts-license.txt" 78 | fi 79 | 80 | if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then 81 | if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then 82 | EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}" 83 | fi 84 | conda debug ./recipe -m ./.ci_support/${CONFIG}.yaml \ 85 | ${EXTRA_CB_OPTIONS:-} \ 86 | --clobber-file ./.ci_support/clobber_${CONFIG}.yaml 87 | 88 | # Drop into an interactive shell 89 | /bin/bash 90 | else 91 | 92 | if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]]; then 93 | EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test" 94 | fi 95 | 96 | conda-build ./recipe -m ./.ci_support/${CONFIG}.yaml \ 97 | --suppress-variables ${EXTRA_CB_OPTIONS:-} \ 98 | --clobber-file ./.ci_support/clobber_${CONFIG}.yaml \ 99 | --extra-meta flow_run_id="$flow_run_id" remote_url="$remote_url" sha="$sha" 100 | 101 | ( startgroup "Inspecting artifacts" ) 2> /dev/null 102 | 103 | # inspect_artifacts was only added in conda-forge-ci-setup 4.9.4 104 | command -v inspect_artifacts >/dev/null 2>&1 && inspect_artifacts --recipe-dir ./recipe -m ./.ci_support/${CONFIG}.yaml || echo "inspect_artifacts needs conda-forge-ci-setup >=4.9.4" 105 | 106 | ( endgroup "Inspecting artifacts" ) 2> /dev/null 107 | ( startgroup "Validating outputs" ) 2> /dev/null 108 | 109 | validate_recipe_outputs "${FEEDSTOCK_NAME}" 110 | 111 | ( endgroup "Validating outputs" ) 2> /dev/null 112 | 113 | ( startgroup "Uploading packages" ) 2> /dev/null 114 | 115 | if [[ "${UPLOAD_PACKAGES}" != "False" ]] && [[ "${IS_PR_BUILD}" == "False" ]]; then 116 | upload_package --validate --feedstock-name="${FEEDSTOCK_NAME}" ./ ./recipe ./.ci_support/${CONFIG}.yaml 117 | fi 118 | 119 | ( endgroup "Uploading packages" ) 2> /dev/null 120 | fi 121 | -------------------------------------------------------------------------------- /.scripts/run_win_build.bat: -------------------------------------------------------------------------------- 1 | :: PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here 2 | :: will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent 3 | :: changes to this script, consider a proposal to conda-smithy so that other feedstocks can also 4 | :: benefit from the improvement. 5 | 6 | :: INPUTS (required environment variables) 7 | :: CONFIG: name of the .ci_support/*.yaml file for this job 8 | :: CI: azure, github_actions, or unset 9 | :: MINIFORGE_HOME: where to install the base conda environment 10 | :: UPLOAD_PACKAGES: true or false 11 | :: UPLOAD_ON_BRANCH: true or false 12 | 13 | setlocal enableextensions enabledelayedexpansion 14 | 15 | FOR %%A IN ("%~dp0.") DO SET "REPO_ROOT=%%~dpA" 16 | if "%MINIFORGE_HOME%"=="" set "MINIFORGE_HOME=%USERPROFILE%\Miniforge3" 17 | :: Remove trailing backslash, if present 18 | if "%MINIFORGE_HOME:~-1%"=="\" set "MINIFORGE_HOME=%MINIFORGE_HOME:~0,-1%" 19 | call :start_group "Provisioning base env with micromamba" 20 | set "MAMBA_ROOT_PREFIX=%MINIFORGE_HOME%-micromamba-%RANDOM%" 21 | set "MICROMAMBA_VERSION=1.5.10-0" 22 | set "MICROMAMBA_URL=https://github.com/mamba-org/micromamba-releases/releases/download/%MICROMAMBA_VERSION%/micromamba-win-64" 23 | set "MICROMAMBA_TMPDIR=%TMP%\micromamba-%RANDOM%" 24 | set "MICROMAMBA_EXE=%MICROMAMBA_TMPDIR%\micromamba.exe" 25 | 26 | echo Downloading micromamba %MICROMAMBA_VERSION% 27 | if not exist "%MICROMAMBA_TMPDIR%" mkdir "%MICROMAMBA_TMPDIR%" 28 | powershell -ExecutionPolicy Bypass -Command "(New-Object Net.WebClient).DownloadFile('%MICROMAMBA_URL%', '%MICROMAMBA_EXE%')" 29 | if !errorlevel! neq 0 exit /b !errorlevel! 30 | 31 | echo Creating environment 32 | call "%MICROMAMBA_EXE%" create --yes --root-prefix "%MAMBA_ROOT_PREFIX%" --prefix "%MINIFORGE_HOME%" ^ 33 | --channel conda-forge ^ 34 | pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1" 35 | if !errorlevel! neq 0 exit /b !errorlevel! 36 | echo Removing %MAMBA_ROOT_PREFIX% 37 | del /S /Q "%MAMBA_ROOT_PREFIX%" >nul 38 | del /S /Q "%MICROMAMBA_TMPDIR%" >nul 39 | call :end_group 40 | 41 | call :start_group "Configuring conda" 42 | 43 | :: Activate the base conda environment 44 | echo Activating environment 45 | call "%MINIFORGE_HOME%\Scripts\activate.bat" 46 | :: Configure the solver 47 | set "CONDA_SOLVER=libmamba" 48 | if !errorlevel! neq 0 exit /b !errorlevel! 49 | set "CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1" 50 | 51 | :: Set basic configuration 52 | echo Setting up configuration 53 | setup_conda_rc .\ ".\recipe" .\.ci_support\%CONFIG%.yaml 54 | if !errorlevel! neq 0 exit /b !errorlevel! 55 | echo Running build setup 56 | CALL run_conda_forge_build_setup 57 | 58 | 59 | if !errorlevel! neq 0 exit /b !errorlevel! 60 | 61 | if EXIST LICENSE.txt ( 62 | echo Copying feedstock license 63 | copy LICENSE.txt "recipe\\recipe-scripts-license.txt" 64 | ) 65 | if NOT [%HOST_PLATFORM%] == [%BUILD_PLATFORM%] ( 66 | set "EXTRA_CB_OPTIONS=%EXTRA_CB_OPTIONS% --no-test" 67 | ) 68 | 69 | if NOT [%flow_run_id%] == [] ( 70 | set "EXTRA_CB_OPTIONS=%EXTRA_CB_OPTIONS% --extra-meta flow_run_id=%flow_run_id% remote_url=%remote_url% sha=%sha%" 71 | ) 72 | 73 | call :end_group 74 | 75 | :: Build the recipe 76 | echo Building recipe 77 | conda-build.exe "recipe" -m .ci_support\%CONFIG%.yaml --suppress-variables %EXTRA_CB_OPTIONS% 78 | if !errorlevel! neq 0 exit /b !errorlevel! 79 | 80 | call :start_group "Inspecting artifacts" 81 | :: inspect_artifacts was only added in conda-forge-ci-setup 4.9.4 82 | WHERE inspect_artifacts >nul 2>nul && inspect_artifacts --recipe-dir ".\recipe" -m .ci_support\%CONFIG%.yaml || echo "inspect_artifacts needs conda-forge-ci-setup >=4.9.4" 83 | call :end_group 84 | 85 | :: Prepare some environment variables for the upload step 86 | if /i "%CI%" == "github_actions" ( 87 | set "FEEDSTOCK_NAME=%GITHUB_REPOSITORY:*/=%" 88 | set "GIT_BRANCH=%GITHUB_REF:refs/heads/=%" 89 | if /i "%GITHUB_EVENT_NAME%" == "pull_request" ( 90 | set "IS_PR_BUILD=True" 91 | ) else ( 92 | set "IS_PR_BUILD=False" 93 | ) 94 | set "TEMP=%RUNNER_TEMP%" 95 | ) 96 | if /i "%CI%" == "azure" ( 97 | set "FEEDSTOCK_NAME=%BUILD_REPOSITORY_NAME:*/=%" 98 | set "GIT_BRANCH=%BUILD_SOURCEBRANCHNAME%" 99 | if /i "%BUILD_REASON%" == "PullRequest" ( 100 | set "IS_PR_BUILD=True" 101 | ) else ( 102 | set "IS_PR_BUILD=False" 103 | ) 104 | set "TEMP=%UPLOAD_TEMP%" 105 | ) 106 | 107 | :: Validate 108 | call :start_group "Validating outputs" 109 | validate_recipe_outputs "%FEEDSTOCK_NAME%" 110 | if !errorlevel! neq 0 exit /b !errorlevel! 111 | call :end_group 112 | 113 | if /i "%UPLOAD_PACKAGES%" == "true" ( 114 | if /i "%IS_PR_BUILD%" == "false" ( 115 | call :start_group "Uploading packages" 116 | if not exist "%TEMP%\" md "%TEMP%" 117 | set "TMP=%TEMP%" 118 | upload_package --validate --feedstock-name="%FEEDSTOCK_NAME%" .\ ".\recipe" .ci_support\%CONFIG%.yaml 119 | if !errorlevel! neq 0 exit /b !errorlevel! 120 | call :end_group 121 | ) 122 | ) 123 | 124 | exit 125 | 126 | :: Logging subroutines 127 | 128 | :start_group 129 | if /i "%CI%" == "github_actions" ( 130 | echo ::group::%~1 131 | exit /b 132 | ) 133 | if /i "%CI%" == "azure" ( 134 | echo ##[group]%~1 135 | exit /b 136 | ) 137 | echo %~1 138 | exit /b 139 | 140 | :end_group 141 | if /i "%CI%" == "github_actions" ( 142 | echo ::endgroup:: 143 | exit /b 144 | ) 145 | if /i "%CI%" == "azure" ( 146 | echo ##[endgroup] 147 | exit /b 148 | ) 149 | exit /b 150 | -------------------------------------------------------------------------------- /recipe/meta.yaml: -------------------------------------------------------------------------------- 1 | {% set version = "6.10.1" %} 2 | # While this is typically "major and minor" on PySide 6.8.0 3 | # There were two "emergency" releases 6.8.0.1 and 6.8.0.2 that came out quickly 4 | # and revealed that this number can contain a 3rd number under the right circumstances 5 | {% set maj_min = ".".join(version.split(".")[:-1]) %} 6 | {% set maj_min_patch = ".".join(version.split(".")[:3]) %} 7 | 8 | package: 9 | name: pyside6 10 | version: {{ version }} 11 | 12 | source: 13 | git_url: https://github.com/qtproject/pyside-pyside-setup.git 14 | git_tag: v{{ version }} 15 | 16 | patches: 17 | # https://bugreports.qt.io/browse/PYSIDE-1193 18 | - patches/pyi_osx.patch 19 | - patches/qfp_osx.patch 20 | 21 | # https://bugreports.qt.io/browse/PYSIDE-2057 22 | - patches/do_not_store_build_time_compiler.patch 23 | 24 | # change tools module location 25 | - patches/tools.patch 26 | 27 | # https://github.com/pyqtgraph/pyqtgraph/issues/3265 28 | - patches/0001-Fix-memory-leak.patch 29 | 30 | - patches/no_abi3.patch 31 | 32 | build: 33 | number: 0 34 | entry_points: 35 | - pyside6-rcc = PySide6.scripts.pyside_tool:rcc 36 | - pyside6-uic = PySide6.scripts.pyside_tool:uic 37 | ignore_run_exports: 38 | # make these optional for slimmer downloads and licensing choice 39 | - qt6-3d 40 | - qt6-charts 41 | - qt6-datavis3d 42 | - qt6-graphs 43 | - qt6-wayland 44 | - qt6-multimedia 45 | - qt6-quick3d 46 | 47 | requirements: 48 | build: 49 | - cmake 50 | - ninja 51 | - {{ stdlib('c') }} 52 | - {{ compiler('c') }} 53 | - {{ compiler('cxx') }} 54 | - libclang # [build_platform != target_platform] 55 | - llvmdev # [build_platform != target_platform] 56 | - clangdev # [build_platform != target_platform] 57 | - llvmdev {{ cxx_compiler_version }} # [build_platform != target_platform and osx] 58 | - clangdev {{ cxx_compiler_version }} # [build_platform != target_platform and osx] 59 | - libcxx {{ cxx_compiler_version }} # [build_platform != target_platform and osx] 60 | - libclang {{ cxx_compiler_version }} # [build_platform != target_platform and osx] 61 | - python # [build_platform != target_platform] 62 | - setuptools # [build_platform != target_platform] 63 | #- cross-python_{{ target_platform }} # [build_platform != target_platform] 64 | - libxslt # [build_platform != target_platform] 65 | - libxml2-devel # [build_platform != target_platform] 66 | - qt6-main {{ maj_min_patch }} # [build_platform != target_platform] 67 | 68 | host: 69 | - libgl-devel # [linux] 70 | - libegl-devel # [linux] 71 | - libopengl-devel # [linux] 72 | - libvulkan-headers # [not osx] 73 | - libvulkan-loader # [not osx] 74 | - python 75 | - setuptools 76 | - libxslt 77 | - libxml2-devel 78 | - qt6-main {{ maj_min_patch }} 79 | - qt6-3d 80 | - qt6-charts 81 | - qt6-datavis3d 82 | - qt6-graphs 83 | - qt6-wayland # [linux] 84 | # Provides QtMultimediaWidgets and QtSpatialAudio 85 | - qt6-multimedia 86 | - qt6-quick3d 87 | - llvmdev 88 | - clangdev >=9 89 | - libclang 90 | - llvmdev {{ cxx_compiler_version }} # [osx] 91 | - clangdev {{ cxx_compiler_version }} # [osx] 92 | - libcxx {{ cxx_compiler_version }} # [osx] 93 | - libclang {{ cxx_compiler_version }} # [osx] 94 | run: 95 | - python 96 | - qt6-main {{ maj_min_patch }} 97 | 98 | test: 99 | requires: 100 | # these are optional 101 | # test them with one version of python 102 | - qt6-3d # [py==310] 103 | - qt6-charts # [py==310] 104 | - qt6-datavis3d # [py==310] 105 | - qt6-graphs # [py==310] 106 | - qt6-multimedia # [py==310] 107 | imports: 108 | - PySide6.Qt3DAnimation # [py==310] 109 | - PySide6.Qt3DCore # [py==310] 110 | - PySide6.Qt3DExtras # [py==310] 111 | - PySide6.Qt3DInput # [py==310] 112 | - PySide6.Qt3DLogic # [py==310] 113 | - PySide6.Qt3DRender # [py==310] 114 | #- PySide6.QtBluetooth 115 | - PySide6.QtCharts # [py==310] 116 | - PySide6.QtConcurrent 117 | - PySide6.QtCore 118 | - PySide6.QtDataVisualization # [py==310] 119 | - PySide6.QtDesigner 120 | - PySide6.QtGraphs # [py==310] 121 | - PySide6.QtGui 122 | - PySide6.QtHelp 123 | #- PySide6.QtHttpServer 124 | - PySide6.QtMultimedia # [py==310] 125 | - PySide6.QtMultimediaWidgets # [py==310] 126 | - PySide6.QtNetwork 127 | #- PySide6.QtNetworkAuth # [py==310] 128 | #- PySide6.QtNfc 129 | - PySide6.QtOpenGL 130 | - PySide6.QtOpenGLWidgets 131 | #- PySide6.QtPdf 132 | #- PySide6.QtPdfWidgets 133 | # - PySide6.QtPositioning 134 | - PySide6.QtPrintSupport 135 | - PySide6.QtQml 136 | - PySide6.QtQuick 137 | - PySide6.QtQuick3D # [py==310] 138 | - PySide6.QtQuickControls2 139 | - PySide6.QtQuickWidgets 140 | #- PySide6.QtRemoteObjects 141 | # - PySide6.QtScxml 142 | # - PySide6.QtSensors 143 | # - PySide6.QtSerialPort 144 | - PySide6.QtSpatialAudio # [py==310] 145 | - PySide6.QtSql 146 | #- PySide6.QtStateMachine 147 | - PySide6.QtSvg 148 | - PySide6.QtSvgWidgets 149 | - PySide6.QtTest 150 | #- PySide6.QtTextToSpeech 151 | - PySide6.QtUiTools 152 | - PySide6.QtWebChannel 153 | #- PySide6.QtWebEngineCore 154 | #- PySide6.QtWebEngineQuick 155 | #- PySide6.QtWebEngineWidgets 156 | - PySide6.QtWebSockets 157 | - PySide6.QtWidgets 158 | - PySide6.QtXml 159 | commands: 160 | - shiboken6 --help 161 | - pyside6-rcc -help 162 | - pyside6-uic -help 163 | - test -f ${PREFIX}/lib/qt6/plugins/designer/libPySidePlugin${SHLIB_EXT} # [unix] 164 | # Regression to avoid clobber with qt-main package 165 | - test ! -f $PREFIX/bin/uic # [unix] 166 | - if exist %LIBRARY_BIN%\uic.exe exit 1 # [win] 167 | # Star imports have broken many times on PySide6 168 | # https://github.com/spyder-ide/qtpy/issues/494 169 | # https://github.com/spyder-ide/qtpy/issues/480 170 | # We add it here for safety so we don't release really broken packages 171 | - python -c "import PySide6; from PySide6.QtCore import *" 172 | 173 | about: 174 | home: https://wiki.qt.io/PySide2 175 | license: LGPL-3.0-only 176 | license_file: LICENSES/LGPL-3.0-only.txt 177 | summary: Python bindings for Qt 178 | 179 | extra: 180 | recipe-maintainers: 181 | - jan-janssen 182 | - jschueller 183 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | About pyside6-feedstock 2 | ======================= 3 | 4 | Feedstock license: [BSD-3-Clause](https://github.com/conda-forge/pyside2-feedstock/blob/main/LICENSE.txt) 5 | 6 | Home: https://wiki.qt.io/PySide2 7 | 8 | Package license: LGPL-3.0-only 9 | 10 | Summary: Python bindings for Qt 11 | 12 | Current build status 13 | ==================== 14 | 15 | 16 | 17 | 18 | 19 | 20 | 209 | 210 |
Azure 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 36 | 37 | 38 | 43 | 44 | 45 | 50 | 51 | 52 | 57 | 58 | 59 | 64 | 65 | 66 | 71 | 72 | 73 | 78 | 79 | 80 | 85 | 86 | 87 | 92 | 93 | 94 | 99 | 100 | 101 | 106 | 107 | 108 | 113 | 114 | 115 | 120 | 121 | 122 | 127 | 128 | 129 | 134 | 135 | 136 | 141 | 142 | 143 | 148 | 149 | 150 | 155 | 156 | 157 | 162 | 163 | 164 | 169 | 170 | 171 | 176 | 177 | 178 | 183 | 184 | 185 | 190 | 191 | 192 | 197 | 198 | 199 | 204 | 205 | 206 |
VariantStatus
linux_64_python3.10.____cpython 32 | 33 | variant 34 | 35 |
linux_64_python3.11.____cpython 39 | 40 | variant 41 | 42 |
linux_64_python3.12.____cpython 46 | 47 | variant 48 | 49 |
linux_64_python3.13.____cp313 53 | 54 | variant 55 | 56 |
linux_64_python3.14.____cp314 60 | 61 | variant 62 | 63 |
linux_aarch64_python3.10.____cpython 67 | 68 | variant 69 | 70 |
linux_aarch64_python3.11.____cpython 74 | 75 | variant 76 | 77 |
linux_aarch64_python3.12.____cpython 81 | 82 | variant 83 | 84 |
linux_aarch64_python3.13.____cp313 88 | 89 | variant 90 | 91 |
linux_aarch64_python3.14.____cp314 95 | 96 | variant 97 | 98 |
osx_64_python3.10.____cpython 102 | 103 | variant 104 | 105 |
osx_64_python3.11.____cpython 109 | 110 | variant 111 | 112 |
osx_64_python3.12.____cpython 116 | 117 | variant 118 | 119 |
osx_64_python3.13.____cp313 123 | 124 | variant 125 | 126 |
osx_64_python3.14.____cp314 130 | 131 | variant 132 | 133 |
osx_arm64_python3.10.____cpython 137 | 138 | variant 139 | 140 |
osx_arm64_python3.11.____cpython 144 | 145 | variant 146 | 147 |
osx_arm64_python3.12.____cpython 151 | 152 | variant 153 | 154 |
osx_arm64_python3.13.____cp313 158 | 159 | variant 160 | 161 |
osx_arm64_python3.14.____cp314 165 | 166 | variant 167 | 168 |
win_64_python3.10.____cpython 172 | 173 | variant 174 | 175 |
win_64_python3.11.____cpython 179 | 180 | variant 181 | 182 |
win_64_python3.12.____cpython 186 | 187 | variant 188 | 189 |
win_64_python3.13.____cp313 193 | 194 | variant 195 | 196 |
win_64_python3.14.____cp314 200 | 201 | variant 202 | 203 |
207 |
208 |
211 | 212 | Current release info 213 | ==================== 214 | 215 | | Name | Downloads | Version | Platforms | 216 | | --- | --- | --- | --- | 217 | | [![Conda Recipe](https://img.shields.io/badge/recipe-pyside6-green.svg)](https://anaconda.org/conda-forge/pyside6) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/pyside6.svg)](https://anaconda.org/conda-forge/pyside6) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/pyside6.svg)](https://anaconda.org/conda-forge/pyside6) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/pyside6.svg)](https://anaconda.org/conda-forge/pyside6) | 218 | 219 | Installing pyside6 220 | ================== 221 | 222 | Installing `pyside6` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with: 223 | 224 | ``` 225 | conda config --add channels conda-forge 226 | conda config --set channel_priority strict 227 | ``` 228 | 229 | Once the `conda-forge` channel has been enabled, `pyside6` can be installed with `conda`: 230 | 231 | ``` 232 | conda install pyside6 233 | ``` 234 | 235 | or with `mamba`: 236 | 237 | ``` 238 | mamba install pyside6 239 | ``` 240 | 241 | It is possible to list all of the versions of `pyside6` available on your platform with `conda`: 242 | 243 | ``` 244 | conda search pyside6 --channel conda-forge 245 | ``` 246 | 247 | or with `mamba`: 248 | 249 | ``` 250 | mamba search pyside6 --channel conda-forge 251 | ``` 252 | 253 | Alternatively, `mamba repoquery` may provide more information: 254 | 255 | ``` 256 | # Search all versions available on your platform: 257 | mamba repoquery search pyside6 --channel conda-forge 258 | 259 | # List packages depending on `pyside6`: 260 | mamba repoquery whoneeds pyside6 --channel conda-forge 261 | 262 | # List dependencies of `pyside6`: 263 | mamba repoquery depends pyside6 --channel conda-forge 264 | ``` 265 | 266 | 267 | About conda-forge 268 | ================= 269 | 270 | [![Powered by 271 | NumFOCUS](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)](https://numfocus.org) 272 | 273 | conda-forge is a community-led conda channel of installable packages. 274 | In order to provide high-quality builds, the process has been automated into the 275 | conda-forge GitHub organization. The conda-forge organization contains one repository 276 | for each of the installable packages. Such a repository is known as a *feedstock*. 277 | 278 | A feedstock is made up of a conda recipe (the instructions on what and how to build 279 | the package) and the necessary configurations for automatic building using freely 280 | available continuous integration services. Thanks to the awesome service provided by 281 | [Azure](https://azure.microsoft.com/en-us/services/devops/), [GitHub](https://github.com/), 282 | [CircleCI](https://circleci.com/), [AppVeyor](https://www.appveyor.com/), 283 | [Drone](https://cloud.drone.io/welcome), and [TravisCI](https://travis-ci.com/) 284 | it is possible to build and upload installable packages to the 285 | [conda-forge](https://anaconda.org/conda-forge) [anaconda.org](https://anaconda.org/) 286 | channel for Linux, Windows and OSX respectively. 287 | 288 | To manage the continuous integration and simplify feedstock maintenance, 289 | [conda-smithy](https://github.com/conda-forge/conda-smithy) has been developed. 290 | Using the ``conda-forge.yml`` within this repository, it is possible to re-render all of 291 | this feedstock's supporting files (e.g. the CI configuration files) with ``conda smithy rerender``. 292 | 293 | For more information, please check the [conda-forge documentation](https://conda-forge.org/docs/). 294 | 295 | Terminology 296 | =========== 297 | 298 | **feedstock** - the conda recipe (raw material), supporting scripts and CI configuration. 299 | 300 | **conda-smithy** - the tool which helps orchestrate the feedstock. 301 | Its primary use is in the construction of the CI ``.yml`` files 302 | and simplify the management of *many* feedstocks. 303 | 304 | **conda-forge** - the place where the feedstock and smithy live and work to 305 | produce the finished article (built conda distributions) 306 | 307 | 308 | Updating pyside6-feedstock 309 | ========================== 310 | 311 | If you would like to improve the pyside6 recipe or build a new 312 | package version, please fork this repository and submit a PR. Upon submission, 313 | your changes will be run on the appropriate platforms to give the reviewer an 314 | opportunity to confirm that the changes result in a successful build. Once 315 | merged, the recipe will be re-built and uploaded automatically to the 316 | `conda-forge` channel, whereupon the built conda packages will be available for 317 | everybody to install and use from the `conda-forge` channel. 318 | Note that all branches in the conda-forge/pyside6-feedstock are 319 | immediately built and any created packages are uploaded, so PRs should be based 320 | on branches in forks, and branches in the main repository should only be used to 321 | build distinct package versions. 322 | 323 | In order to produce a uniquely identifiable distribution: 324 | * If the version of a package **is not** being increased, please add or increase 325 | the [``build/number``](https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#build-number-and-string). 326 | * If the version of a package **is** being increased, please remember to return 327 | the [``build/number``](https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#build-number-and-string) 328 | back to 0. 329 | 330 | Feedstock Maintainers 331 | ===================== 332 | 333 | * [@jan-janssen](https://github.com/jan-janssen/) 334 | * [@jschueller](https://github.com/jschueller/) 335 | 336 | --------------------------------------------------------------------------------