meson-python 0.21.0__tar.gz → 0.21.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. {meson_python-0.21.0 → meson_python-0.21.1}/CHANGELOG.rst +8 -0
  2. {meson_python-0.21.0 → meson_python-0.21.1}/PKG-INFO +1 -1
  3. {meson_python-0.21.0 → meson_python-0.21.1}/docs/changelog.rst +8 -0
  4. {meson_python-0.21.0 → meson_python-0.21.1}/mesonpy/__init__.py +1 -1
  5. {meson_python-0.21.0 → meson_python-0.21.1}/mesonpy/_tags.py +28 -1
  6. {meson_python-0.21.0 → meson_python-0.21.1}/pyproject.toml +1 -1
  7. {meson_python-0.21.0 → meson_python-0.21.1}/tests/test_tags.py +20 -0
  8. {meson_python-0.21.0 → meson_python-0.21.1}/.gitattributes +0 -0
  9. {meson_python-0.21.0 → meson_python-0.21.1}/.github/workflows/docs.yml +0 -0
  10. {meson_python-0.21.0 → meson_python-0.21.1}/.github/workflows/pixi.lock +0 -0
  11. {meson_python-0.21.0 → meson_python-0.21.1}/.github/workflows/pixi.toml +0 -0
  12. {meson_python-0.21.0 → meson_python-0.21.1}/.github/workflows/release.yml +0 -0
  13. {meson_python-0.21.0 → meson_python-0.21.1}/.github/workflows/tests.yml +0 -0
  14. {meson_python-0.21.0 → meson_python-0.21.1}/.github/workflows/zizmor.yml +0 -0
  15. {meson_python-0.21.0 → meson_python-0.21.1}/.github/zizmor.yml +0 -0
  16. {meson_python-0.21.0 → meson_python-0.21.1}/.gitignore +0 -0
  17. {meson_python-0.21.0 → meson_python-0.21.1}/.mailmap +0 -0
  18. {meson_python-0.21.0 → meson_python-0.21.1}/.pre-commit-config.yaml +0 -0
  19. {meson_python-0.21.0 → meson_python-0.21.1}/.vscode/settings.json +0 -0
  20. {meson_python-0.21.0 → meson_python-0.21.1}/LICENSE +0 -0
  21. {meson_python-0.21.0 → meson_python-0.21.1}/LICENSES/MIT.txt +0 -0
  22. {meson_python-0.21.0 → meson_python-0.21.1}/README.rst +0 -0
  23. {meson_python-0.21.0 → meson_python-0.21.1}/RELEASE.rst +0 -0
  24. {meson_python-0.21.0 → meson_python-0.21.1}/REUSE.toml +0 -0
  25. {meson_python-0.21.0 → meson_python-0.21.1}/codecov.yml +0 -0
  26. {meson_python-0.21.0 → meson_python-0.21.1}/docs/about.rst +0 -0
  27. {meson_python-0.21.0 → meson_python-0.21.1}/docs/conf.py +0 -0
  28. {meson_python-0.21.0 → meson_python-0.21.1}/docs/explanations/default-options.rst +0 -0
  29. {meson_python-0.21.0 → meson_python-0.21.1}/docs/explanations/design-old.rst +0 -0
  30. {meson_python-0.21.0 → meson_python-0.21.1}/docs/how-to-guides/config-settings.rst +0 -0
  31. {meson_python-0.21.0 → meson_python-0.21.1}/docs/how-to-guides/contributing.rst +0 -0
  32. {meson_python-0.21.0 → meson_python-0.21.1}/docs/how-to-guides/debug-builds.rst +0 -0
  33. {meson_python-0.21.0 → meson_python-0.21.1}/docs/how-to-guides/editable-installs.rst +0 -0
  34. {meson_python-0.21.0 → meson_python-0.21.1}/docs/how-to-guides/meson-args.rst +0 -0
  35. {meson_python-0.21.0 → meson_python-0.21.1}/docs/how-to-guides/sdist.rst +0 -0
  36. {meson_python-0.21.0 → meson_python-0.21.1}/docs/how-to-guides/shared-libraries.rst +0 -0
  37. {meson_python-0.21.0 → meson_python-0.21.1}/docs/index.rst +0 -0
  38. {meson_python-0.21.0 → meson_python-0.21.1}/docs/projects-using-meson-python.rst +0 -0
  39. {meson_python-0.21.0 → meson_python-0.21.1}/docs/reference/config-settings.rst +0 -0
  40. {meson_python-0.21.0 → meson_python-0.21.1}/docs/reference/environment-variables.rst +0 -0
  41. {meson_python-0.21.0 → meson_python-0.21.1}/docs/reference/limitations.rst +0 -0
  42. {meson_python-0.21.0 → meson_python-0.21.1}/docs/reference/meson-compatibility.rst +0 -0
  43. {meson_python-0.21.0 → meson_python-0.21.1}/docs/reference/pyproject-settings.rst +0 -0
  44. {meson_python-0.21.0 → meson_python-0.21.1}/docs/tutorials/introduction.rst +0 -0
  45. {meson_python-0.21.0 → meson_python-0.21.1}/meson.build +0 -0
  46. {meson_python-0.21.0 → meson_python-0.21.1}/mesonpy/_editable.py +0 -0
  47. {meson_python-0.21.0 → meson_python-0.21.1}/mesonpy/_rpath.py +0 -0
  48. {meson_python-0.21.0 → meson_python-0.21.1}/mesonpy/_util.py +0 -0
  49. {meson_python-0.21.0 → meson_python-0.21.1}/mesonpy/_wheelfile.py +0 -0
  50. {meson_python-0.21.0 → meson_python-0.21.1}/tests/__init__.py +0 -0
  51. {meson_python-0.21.0 → meson_python-0.21.1}/tests/conftest.py +0 -0
  52. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/cmake-subproject/cmakesubproject.pyx +0 -0
  53. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/cmake-subproject/meson.build +0 -0
  54. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/cmake-subproject/pyproject.toml +0 -0
  55. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/cmake-subproject/subprojects/cmaketest/CMakeLists.txt +0 -0
  56. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/cmake-subproject/subprojects/cmaketest/cmaketest.cpp +0 -0
  57. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/cmake-subproject/subprojects/cmaketest/cmaketest.hpp +0 -0
  58. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/cmake-subproject/subprojects/cmaketest.wrap +0 -0
  59. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/complex/complex/__init__.py +0 -0
  60. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/complex/complex/more/__init__.py +0 -0
  61. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/complex/complex/more/baz.pyx +0 -0
  62. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/complex/complex/more/meson.build +0 -0
  63. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/complex/complex/namespace/bar.py +0 -0
  64. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/complex/complex/namespace/foo.py +0 -0
  65. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/complex/extension.c +0 -0
  66. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/complex/foo.py +0 -0
  67. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/complex/meson.build +0 -0
  68. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/complex/move.py +0 -0
  69. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/complex/pyproject.toml +0 -0
  70. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/complex/test.pyx +0 -0
  71. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/configure-data/configure_data.py.in +0 -0
  72. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/configure-data/meson.build +0 -0
  73. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/configure-data/pyproject.toml +0 -0
  74. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/custom-target-dir/codegen.py +0 -0
  75. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/custom-target-dir/meson.build +0 -0
  76. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/custom-target-dir/pyproject.toml +0 -0
  77. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/detect-compiler/detect_compiler.c +0 -0
  78. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/detect-compiler/meson.build +0 -0
  79. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/detect-compiler/pyproject.toml +0 -0
  80. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/dist-script/meson.build +0 -0
  81. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/dist-script/pyproject.toml +0 -0
  82. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/dynamic-version/meson.build +0 -0
  83. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/dynamic-version/pyproject.toml +0 -0
  84. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/encoding/meson.build +0 -0
  85. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/encoding/pyproject.toml +0 -0
  86. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/encoding//343/203/206/343/202/271/343/203/210.py" +0 -0
  87. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/executable/example.c +0 -0
  88. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/executable/meson.build +0 -0
  89. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/executable/pyproject.toml +0 -0
  90. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/executable-bit/example-script.py +0 -0
  91. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/executable-bit/example.c +0 -0
  92. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/executable-bit/executable_module.py +0 -0
  93. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/executable-bit/meson.build +0 -0
  94. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/executable-bit/pyproject.toml +0 -0
  95. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/full-metadata/LICENSE +0 -0
  96. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/full-metadata/README.md +0 -0
  97. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/full-metadata/meson.build +0 -0
  98. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/full-metadata/pyproject.toml +0 -0
  99. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/generated-files/example-script.py +0 -0
  100. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/generated-files/example.c +0 -0
  101. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/generated-files/executable_module.py +0 -0
  102. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/generated-files/generate_version.py +0 -0
  103. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/generated-files/meson.build +0 -0
  104. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/generated-files/pyproject.toml +0 -0
  105. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/imports-itself-during-build/meson.build +0 -0
  106. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/imports-itself-during-build/plat.c +0 -0
  107. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/imports-itself-during-build/pure.py +0 -0
  108. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/imports-itself-during-build/pyproject.toml +0 -0
  109. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/install-data/__init__.py +0 -0
  110. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/install-data/data.txt +0 -0
  111. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/install-data/meson.build +0 -0
  112. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/install-data/pyproject.toml +0 -0
  113. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/install-subdir/meson.build +0 -0
  114. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/install-subdir/nested/deep/deep.py +0 -0
  115. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/install-subdir/nested/deep/excluded.py +0 -0
  116. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/install-subdir/nested/nested.py +0 -0
  117. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/install-subdir/pyproject.toml +0 -0
  118. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/install-subdir/strip/excluded.py +0 -0
  119. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/install-subdir/strip/module.py +0 -0
  120. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/install-subdir/subdir/__init__.py +0 -0
  121. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/install-subdir/subdir/excluded/__init__.py +0 -0
  122. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/install-subdir/subdir/excluded.py +0 -0
  123. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/install-subdir/subdir/test.py +0 -0
  124. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/library/example.c +0 -0
  125. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/library/examplelib.c +0 -0
  126. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/library/examplelib.h +0 -0
  127. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/library/meson.build +0 -0
  128. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/library/pyproject.toml +0 -0
  129. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/license-file/meson.build +0 -0
  130. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/license-file/pyproject.toml +0 -0
  131. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/license-file/something/LICENSE.custom +0 -0
  132. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/license-pep639/LICENSES/BSD-3-Clause.txt +0 -0
  133. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/license-pep639/LICENSES/MIT.txt +0 -0
  134. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/license-pep639/meson.build +0 -0
  135. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/license-pep639/pyproject.toml +0 -0
  136. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/limited-api/meson.build +0 -0
  137. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/limited-api/meson.options +0 -0
  138. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/limited-api/module.c +0 -0
  139. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/limited-api/pyproject.toml +0 -0
  140. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/limited-api-free-threaded/meson.build +0 -0
  141. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/limited-api-free-threaded/module.c +0 -0
  142. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/limited-api-free-threaded/pyproject.toml +0 -0
  143. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/link-against-local-lib/__init__.py +0 -0
  144. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/link-against-local-lib/examplemod.c +0 -0
  145. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/link-against-local-lib/lib/examplelib.c +0 -0
  146. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/link-against-local-lib/lib/examplelib.h +0 -0
  147. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/link-against-local-lib/lib/meson.build +0 -0
  148. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/link-against-local-lib/meson.build +0 -0
  149. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/link-against-local-lib/pyproject.toml +0 -0
  150. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/link-library-in-subproject/foo/__init__.py +0 -0
  151. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/link-library-in-subproject/foo/_examplemod.c +0 -0
  152. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/link-library-in-subproject/foo/meson.build +0 -0
  153. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/link-library-in-subproject/meson.build +0 -0
  154. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/link-library-in-subproject/pyproject.toml +0 -0
  155. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/link-library-in-subproject/subprojects/bar/bar_dll.h +0 -0
  156. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/link-library-in-subproject/subprojects/bar/examplelib.c +0 -0
  157. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/link-library-in-subproject/subprojects/bar/examplelib.h +0 -0
  158. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/link-library-in-subproject/subprojects/bar/meson.build +0 -0
  159. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/long-path/meson.build +0 -0
  160. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/long-path/pyproject.toml +0 -0
  161. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/missing-dynamic-version/meson.build +0 -0
  162. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/missing-dynamic-version/pyproject.toml +0 -0
  163. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/missing-meson-version/meson.build +0 -0
  164. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/missing-meson-version/pyproject.toml +0 -0
  165. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/module-types/file.py +0 -0
  166. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/module-types/meson.build +0 -0
  167. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/module-types/namespace/data.py +0 -0
  168. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/module-types/native.c +0 -0
  169. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/module-types/package/__init__.py +0 -0
  170. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/module-types/pyproject.toml +0 -0
  171. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/pure/meson.build +0 -0
  172. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/pure/pure.py +0 -0
  173. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/pure/pyproject.toml +0 -0
  174. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/purelib-and-platlib/meson.build +0 -0
  175. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/purelib-and-platlib/plat.c +0 -0
  176. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/purelib-and-platlib/pure.py +0 -0
  177. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/purelib-and-platlib/pyproject.toml +0 -0
  178. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/purelib-platlib-split/meson.build +0 -0
  179. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/purelib-platlib-split/plat.py +0 -0
  180. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/purelib-platlib-split/pure.py +0 -0
  181. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/purelib-platlib-split/pyproject.toml +0 -0
  182. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/scipy-like/meson.build +0 -0
  183. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/scipy-like/mypkg/__init__.py +0 -0
  184. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/scipy-like/mypkg/cy_extmod.pyx +0 -0
  185. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/scipy-like/mypkg/extmod.c +0 -0
  186. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/scipy-like/mypkg/meson.build +0 -0
  187. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/scipy-like/mypkg/submod/__init__.py +0 -0
  188. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/scipy-like/mypkg/submod/unknown_filetype.npq +0 -0
  189. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/scipy-like/pyproject.toml +0 -0
  190. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/scipy-like/tools/generate_config.py +0 -0
  191. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/sharedlib-in-package/meson.build +0 -0
  192. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/sharedlib-in-package/mypkg/__init__.py +0 -0
  193. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/sharedlib-in-package/mypkg/_examplemod.c +0 -0
  194. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/sharedlib-in-package/mypkg/examplelib.c +0 -0
  195. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/sharedlib-in-package/mypkg/examplelib.h +0 -0
  196. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/sharedlib-in-package/mypkg/meson.build +0 -0
  197. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/sharedlib-in-package/mypkg/sub/examplelib2.c +0 -0
  198. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/sharedlib-in-package/mypkg/sub/examplelib2.h +0 -0
  199. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/sharedlib-in-package/mypkg/sub/meson.build +0 -0
  200. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/sharedlib-in-package/mypkg/sub/mypkg_dll.h +0 -0
  201. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/sharedlib-in-package/pyproject.toml +0 -0
  202. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/simple/__init__.py +0 -0
  203. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/simple/data.txt +0 -0
  204. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/simple/meson.build +0 -0
  205. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/simple/pyproject.toml +0 -0
  206. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/simple/test.py +0 -0
  207. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/subdirs/meson.build +0 -0
  208. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/subdirs/pyproject.toml +0 -0
  209. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/subdirs/subdirs/__init__.py +0 -0
  210. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/subdirs/subdirs/a/__init__.py +0 -0
  211. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/subdirs/subdirs/a/b/c.py +0 -0
  212. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/subdirs/subdirs/b/c.py +0 -0
  213. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/subproject/meson.build +0 -0
  214. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/subproject/pyproject.toml +0 -0
  215. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/subproject/subproject.py +0 -0
  216. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/subproject/subprojects/dep/data.txt +0 -0
  217. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/subproject/subprojects/dep/dep.py +0 -0
  218. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/subproject/subprojects/dep/meson.build +0 -0
  219. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/symlinks/__init__.py +0 -0
  220. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/symlinks/meson.build +0 -0
  221. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/symlinks/pyproject.toml +0 -0
  222. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/symlinks/submodule/__init__.py +0 -0
  223. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/symlinks/submodule/aaa.py +0 -0
  224. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/symlinks/submodule/bbb.py +0 -0
  225. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/unknown-user-args-meson-args/pyproject.toml +0 -0
  226. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/unknown-user-args-top-level/pyproject.toml +0 -0
  227. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/unsupported-python-version/meson.build +0 -0
  228. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/unsupported-python-version/pyproject.toml +0 -0
  229. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/user-args/meson.build +0 -0
  230. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/user-args/pure.py +0 -0
  231. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/user-args/pyproject.toml +0 -0
  232. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/vendored-meson/meson.build +0 -0
  233. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/vendored-meson/meson_options.txt +0 -0
  234. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/vendored-meson/pyproject.toml +0 -0
  235. {meson_python-0.21.0 → meson_python-0.21.1}/tests/packages/vendored-meson/third-party/meson.py +0 -0
  236. {meson_python-0.21.0 → meson_python-0.21.1}/tests/test_consistency.py +0 -0
  237. {meson_python-0.21.0 → meson_python-0.21.1}/tests/test_editable.py +0 -0
  238. {meson_python-0.21.0 → meson_python-0.21.1}/tests/test_metadata.py +0 -0
  239. {meson_python-0.21.0 → meson_python-0.21.1}/tests/test_options.py +0 -0
  240. {meson_python-0.21.0 → meson_python-0.21.1}/tests/test_output.py +0 -0
  241. {meson_python-0.21.0 → meson_python-0.21.1}/tests/test_pep517.py +0 -0
  242. {meson_python-0.21.0 → meson_python-0.21.1}/tests/test_project.py +0 -0
  243. {meson_python-0.21.0 → meson_python-0.21.1}/tests/test_sdist.py +0 -0
  244. {meson_python-0.21.0 → meson_python-0.21.1}/tests/test_wheel.py +0 -0
  245. {meson_python-0.21.0 → meson_python-0.21.1}/tests/test_wheelfile.py +0 -0
