meta.yaml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. # This file created by conda-build 3.24.0
  2. # ------------------------------------------------
  3. package:
  4. name: python
  5. version: 3.9.17
  6. source:
  7. - patches:
  8. - patches/0001-Darwin-Add-arch-x86_64-to-UnicCCompiler-ld_args.patch
  9. - patches/0002-Win32-Change-FD_SETSIZE-from-512-to-2048.patch
  10. - patches/0003-Win32-distutils-Add-support-to-cygwinccompiler-for-V.patch
  11. - patches/0004-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch
  12. - patches/0005-Support-cross-compiling-byte-code.patch
  13. - patches/0006-Win32-Fixes-for-Windows-GCC-interop-needed-by-RPy2-a.patch
  14. - patches/0007-Darwin-Look-in-sysroot-usr-lib-include-if-sysroot-is.patch
  15. - patches/0008-runtime_library_dir_option-Use-1st-word-of-CC-as-com.patch
  16. - patches/0009-Win32-Do-not-download-externals.patch
  17. - patches/0010-Add-support-for-_CONDA_PYTHON_SYSCONFIGDATA_NAME-if-.patch
  18. - patches/0011-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch
  19. - patches/0012-Disable-new-dtags-in-unixccompiler.py.patch
  20. - patches/0013-Fix-cross-compilation-on-Debian-based-distros.patch
  21. - patches/0014-Disable-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch
  22. - patches/0015-Unvendor-openssl.patch
  23. - patches/0016-Unvendor-sqlite3.patch
  24. - patches/0017-venv-Revert-a-change-from-https-github.com-python-cp.patch
  25. - patches/0018-Win-Add-back-the-DLLSuffix-used-to-find-the-openssl-.patch
  26. - patches/0019-Use-ranlib-from-env-if-env-variable-is-set.patch
  27. - patches/0020-Add-CondaEcosystemModifyDllSearchPath.patch
  28. - patches/0021-Add-d1trimfile-SRC_DIR-to-make-pdbs-more-relocatable.patch
  29. - patches/0022-Doing-d1trimfile.patch
  30. - patches/0023-egg-debugging-with-Windows-debug-builds.patch
  31. - patches/0025-cross-compile-darwin.patch
  32. - patches/0032-Fix-TZPATH-on-windows.patch
  33. - patches/0033-gh24324.patch
  34. - patches/0034-have-pyunicode-decodeunicodeescape.patch
  35. - patches/0036-openssl3.patch
  36. - patches/9999-Add-Anaconda-Distribution-version-logic.patch
  37. sha256: 30ce057c44f283f8ed93606ccbdb8d51dd526bdc4c62cce5e0dc217bfa3e8cee
  38. url: https://www.python.org/ftp/python/3.9.17/Python-3.9.17.tar.xz
  39. build:
  40. activate_in_script: true
  41. detect_binary_files_with_prefix: true
  42. ignore_run_exports:
  43. - bzip2
  44. - gxx_linux-64
  45. missing_dso_whitelist:
  46. - $RPATH/libc.so.6
  47. - $RPATH/libcrypt.so.1
  48. - $RPATH/libdl.so.2
  49. - $RPATH/libm.so.6
  50. - $RPATH/libnsl.so.1
  51. - $RPATH/libpthread.so.0
  52. - $RPATH/librt.so.1
  53. - $RPATH/libutil.so.1
  54. no_link: null
  55. number: 0
  56. script_env:
  57. - CONDA_FORGE=no
  58. - PY_INTERP_DEBUG=no
  59. - PY_INTERP_LINKAGE_NATURE=static
  60. string: h955ad1f_0
  61. requirements:
  62. build:
  63. - _libgcc_mutex 0.1 main
  64. - _openmp_mutex 5.1 1_gnu
  65. - _sysroot_linux-64_curr_repodata_hack 3 haa98f57_10
  66. - binutils_impl_linux-64 2.38 h2a08ee3_1
  67. - binutils_linux-64 2.38.0 hc2dff05_0
  68. - ccache 3.7.9 hfe4627d_0
  69. - gcc_impl_linux-64 11.2.0 h1234567_1
  70. - gcc_linux-64 11.2.0 h5c386dc_0
  71. - gettext 0.21.0 h39681ba_1
  72. - gxx_impl_linux-64 11.2.0 h1234567_1
  73. - gxx_linux-64 11.2.0 hc2dff05_0
  74. - icu 58.2 he6710b0_3
  75. - kernel-headers_linux-64 3.10.0 h57e8cba_10
  76. - ld_impl_linux-64 2.38 h1181459_1
  77. - libgcc-devel_linux-64 11.2.0 h1234567_1
  78. - libgcc-ng 11.2.0 h1234567_1
  79. - libgomp 11.2.0 h1234567_1
  80. - libstdcxx-devel_linux-64 11.2.0 h1234567_1
  81. - libstdcxx-ng 11.2.0 h1234567_1
  82. - libtool 2.4.6 h6a678d5_1009
  83. - libuuid-cos6-x86_64 2.17.2 4
  84. - libuuid-devel-cos6-x86_64 2.17.2 4
  85. - libx11-common-cos6-x86_64 1.6.4 4
  86. - libx11-cos6-x86_64 1.6.4 4
  87. - libx11-devel-cos6-x86_64 1.6.4 4
  88. - libxml2 2.10.3 hcbfbd50_0
  89. - make 4.2.1 h1bed415_1
  90. - ncurses 6.4 h6a678d5_0
  91. - pkg-config 0.29.2 h1bed415_8
  92. - ripgrep 13.0.0 h35604bb_1
  93. - sed 4.8 h7b6447c_0
  94. - sysroot_linux-64 2.17 h57e8cba_10
  95. - xorg-x11-proto-devel-cos6-x86_64 7.7 4
  96. - xz 5.4.2 h5eee18b_0
  97. - zlib 1.2.13 h5eee18b_0
  98. host:
  99. - _libgcc_mutex 0.1 main
  100. - _openmp_mutex 5.1 1_gnu
  101. - bzip2 1.0.8 h7b6447c_0
  102. - ca-certificates 2023.05.30 h06a4308_0
  103. - ld_impl_linux-64 2.38 h1181459_1
  104. - libffi 3.4.4 h6a678d5_0
  105. - libgcc-ng 11.2.0 h1234567_1
  106. - libgomp 11.2.0 h1234567_1
  107. - libstdcxx-ng 11.2.0 h1234567_1
  108. - ncurses 6.4 h6a678d5_0
  109. - openssl 3.0.9 h7f8727e_0
  110. - readline 8.0 h7b6447c_0
  111. - sqlite 3.41.2 h5eee18b_0
  112. - tk 8.6.12 h1ccaba5_0
  113. - unzip 6.0 h611a1e1_0
  114. - xz 5.4.2 h5eee18b_0
  115. - zlib 1.2.13 h5eee18b_0
  116. run:
  117. - ld_impl_linux-64
  118. - libffi >=3.4,<3.5
  119. - libffi >=3.4,<4.0a0
  120. - libgcc-ng >=11.2.0
  121. - libstdcxx-ng >=11.2.0
  122. - ncurses >=6.4,<7.0a0
  123. - openssl >=3.0.9,<4.0a0
  124. - readline >=8.0,<9.0a0
  125. - sqlite >=3.41.2,<4.0a0
  126. - tk >=8.6.12,<8.7.0a0
  127. - tzdata
  128. - xz >=5.4.2,<6.0a0
  129. - zlib >=1.2.13,<1.3.0a0
  130. test:
  131. commands:
  132. - python -V
  133. - python3 -V
  134. - 2to3 -h
  135. - pydoc -h
  136. - python3-config --help
  137. - python run_test.py
  138. - python -c "from zoneinfo import ZoneInfo; from datetime import datetime; dt
  139. = datetime(2020, 10, 31, 12, tzinfo=ZoneInfo('America/Los_Angeles')); print(dt.tzname())"
  140. - python -m venv test-venv
  141. - python -c "import sysconfig; print(sysconfig.get_config_var('CC'))"
  142. - for f in ${CONDA_PREFIX}/lib/python*/_sysconfig*.py; do echo "Checking $f:";
  143. if [[ `rg @ $f` ]]; then echo "FAILED ON $f"; cat $f; exit 1; fi; done
  144. - test ! -f ${PREFIX}/lib/libpython${PKG_VERSION%.*}.a
  145. - test ! -f ${PREFIX}/lib/libpython${PKG_VERSION%.*}.nolto.a
  146. - pushd tests
  147. - pushd distutils
  148. - python setup.py install -v -v
  149. - python -c "import foobar"
  150. - popd
  151. - pushd embedding-interpreter
  152. - bash build-and-test.sh
  153. - popd
  154. - pushd cmake
  155. - bash run_cmake_test.sh 3.9.17
  156. - popd
  157. - pushd processpoolexecutor-max_workers-61
  158. - python ppe.py
  159. - popd
  160. - popd
  161. - python -c "import ssl; assert ' 3.0' in ssl.OPENSSL_VERSION"
  162. downstreams:
  163. - cython
  164. - setuptools
  165. files:
  166. - run_test.py
  167. - tests/cmake/*
  168. - tests/cython/*
  169. - tests/distutils/*
  170. - tests/embedding-interpreter/*
  171. - tests/processpoolexecutor-max_workers-61/*
  172. requires:
  173. - cmake-no-system
  174. - gcc_linux-64 11.2.0.*
  175. - gxx_linux-64 11.2.0.*
  176. - make
  177. - ninja-base
  178. - ripgrep
  179. about:
  180. description: 'Python is a widely used high-level, general-purpose, interpreted,
  181. dynamic
  182. programming language. Its design philosophy emphasizes code
  183. readability, and its syntax allows programmers to express concepts in
  184. fewer lines of code than would be possible in languages such as C++ or
  185. Java. The language provides constructs intended to enable clear programs
  186. on both a small and large scale.
  187. '
  188. dev_url: https://devguide.python.org/
  189. doc_url: https://www.python.org/doc/versions/
  190. home: https://www.python.org/
  191. license: PSF-2.0
  192. license_family: PSF
  193. license_file: LICENSE
  194. license_url: https://docs.python.org/3.9/license.html
  195. summary: General purpose programming language
  196. extra:
  197. copy_test_source_files: true
  198. feedstock-name: python
  199. final: true
  200. flow_run_id: 30f1bb02-d97d-415e-b325-f5a3acb29824
  201. recipe-maintainers:
  202. - isuruf
  203. - jakirkham
  204. - mbargull
  205. - mingwandroid
  206. - msarahan
  207. - ocefpaf
  208. - pelson
  209. - scopatz
  210. remote_url: git@github.com:AnacondaRecipes/python-feedstock.git
  211. sha: 1ba3174de233fd36424df8f22124727a5e16bbd3