diff --git a/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml b/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml index 16299352..3d0d0106 100644 --- a/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml +++ b/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml @@ -28,6 +28,10 @@ freethreading: - 'no' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' libuuid: - '2' ncurses: @@ -42,8 +46,6 @@ python: - '3.13' readline: - '8' -sqlite: -- '3' target_platform: - linux-64 tk: diff --git a/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml b/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml index 753dc9e3..0c4180e0 100644 --- a/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml +++ b/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml @@ -28,6 +28,10 @@ freethreading: - 'yes' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' libuuid: - '2' ncurses: @@ -42,8 +46,6 @@ python: - '3.13' readline: - '8' -sqlite: -- '3' target_platform: - linux-64 tk: diff --git a/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml b/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml index 8a1d8fba..5ebc4be1 100644 --- a/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml +++ b/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml @@ -28,6 +28,10 @@ freethreading: - 'no' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' libuuid: - '2' ncurses: @@ -42,8 +46,6 @@ python: - '3.13' readline: - '8' -sqlite: -- '3' target_platform: - linux-64 tk: diff --git a/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml b/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml index 4dece0f3..ca416b90 100644 --- a/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml +++ b/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml @@ -28,6 +28,10 @@ freethreading: - 'yes' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' libuuid: - '2' ncurses: @@ -42,8 +46,6 @@ python: - '3.13' readline: - '8' -sqlite: -- '3' target_platform: - linux-64 tk: diff --git a/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml b/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml index ed310551..0e43e086 100644 --- a/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml +++ b/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml @@ -28,6 +28,10 @@ freethreading: - 'no' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' libuuid: - '2' ncurses: @@ -42,8 +46,6 @@ python: - '3.13' readline: - '8' -sqlite: -- '3' target_platform: - linux-aarch64 tk: diff --git a/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml b/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml index 0b845181..1b228151 100644 --- a/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml +++ b/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml @@ -28,6 +28,10 @@ freethreading: - 'yes' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' libuuid: - '2' ncurses: @@ -42,8 +46,6 @@ python: - '3.13' readline: - '8' -sqlite: -- '3' target_platform: - linux-aarch64 tk: diff --git a/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml b/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml index 35710848..ccde250d 100644 --- a/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml +++ b/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml @@ -28,6 +28,10 @@ freethreading: - 'no' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' libuuid: - '2' ncurses: @@ -42,8 +46,6 @@ python: - '3.13' readline: - '8' -sqlite: -- '3' target_platform: - linux-aarch64 tk: diff --git a/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml b/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml index 5ca58317..b1ea21d9 100644 --- a/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml +++ b/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml @@ -28,6 +28,10 @@ freethreading: - 'yes' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' libuuid: - '2' ncurses: @@ -42,8 +46,6 @@ python: - '3.13' readline: - '8' -sqlite: -- '3' target_platform: - linux-aarch64 tk: diff --git a/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml b/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml index f2bb216c..908004bc 100644 --- a/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml +++ b/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml @@ -28,6 +28,10 @@ freethreading: - 'no' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' libuuid: - '2' ncurses: @@ -42,8 +46,6 @@ python: - '3.13' readline: - '8' -sqlite: -- '3' target_platform: - linux-ppc64le zip_keys: diff --git a/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml b/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml index 5f68761f..4935a6d6 100644 --- a/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml +++ b/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml @@ -28,6 +28,10 @@ freethreading: - 'yes' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' libuuid: - '2' ncurses: @@ -42,8 +46,6 @@ python: - '3.13' readline: - '8' -sqlite: -- '3' target_platform: - linux-ppc64le zip_keys: diff --git a/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml b/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml index e427a904..7f8a16bc 100644 --- a/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml +++ b/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml @@ -28,6 +28,10 @@ freethreading: - 'no' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' libuuid: - '2' ncurses: @@ -42,8 +46,6 @@ python: - '3.13' readline: - '8' -sqlite: -- '3' target_platform: - linux-ppc64le zip_keys: diff --git a/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml b/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml index 67e96017..9c4952bf 100644 --- a/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml +++ b/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml @@ -28,6 +28,10 @@ freethreading: - 'yes' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' libuuid: - '2' ncurses: @@ -42,8 +46,6 @@ python: - '3.13' readline: - '8' -sqlite: -- '3' target_platform: - linux-ppc64le zip_keys: diff --git a/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml b/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml index 9f1a4066..168458c9 100644 --- a/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml +++ b/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml @@ -28,6 +28,10 @@ freethreading: - 'no' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' macos_machine: - x86_64-apple-darwin13.4.0 ncurses: @@ -42,8 +46,6 @@ python: - '3.13' readline: - '8' -sqlite: -- '3' target_platform: - osx-64 tk: diff --git a/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml b/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml index 41112e78..23a00383 100644 --- a/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml +++ b/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml @@ -28,6 +28,10 @@ freethreading: - 'yes' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' macos_machine: - x86_64-apple-darwin13.4.0 ncurses: @@ -42,8 +46,6 @@ python: - '3.13' readline: - '8' -sqlite: -- '3' target_platform: - osx-64 tk: diff --git a/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml b/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml index 42e26eb3..53447de2 100644 --- a/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml +++ b/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml @@ -28,6 +28,10 @@ freethreading: - 'no' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' macos_machine: - x86_64-apple-darwin13.4.0 ncurses: @@ -42,8 +46,6 @@ python: - '3.13' readline: - '8' -sqlite: -- '3' target_platform: - osx-64 tk: diff --git a/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml b/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml index e67db238..b322d190 100644 --- a/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml +++ b/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml @@ -28,6 +28,10 @@ freethreading: - 'yes' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' macos_machine: - x86_64-apple-darwin13.4.0 ncurses: @@ -42,8 +46,6 @@ python: - '3.13' readline: - '8' -sqlite: -- '3' target_platform: - osx-64 tk: diff --git a/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml b/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml index 15795fcb..0647dd3e 100644 --- a/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml +++ b/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml @@ -28,6 +28,10 @@ freethreading: - 'no' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' macos_machine: - arm64-apple-darwin20.0.0 ncurses: @@ -42,8 +46,6 @@ python: - '3.13' readline: - '8' -sqlite: -- '3' target_platform: - osx-arm64 tk: diff --git a/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml b/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml index 599c97fb..6b60c41a 100644 --- a/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml +++ b/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml @@ -28,6 +28,10 @@ freethreading: - 'yes' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' macos_machine: - arm64-apple-darwin20.0.0 ncurses: @@ -42,8 +46,6 @@ python: - '3.13' readline: - '8' -sqlite: -- '3' target_platform: - osx-arm64 tk: diff --git a/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml b/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml index 181ce421..26518a77 100644 --- a/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml +++ b/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml @@ -28,6 +28,10 @@ freethreading: - 'no' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' macos_machine: - arm64-apple-darwin20.0.0 ncurses: @@ -42,8 +46,6 @@ python: - '3.13' readline: - '8' -sqlite: -- '3' target_platform: - osx-arm64 tk: diff --git a/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml b/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml index dd594339..879ebd90 100644 --- a/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml +++ b/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml @@ -28,6 +28,10 @@ freethreading: - 'yes' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' macos_machine: - arm64-apple-darwin20.0.0 ncurses: @@ -42,8 +46,6 @@ python: - '3.13' readline: - '8' -sqlite: -- '3' target_platform: - osx-arm64 tk: diff --git a/.ci_support/win_64_freethreadingno.yaml b/.ci_support/win_64_freethreadingno.yaml index 6f13023d..d7d5c576 100644 --- a/.ci_support/win_64_freethreadingno.yaml +++ b/.ci_support/win_64_freethreadingno.yaml @@ -18,6 +18,10 @@ freethreading: - 'no' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' openssl: - '3' pin_run_as_build: @@ -26,8 +30,8 @@ pin_run_as_build: max_pin: x.x python: - '3.13' -sqlite: -- '3' +readline: +- '8' target_platform: - win-64 tk: diff --git a/.ci_support/win_64_freethreadingyes.yaml b/.ci_support/win_64_freethreadingyes.yaml index 84ac75f7..cc818b59 100644 --- a/.ci_support/win_64_freethreadingyes.yaml +++ b/.ci_support/win_64_freethreadingyes.yaml @@ -18,6 +18,10 @@ freethreading: - 'yes' libffi: - '3.4' +liblzma_devel: +- '5' +libsqlite: +- '3' openssl: - '3' pin_run_as_build: @@ -26,8 +30,8 @@ pin_run_as_build: max_pin: x.x python: - '3.13' -sqlite: -- '3' +readline: +- '8' target_platform: - win-64 tk: diff --git a/recipe/meta.yaml b/recipe/meta.yaml index f01d2de2..f69984ad 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -4,7 +4,7 @@ {% set ver2 = '.'.join(version.split('.')[0:2]) %} {% set ver2nd = ''.join(version.split('.')[0:2]) %} {% set ver3nd = ''.join(version.split('.')[0:3]) %} -{% set build_number = 2 %} +{% set build_number = 3 %} # this makes the linter happy {% set channel_targets = channel_targets or 'conda-forge main' %} @@ -94,6 +94,10 @@ outputs: # These two are just to get the headers needed for tk.h, but is unused - xorg-libx11 - xorg-xorgproto + # These modules are compiled against, but are not necessary to run python + - tk + - readline + - libsqlite # Disabled until verified to work correctly detect_binary_files_with_prefix: true # detect_binary_files_with_prefix: False @@ -150,7 +154,7 @@ outputs: - clang 18.* # [win] - llvm-tools 18.* # [win] - bzip2 # [build_platform != target_platform] - - sqlite # [build_platform != target_platform] + - libsqlite # [build_platform != target_platform] - liblzma-devel # [build_platform != target_platform] - zlib # [build_platform != target_platform] - openssl # [build_platform != target_platform] @@ -163,7 +167,7 @@ outputs: - expat # [build_platform != target_platform] host: - bzip2 - - sqlite + - libsqlite - liblzma-devel - zlib - openssl @@ -185,6 +189,10 @@ outputs: - _python_rc {% endif %} - python_abi {{ ver2 }}.* *_{{ abi_tag }} + run_constrained: + - {{ pin_compatible('tk') }} + - {{ pin_compatible('readline') }} + - {{ pin_compatible('libsqlite') }} test: downstreams: {% if freethreading == "yes" %} diff --git a/recipe/run_test.py b/recipe/run_test.py index 5d7fec9c..785c9b8c 100644 --- a/recipe/run_test.py +++ b/recipe/run_test.py @@ -47,7 +47,7 @@ import _multiprocessing import _random import _socket -import _sqlite3 +# import _sqlite3 import _ssl import _struct import _testcapi @@ -80,7 +80,7 @@ import _curses_panel import fcntl import grp - import readline + # import readline import resource import syslog import termios @@ -90,14 +90,14 @@ assert 'd' in sys.abiflags assert 'gettotalrefcount' in dir(sys) -if not (armv6l or armv7l or ppc64le or osx105): - import tkinter - import turtle - import _tkinter - print('TK_VERSION: %s' % _tkinter.TK_VERSION) - print('TCL_VERSION: %s' % _tkinter.TCL_VERSION) - TCLTK_VER = os.getenv('tk') - assert _tkinter.TK_VERSION == _tkinter.TCL_VERSION == TCLTK_VER +# if not (armv6l or armv7l or ppc64le or osx105): +# import tkinter +# import turtle +# import _tkinter +# print('TK_VERSION: %s' % _tkinter.TK_VERSION) +# print('TCL_VERSION: %s' % _tkinter.TCL_VERSION) +# TCLTK_VER = os.getenv('tk') +# assert _tkinter.TK_VERSION == _tkinter.TCL_VERSION == TCLTK_VER import ssl print('OPENSSL_VERSION:', ssl.OPENSSL_VERSION)