@@ -11,6 +11,14 @@
11
11
  Changelog
12
12
  +++++++++
13
13
 
14
+ 0.21.1
15
+ ======
16
+
17
+ - Restore compatibility with Python interpreters not implementing PEP 3149.
18
+
19
+ Daniele Nicolodi, Ralf Gommers --- 11-09-2026.
20
+
21
+
14
22
  0.21.0
15
23
  ======
16
24
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: meson-python
3
- Version: 0.21.0
3
+ Version: 0.21.1
4
4
  Summary: The Python build backend for Meson projects
5
5
  Keywords: meson,build,backend,pep517,package
6
6
  Maintainer-Email: Ralf Gommers <ralf.gommers@gmail.com>, Daniele Nicolodi <daniele@grinta.net>, Henry Schreiner <HenrySchreinerIII@gmail.com>
@@ -11,6 +11,14 @@
11
11
  Changelog
12
12
  +++++++++
13
13
 
14
+ 0.21.1
15
+ ======
16
+
17
+ - Restore compatibility with Python interpreters not implementing PEP 3149.
18
+
19
+ Daniele Nicolodi, Ralf Gommers --- 11-09-2026.
20
+
21
+
14
22
  0.21.0
15
23
  ======
16
24
 
@@ -85,7 +85,7 @@ if typing.TYPE_CHECKING: # pragma: no cover
85
85
  Path = Union[str, os.PathLike[str]]
86
86
 
87
87
 
88
- __version__ = '0.21.0'
88
+ __version__ = '0.21.1'
89
89
 
90
90
 
91
91
  _PYPROJECT_METADATA_VERSION = tuple(map(int, pyproject_metadata.__version__.split('.')[:2]))
@@ -31,6 +31,26 @@ def get_interpreter_tag() -> str:
31
31
  return f'{name}{version[0]}{version[1]}'
32
32
 
33
33
 
34
+ def _get_config_var(name: str, default: str | int | None = None) -> str | int | None:
35
+ value: str | int | None = sysconfig.get_config_var(name)
36
+ if value is None:
37
+ return default
38
+ return value
39
+
40
+
41
+ def _get_cpython_abi() -> str:
42
+ # Fallback for Python distributions not implementing PEP 3149.
43
+ if sys.implementation.name != 'cpython':
44
+ raise NotImplementedError
45
+ version = sys.version_info
46
+ debug = threading = ''
47
+ if _get_config_var('Py_DEBUG', hasattr(sys, 'gettotalrefcount')):
48
+ debug = 'd'
49
+ if version >= (3, 13) and _get_config_var('Py_GIL_DISABLED'):
50
+ threading = 't'
51
+ return f'cp{version[0]}{version[1]}{threading}{debug}'
52
+
53
+
34
54
  def get_abi_tag() -> str:
35
55
  # The best solution to obtain the Python ABI is to parse the
36
56
  # $SOABI or $EXT_SUFFIX sysconfig variables as defined in PEP-314.
@@ -39,7 +59,13 @@ def get_abi_tag() -> str:
39
59
  # Using $EXT_SUFFIX will not break when PyPy will fix this.
40
60
  # See https://foss.heptapod.net/pypy/pypy/-/issues/3816 and
41
61
  # https://github.com/pypa/packaging/pull/607.
42
- empty, abi, ext = str(sysconfig.get_config_var('EXT_SUFFIX')).split('.')
62
+ parts = str(sysconfig.get_config_var('EXT_SUFFIX')).split('.')
63
+
64
+ # Some Python distributions (notably pkgsrc, the default NetBSD
65
+ # package manager) patch the Python configure script to remove
66
+ # $SOABI from $EXT_SUFFIX.
67
+ if len(parts) < 3:
68
+ return _get_cpython_abi()
43
69
 
44
70
  # The packaging module initially based his understanding of the
45
71
  # $SOABI variable on the inconsistent value reported by PyPy, and
@@ -48,6 +74,7 @@ def get_abi_tag() -> str:
48
74
  # explicitly handled below) contains architecture information too.
49
75
  # Unfortunately, fixing this now would break compatibility.
50
76
 
77
+ abi = parts[1]
51
78
  if abi.startswith('cpython'):
52
79
  abi = 'cp' + abi.split('-')[1]
53
80
  elif abi.startswith('cp'):
@@ -16,7 +16,7 @@ requires = [
16
16
 
17
17
  [project]
18
18
  name = 'meson-python'
19
- version = '0.21.0'
19
+ version = '0.21.1'
20
20
  description = 'The Python build backend for Meson projects'
21
21
  readme = 'README.rst'
22
22
  requires-python = '>= 3.9'
@@ -176,3 +176,23 @@ def test_tag_stable_abi_multiarch():
176
176
  }, pure=False, limited_api=True)
177
177
  abi = 'abi3.abi3t' if STABLE_ABI_KIND == 'abi3t' else 'abi3'
178
178
  assert str(builder.tag) == f'{INTERPRETER}-{abi}-{PLATFORM}'
179
+
180
+
181
+ @pytest.mark.skipif(sys.implementation.name != 'cpython', reason='fallback implemented for CPython only')
182
+ def test_abi_tag_fallback(monkeypatch):
183
+ assert mesonpy._tags.get_abi_tag() == ABI
184
+
185
+ sysconfig_get_config_var = sysconfig.get_config_var
186
+
187
+ def get_config_var(name):
188
+ value = sysconfig_get_config_var(name)
189
+ if name == 'EXT_SUFFIX':
190
+ value = '.' + value.split('.')[-1]
191
+ return value
192
+
193
+ # Remove $SOABI from $EXT_SUFFIX to simulate a Python interpreter
194
+ # that does not implement PEP 3149. Verify that the fallback code
195
+ # produces the same ABI tag.
196
+ monkeypatch.setattr(sysconfig, 'get_config_var', get_config_var)
197
+
198
+ assert mesonpy._tags.get_abi_tag() == ABI
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes