meson-python 0.14.0__tar.gz → 0.16.0__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 (235) hide show
  1. {meson_python-0.14.0 → meson_python-0.16.0}/.cirrus.yml +13 -1
  2. meson_python-0.16.0/.github/workflows/docs.yml +51 -0
  3. {meson_python-0.14.0 → meson_python-0.16.0}/.github/workflows/tests.yml +45 -32
  4. meson_python-0.16.0/.mailmap +6 -0
  5. {meson_python-0.14.0 → meson_python-0.16.0}/.pre-commit-config.yaml +4 -8
  6. meson_python-0.14.0/.readthedocs.yml → meson_python-0.16.0/.readthedocs.yaml +5 -1
  7. {meson_python-0.14.0 → meson_python-0.16.0}/CHANGELOG.rst +64 -2
  8. {meson_python-0.14.0 → meson_python-0.16.0}/PKG-INFO +14 -15
  9. {meson_python-0.14.0 → meson_python-0.16.0}/README.rst +3 -3
  10. {meson_python-0.14.0 → meson_python-0.16.0}/ci/alpine-3.docker +2 -2
  11. {meson_python-0.14.0 → meson_python-0.16.0}/ci/debian-11.docker +1 -1
  12. {meson_python-0.14.0 → meson_python-0.16.0}/ci/debian-12.docker +1 -1
  13. {meson_python-0.14.0 → meson_python-0.16.0}/ci/fedora-37.docker +1 -1
  14. {meson_python-0.14.0 → meson_python-0.16.0}/ci/miniconda.docker +1 -1
  15. {meson_python-0.14.0 → meson_python-0.16.0}/docs/changelog.rst +64 -2
  16. {meson_python-0.14.0 → meson_python-0.16.0}/docs/conf.py +3 -2
  17. {meson_python-0.14.0 → meson_python-0.16.0}/docs/contributing/index.rst +0 -1
  18. {meson_python-0.14.0 → meson_python-0.16.0}/docs/contributing/release-process.rst +1 -1
  19. meson_python-0.16.0/docs/how-to-guides/config-settings.rst +61 -0
  20. {meson_python-0.14.0 → meson_python-0.16.0}/docs/how-to-guides/debug-builds.rst +1 -1
  21. {meson_python-0.14.0 → meson_python-0.16.0}/docs/how-to-guides/editable-installs.rst +1 -1
  22. {meson_python-0.14.0 → meson_python-0.16.0}/docs/how-to-guides/meson-args.rst +4 -4
  23. meson_python-0.16.0/docs/index.rst +106 -0
  24. meson_python-0.16.0/docs/projects-using-meson-python.rst +33 -0
  25. {meson_python-0.14.0 → meson_python-0.16.0}/docs/reference/config-settings.rst +5 -2
  26. {meson_python-0.14.0 → meson_python-0.16.0}/docs/reference/environment-variables.rst +37 -1
  27. {meson_python-0.14.0 → meson_python-0.16.0}/docs/reference/meson-compatibility.rst +9 -1
  28. {meson_python-0.14.0 → meson_python-0.16.0}/docs/reference/pyproject-settings.rst +11 -3
  29. {meson_python-0.14.0 → meson_python-0.16.0}/docs/tutorials/introduction.rst +4 -4
  30. {meson_python-0.14.0 → meson_python-0.16.0}/meson.build +1 -1
  31. {meson_python-0.14.0 → meson_python-0.16.0}/mesonpy/__init__.py +342 -349
  32. {meson_python-0.14.0 → meson_python-0.16.0}/mesonpy/_compat.py +6 -11
  33. {meson_python-0.14.0 → meson_python-0.16.0}/mesonpy/_editable.py +127 -58
  34. {meson_python-0.14.0 → meson_python-0.16.0}/mesonpy/_rpath.py +11 -7
  35. {meson_python-0.14.0 → meson_python-0.16.0}/mesonpy/_tags.py +11 -1
  36. {meson_python-0.14.0 → meson_python-0.16.0}/mesonpy/_util.py +14 -20
  37. {meson_python-0.14.0 → meson_python-0.16.0}/mesonpy/_wheelfile.py +8 -2
  38. {meson_python-0.14.0 → meson_python-0.16.0}/pyproject.toml +20 -26
  39. {meson_python-0.14.0 → meson_python-0.16.0}/tests/conftest.py +0 -22
  40. meson_python-0.16.0/tests/packages/complex/complex/more/meson.build +10 -0
  41. meson_python-0.16.0/tests/packages/complex/foo.py +6 -0
  42. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/complex/meson.build +32 -2
  43. meson_python-0.16.0/tests/packages/complex/move.py +6 -0
  44. meson_python-0.16.0/tests/packages/complex/test.pyx +6 -0
  45. meson_python-0.16.0/tests/packages/custom-target-dir/codegen.py +16 -0
  46. meson_python-0.16.0/tests/packages/custom-target-dir/meson.build +14 -0
  47. meson_python-0.16.0/tests/packages/custom-target-dir/pyproject.toml +7 -0
  48. meson_python-0.16.0/tests/packages/encoding/meson.build +9 -0
  49. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/imports-itself-during-build/meson.build +2 -1
  50. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/link-against-local-lib/examplemod.c +1 -1
  51. meson_python-0.16.0/tests/packages/link-against-local-lib/lib/meson.build +9 -0
  52. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/link-against-local-lib/meson.build +1 -5
  53. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/purelib-and-platlib/meson.build +5 -1
  54. meson_python-0.16.0/tests/packages/subproject/pyproject.toml +7 -0
  55. meson_python-0.16.0/tests/packages/subproject/subprojects/dep/dep.py +3 -0
  56. meson_python-0.16.0/tests/packages/vendored-meson/meson.build +11 -0
  57. meson_python-0.16.0/tests/packages/vendored-meson/meson_options.txt +5 -0
  58. meson_python-0.16.0/tests/packages/vendored-meson/pyproject.toml +10 -0
  59. meson_python-0.16.0/tests/packages/vendored-meson/third-party/meson.py +15 -0
  60. {meson_python-0.14.0 → meson_python-0.16.0}/tests/test_editable.py +113 -8
  61. meson_python-0.16.0/tests/test_metadata.py +52 -0
  62. meson_python-0.16.0/tests/test_output.py +32 -0
  63. {meson_python-0.14.0 → meson_python-0.16.0}/tests/test_pep517.py +11 -16
  64. {meson_python-0.14.0 → meson_python-0.16.0}/tests/test_project.py +35 -38
  65. {meson_python-0.14.0 → meson_python-0.16.0}/tests/test_sdist.py +64 -0
  66. {meson_python-0.14.0 → meson_python-0.16.0}/tests/test_tags.py +31 -22
  67. {meson_python-0.14.0 → meson_python-0.16.0}/tests/test_wheel.py +37 -6
  68. {meson_python-0.14.0 → meson_python-0.16.0}/tests/test_wheelfile.py +14 -0
  69. meson_python-0.14.0/.github/workflows/docs.yml +0 -27
  70. meson_python-0.14.0/docs/contributing/commit-format.rst +0 -18
  71. meson_python-0.14.0/docs/contributing/documentation.rst +0 -36
  72. meson_python-0.14.0/docs/contributing/getting-started.rst +0 -15
  73. meson_python-0.14.0/docs/contributing/test-suite.rst +0 -16
  74. meson_python-0.14.0/docs/explanations/design.rst +0 -25
  75. meson_python-0.14.0/docs/explanations/editable-installs.rst +0 -19
  76. meson_python-0.14.0/docs/explanations/internal-dependencies.rst +0 -29
  77. meson_python-0.14.0/docs/how-to-guides/build-directory.rst +0 -19
  78. meson_python-0.14.0/docs/how-to-guides/config-settings.rst +0 -69
  79. meson_python-0.14.0/docs/how-to-guides/first-project.rst +0 -91
  80. meson_python-0.14.0/docs/index.rst +0 -121
  81. meson_python-0.14.0/docs/projects-using-meson-python.rst +0 -39
  82. meson_python-0.14.0/docs/reference/quirks.rst +0 -33
  83. meson_python-0.14.0/docs/tutorials/entrypoints.rst +0 -17
  84. meson_python-0.14.0/docs/tutorials/executable.rst +0 -21
  85. meson_python-0.14.0/tests/packages/library/example.c +0 -11
  86. meson_python-0.14.0/tests/packages/library/examplelib.c +0 -7
  87. meson_python-0.14.0/tests/packages/library-pep621/meson.build +0 -18
  88. meson_python-0.14.0/tests/packages/library-pep621/pyproject.toml +0 -11
  89. meson_python-0.14.0/tests/packages/unsupported-dynamic/meson.build +0 -5
  90. meson_python-0.14.0/tests/packages/unsupported-dynamic/pyproject.toml +0 -14
  91. meson_python-0.14.0/tests/test_metadata.py +0 -70
  92. meson_python-0.14.0/tests/test_output.py +0 -54
  93. meson_python-0.14.0/tests/test_pep518.py +0 -30
  94. {meson_python-0.14.0 → meson_python-0.16.0}/.gitignore +0 -0
  95. {meson_python-0.14.0 → meson_python-0.16.0}/LICENSE +0 -0
  96. {meson_python-0.14.0 → meson_python-0.16.0}/LICENSES/MIT.txt +0 -0
  97. {meson_python-0.14.0 → meson_python-0.16.0}/ci/archlinux.docker +0 -0
  98. {meson_python-0.14.0 → meson_python-0.16.0}/ci/debian-unstable.docker +0 -0
  99. {meson_python-0.14.0 → meson_python-0.16.0}/ci/manylinux.docker +0 -0
  100. {meson_python-0.14.0 → meson_python-0.16.0}/ci/opensuse-15.docker +0 -0
  101. {meson_python-0.14.0 → meson_python-0.16.0}/codecov.yml +0 -0
  102. {meson_python-0.14.0 → meson_python-0.16.0}/docs/about.rst +0 -0
  103. {meson_python-0.14.0 → meson_python-0.16.0}/docs/examples/spam/meson.build +0 -0
  104. {meson_python-0.14.0 → meson_python-0.16.0}/docs/examples/spam/pyproject.toml +0 -0
  105. {meson_python-0.14.0 → meson_python-0.16.0}/docs/examples/spam/src/__init__.py +0 -0
  106. {meson_python-0.14.0 → meson_python-0.16.0}/docs/examples/spam/src/spammodule.c +0 -0
  107. {meson_python-0.14.0 → meson_python-0.16.0}/docs/explanations/default-options.rst +0 -0
  108. {meson_python-0.14.0 → meson_python-0.16.0}/docs/explanations/design-old.rst +0 -0
  109. {meson_python-0.14.0 → meson_python-0.16.0}/docs/reference/limitations.rst +0 -0
  110. {meson_python-0.14.0 → meson_python-0.16.0}/docs/spelling_wordlist.txt +0 -0
  111. {meson_python-0.14.0 → meson_python-0.16.0}/docs/spelling_wordlist.txt.license +0 -0
  112. {meson_python-0.14.0 → meson_python-0.16.0}/docs/static/css/contributors.css +0 -0
  113. {meson_python-0.14.0 → meson_python-0.16.0}/noxfile.py +0 -0
  114. {meson_python-0.14.0 → meson_python-0.16.0}/tests/__init__.py +0 -0
  115. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/complex/complex/__init__.py +0 -0
  116. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/complex/complex/more/__init__.py +0 -0
  117. /meson_python-0.14.0/tests/packages/complex/test.pyx → /meson_python-0.16.0/tests/packages/complex/complex/more/baz.pyx +0 -0
  118. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/complex/complex/namespace/bar.py +0 -0
  119. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/complex/complex/namespace/foo.py +0 -0
  120. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/complex/pyproject.toml +0 -0
  121. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/configure-data/configure_data.py.in +0 -0
  122. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/configure-data/meson.build +0 -0
  123. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/configure-data/pyproject.toml +0 -0
  124. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/detect-compiler/detect_compiler.c +0 -0
  125. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/detect-compiler/meson.build +0 -0
  126. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/detect-compiler/pyproject.toml +0 -0
  127. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/dist-script/meson.build +0 -0
  128. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/dist-script/pyproject.toml +0 -0
  129. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/dynamic-version/meson.build +0 -0
  130. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/dynamic-version/pyproject.toml +0 -0
  131. {meson_python-0.14.0/tests/packages/missing-meson-version → meson_python-0.16.0/tests/packages/encoding}/pyproject.toml +0 -0
  132. /meson_python-0.14.0/tests/packages/install-subdir/nested/deep/deep.py → /meson_python-0.16.0/tests/packages/encoding//343/203/206/343/202/271/343/203/210.py" +0 -0
  133. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/executable/example.c +0 -0
  134. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/executable/meson.build +0 -0
  135. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/executable/pyproject.toml +0 -0
  136. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/executable-bit/example-script.py +0 -0
  137. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/executable-bit/example.c +0 -0
  138. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/executable-bit/executable_module.py +0 -0
  139. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/executable-bit/meson.build +0 -0
  140. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/executable-bit/pyproject.toml +0 -0
  141. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/full-metadata/LICENSE +0 -0
  142. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/full-metadata/README.md +0 -0
  143. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/full-metadata/meson.build +0 -0
  144. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/full-metadata/pyproject.toml +0 -0
  145. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/generated-files/example-script.py +0 -0
  146. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/generated-files/example.c +0 -0
  147. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/generated-files/executable_module.py +0 -0
  148. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/generated-files/generate_version.py +0 -0
  149. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/generated-files/meson.build +0 -0
  150. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/generated-files/pyproject.toml +0 -0
  151. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/imports-itself-during-build/plat.c +0 -0
  152. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/imports-itself-during-build/pure.py +0 -0
  153. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/imports-itself-during-build/pyproject.toml +0 -0
  154. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/install-subdir/meson.build +0 -0
  155. /meson_python-0.14.0/tests/packages/install-subdir/nested/deep/excluded.py → /meson_python-0.16.0/tests/packages/install-subdir/nested/deep/deep.py +0 -0
  156. {meson_python-0.14.0/tests/packages/install-subdir/strip → meson_python-0.16.0/tests/packages/install-subdir/nested/deep}/excluded.py +0 -0
  157. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/install-subdir/nested/nested.py +0 -0
  158. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/install-subdir/pyproject.toml +0 -0
  159. {meson_python-0.14.0/tests/packages/install-subdir/subdir → meson_python-0.16.0/tests/packages/install-subdir/strip}/excluded.py +0 -0
  160. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/install-subdir/strip/module.py +0 -0
  161. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/install-subdir/subdir/__init__.py +0 -0
  162. /meson_python-0.14.0/tests/packages/install-subdir/subdir/test.py → /meson_python-0.16.0/tests/packages/install-subdir/subdir/excluded/__init__.py +0 -0
  163. /meson_python-0.14.0/tests/packages/install-subdir/subdir/excluded/__init__.py → /meson_python-0.16.0/tests/packages/install-subdir/subdir/excluded.py +0 -0
  164. /meson_python-0.14.0/tests/packages/subproject/subproject.py → /meson_python-0.16.0/tests/packages/install-subdir/subdir/test.py +0 -0
  165. {meson_python-0.14.0/tests/packages/library-pep621 → meson_python-0.16.0/tests/packages/library}/example.c +0 -0
  166. {meson_python-0.14.0/tests/packages/library-pep621 → meson_python-0.16.0/tests/packages/library}/examplelib.c +0 -0
  167. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/library/examplelib.h +0 -0
  168. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/library/meson.build +0 -0
  169. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/library/pyproject.toml +0 -0
  170. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/license-file/meson.build +0 -0
  171. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/license-file/pyproject.toml +0 -0
  172. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/license-file/something/LICENSE.custom +0 -0
  173. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/limited-api/meson.build +0 -0
  174. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/limited-api/meson.options +0 -0
  175. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/limited-api/module.c +0 -0
  176. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/limited-api/pyproject.toml +0 -0
  177. {meson_python-0.14.0/tests/packages/link-against-local-lib → meson_python-0.16.0/tests/packages/link-against-local-lib/lib}/examplelib.c +0 -0
  178. {meson_python-0.14.0/tests/packages/link-against-local-lib → meson_python-0.16.0/tests/packages/link-against-local-lib/lib}/examplelib.h +0 -0
  179. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/link-against-local-lib/pyproject.toml +0 -0
  180. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/missing-dynamic-version/meson.build +0 -0
  181. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/missing-dynamic-version/pyproject.toml +0 -0
  182. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/missing-meson-version/meson.build +0 -0
  183. {meson_python-0.14.0/tests/packages/subproject → meson_python-0.16.0/tests/packages/missing-meson-version}/pyproject.toml +0 -0
  184. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/missing-version/meson.build +0 -0
  185. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/missing-version/pyproject.toml +0 -0
  186. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/module-types/file.py +0 -0
  187. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/module-types/meson.build +0 -0
  188. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/module-types/namespace/data.py +0 -0
  189. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/module-types/native.c +0 -0
  190. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/module-types/package/__init__.py +0 -0
  191. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/module-types/pyproject.toml +0 -0
  192. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/pure/meson.build +0 -0
  193. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/pure/pure.py +0 -0
  194. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/pure/pyproject.toml +0 -0
  195. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/purelib-and-platlib/plat.c +0 -0
  196. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/purelib-and-platlib/pure.py +0 -0
  197. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/purelib-and-platlib/pyproject.toml +0 -0
  198. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/purelib-platlib-split/meson.build +0 -0
  199. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/purelib-platlib-split/plat.py +0 -0
  200. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/purelib-platlib-split/pure.py +0 -0
  201. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/purelib-platlib-split/pyproject.toml +0 -0
  202. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/scipy-like/meson.build +0 -0
  203. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/scipy-like/mypkg/__init__.py +0 -0
  204. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/scipy-like/mypkg/cy_extmod.pyx +0 -0
  205. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/scipy-like/mypkg/extmod.c +0 -0
  206. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/scipy-like/mypkg/meson.build +0 -0
  207. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/scipy-like/mypkg/submod/__init__.py +0 -0
  208. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/scipy-like/mypkg/submod/unknown_filetype.npq +0 -0
  209. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/scipy-like/pyproject.toml +0 -0
  210. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/scipy-like/tools/generate_config.py +0 -0
  211. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/simple/__init__.py +0 -0
  212. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/simple/data.txt +0 -0
  213. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/simple/data.txt.license +0 -0
  214. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/simple/meson.build +0 -0
  215. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/simple/pyproject.toml +0 -0
  216. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/simple/test.py +0 -0
  217. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/subdirs/meson.build +0 -0
  218. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/subdirs/pyproject.toml +0 -0
  219. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/subdirs/subdirs/__init__.py +0 -0
  220. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/subdirs/subdirs/a/__init__.py +0 -0
  221. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/subdirs/subdirs/a/b/c.py +0 -0
  222. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/subdirs/subdirs/b/c.py +0 -0
  223. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/subproject/meson.build +0 -0
  224. /meson_python-0.14.0/tests/packages/subproject/subprojects/dep/dep.py → /meson_python-0.16.0/tests/packages/subproject/subproject.py +0 -0
  225. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/subproject/subprojects/dep/meson.build +0 -0
  226. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/unknown-user-args-meson-args/pyproject.toml +0 -0
  227. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/unknown-user-args-top-level/pyproject.toml +0 -0
  228. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/unsupported-python-version/meson.build +0 -0
  229. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/unsupported-python-version/pyproject.toml +0 -0
  230. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/user-args/meson.build +0 -0
  231. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/user-args/pure.py +0 -0
  232. {meson_python-0.14.0 → meson_python-0.16.0}/tests/packages/user-args/pyproject.toml +0 -0
  233. {meson_python-0.14.0 → meson_python-0.16.0}/tests/test_consistency.py +0 -0
  234. {meson_python-0.14.0 → meson_python-0.16.0}/tests/test_examples.py +0 -0
  235. {meson_python-0.14.0 → meson_python-0.16.0}/tests/test_options.py +0 -0
@@ -7,7 +7,7 @@ test_template: &test
7
7
  - command -v python3
8
8
  - python3 --version
9
9
  - python3 -m venv env
10
- - source env/bin/activate
10
+ - . env/bin/activate
11
11
  - python3 -m pip install .[test]
12
12
  - python3 -m pytest
13
13
 
@@ -74,3 +74,15 @@ opensuse-15_task:
74
74
  dockerfile: ci/opensuse-15.docker
75
75
  cpu: 1
76
76
  << : *test
77
+
78
+ freebsd_task:
79
+ freebsd_instance:
80
+ image_family: freebsd-13-2
81
+ install_script: pkg install -y git ninja
82
+ << : *test
83
+
84
+ macos-arm64_task:
85
+ macos_instance:
86
+ image: ghcr.io/cirruslabs/macos-ventura-xcode
87
+ install_script: brew install git ninja python@3.11
88
+ << : *test
@@ -0,0 +1,51 @@
1
+ # SPDX-FileCopyrightText: 2022 The meson-python developers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ name: docs
6
+
7
+ on:
8
+ push:
9
+ tags:
10
+ - '[0-9]+.[0-9]+.[0-9]+'
11
+ pull_request:
12
+ branches:
13
+ - main
14
+ - release-*
15
+ paths:
16
+ - docs/**
17
+ - CHANGELOG.rst
18
+ - README.md
19
+ workflow_dispatch:
20
+ inputs:
21
+ tag:
22
+ required: true
23
+
24
+ jobs:
25
+
26
+ build:
27
+ runs-on: ubuntu-latest
28
+ steps:
29
+ - uses: actions/setup-python@v5
30
+ with:
31
+ python-version: '3.11'
32
+ - uses: actions/checkout@v4
33
+ with:
34
+ ref: ${{ github.event.push.tag || github.event.inputs.tag }}
35
+ - run: python -m pip install .[docs]
36
+ - run: python -m sphinx -W docs/ build/docs/
37
+ - uses: actions/upload-pages-artifact@v2
38
+ with:
39
+ path: build/docs/
40
+
41
+ deploy:
42
+ needs: build
43
+ permissions:
44
+ pages: write
45
+ id-token: write
46
+ environment:
47
+ name: github-pages
48
+ runs-on: ubuntu-latest
49
+ if: ${{ github.event.push.tag || github.event.inputs.tag }}
50
+ steps:
51
+ - uses: actions/deploy-pages@v2
@@ -6,6 +6,9 @@ name: tests
6
6
 
7
7
  on:
8
8
  push:
9
+ branches:
10
+ - main
11
+ - release-*
9
12
  pull_request:
10
13
  branches:
11
14
  - main
@@ -19,11 +22,13 @@ on:
19
22
  - '!LICENSE'
20
23
  - '!LICENSES/**'
21
24
  - '!README.rst'
25
+ - '!.github/workflows/docs.yml'
22
26
  workflow_dispatch:
23
27
  # Allow to run manually
24
28
 
25
29
  env:
26
30
  FORCE_COLOR: 1
31
+ PIP_DISABLE_PIP_VERSION_CHECK: 1
27
32
 
28
33
  concurrency:
29
34
  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@@ -41,21 +46,23 @@ jobs:
41
46
  - windows
42
47
  python:
43
48
  - '3.7'
44
- - '3.11'
49
+ - '3.12'
45
50
  meson:
46
51
  -
47
52
  include:
48
53
  - os: ubuntu
49
54
  python: 'pypy-3.9'
55
+ - os: ubuntu
56
+ python: 'pypy-3.10'
50
57
  - os: ubuntu
51
58
  python: '3.8'
52
59
  - os: ubuntu
53
60
  python: '3.9'
54
61
  - os: ubuntu
55
62
  python: '3.10'
56
- - os: ubuntu
57
- python: '3.12-dev'
58
- # Test with older supported Meson version.
63
+ # Test with older supported Meson version. Meson up to
64
+ # version 1.2.3 requires distutils, which has been removed
65
+ # from the stdlib in Python 3.12, thus test with Pythn 3.11.
59
66
  - os: ubuntu
60
67
  python: '3.11'
61
68
  meson: '~=0.63.3'
@@ -68,20 +75,26 @@ jobs:
68
75
  - os: ubuntu
69
76
  python: '3.11'
70
77
  meson: '~=1.1.0'
78
+ - os: ubuntu
79
+ python: '3.12'
80
+ meson: '~=1.2.3'
81
+ - os: ubuntu
82
+ python: '3.12'
83
+ meson: '~=1.3'
71
84
  # Test with Meson master branch.
72
85
  - os: ubuntu
73
- python: '3.11'
86
+ python: '3.12'
74
87
  meson: '@git+https://github.com/mesonbuild/meson.git'
75
88
  - os: windows
76
- python: '3.11'
89
+ python: '3.12'
77
90
  meson: '@git+https://github.com/mesonbuild/meson.git'
78
91
 
79
92
  steps:
80
93
  - name: Checkout
81
- uses: actions/checkout@v3
94
+ uses: actions/checkout@v4
82
95
 
83
96
  - name: Set up target Python
84
- uses: actions/setup-python@v4
97
+ uses: actions/setup-python@v5
85
98
  with:
86
99
  python-version: ${{ matrix.python }}
87
100
 
@@ -94,22 +107,22 @@ jobs:
94
107
  if: ${{ matrix.os == 'macos' }}
95
108
 
96
109
  - name: Install Ninja
97
- run: python -m pip --disable-pip-version-check install ninja
110
+ run: python -m pip install ninja
98
111
  if: ${{ matrix.os == 'windows' }}
99
112
 
100
113
  - name: Install Meson
101
- run: python -m pip --disable-pip-version-check install "meson ${{ matrix.meson }}"
114
+ run: python -m pip install "meson ${{ matrix.meson }}"
102
115
  if: ${{ matrix.meson }}
103
116
 
104
117
  - name: Install
105
- run: python -m pip --disable-pip-version-check install .[test]
118
+ run: python -m pip install .[test]
106
119
 
107
120
  - name: Run tests
108
121
  run: >-
109
122
  python -m pytest --showlocals -vv --cov --cov-report=xml
110
123
 
111
124
  - name: Upload coverage report
112
- uses: codecov/codecov-action@v3
125
+ uses: codecov/codecov-action@v4
113
126
  if: ${{ always() }}
114
127
 
115
128
  msvc:
@@ -124,15 +137,15 @@ jobs:
124
137
 
125
138
  steps:
126
139
  - name: Checkout
127
- uses: actions/checkout@v3
140
+ uses: actions/checkout@v4
128
141
 
129
142
  - name: Set up target Python
130
- uses: actions/setup-python@v4
143
+ uses: actions/setup-python@v5
131
144
  with:
132
145
  python-version: ${{ matrix.python }}
133
146
 
134
147
  - name: Install Ninja
135
- run: python -m pip --disable-pip-version-check install ninja
148
+ run: python -m pip install ninja
136
149
 
137
150
  - name: Setup MSVC
138
151
  uses: bus1/cabuild/action/msdevshell@e22aba57d6e74891d059d66501b6b5aed8123c4d # v1
@@ -140,11 +153,11 @@ jobs:
140
153
  architecture: x64
141
154
 
142
155
  - name: Install Meson
143
- run: python -m pip --disable-pip-version-check install "meson==${{ matrix.meson }}"
156
+ run: python -m pip install "meson==${{ matrix.meson }}"
144
157
  if: ${{ matrix.meson }}
145
158
 
146
159
  - name: Install
147
- run: python -m pip --disable-pip-version-check install .[test]
160
+ run: python -m pip install .[test]
148
161
 
149
162
  - name: Run tests
150
163
  run: >-
@@ -162,7 +175,7 @@ jobs:
162
175
 
163
176
  steps:
164
177
  - name: Checkout
165
- uses: actions/checkout@v3
178
+ uses: actions/checkout@v4
166
179
 
167
180
  - name: Setup Cygwin
168
181
  uses: cygwin/cygwin-install-action@v2
@@ -197,14 +210,14 @@ jobs:
197
210
  # Cygwin Python cannot use binary wheels from PyPI. Building
198
211
  # some dependencies takes considerable time. Caching the built
199
212
  # wheels speeds up the CI job quite a bit.
200
- uses: actions/cache@v3
213
+ uses: actions/cache@v4
201
214
  with:
202
215
  path: ${{ steps.pip-cache-path.outputs.path }}
203
216
  key: cygwin-pip-${{ github.sha }}
204
217
  restore-keys: cygwin-pip-
205
218
 
206
219
  - name: Install Meson
207
- run: python -m pip --disable-pip-version-check install "meson ${{ matrix.meson }}"
220
+ run: python -m pip install "meson ${{ matrix.meson }}"
208
221
  if: ${{ matrix.meson }}
209
222
  shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
210
223
 
@@ -216,9 +229,9 @@ jobs:
216
229
  run: |
217
230
  mkdir /usr/share/python-wheels/
218
231
  pushd /usr/share/python-wheels/
219
- python -m pip --disable-pip-version-check download setuptools pip
232
+ python -m pip download setuptools pip
220
233
  popd
221
- python -m pip --disable-pip-version-check install .[test]
234
+ python -m pip install .[test]
222
235
  shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
223
236
 
224
237
  - name: Run tests
@@ -238,7 +251,7 @@ jobs:
238
251
 
239
252
  steps:
240
253
  - name: Checkout
241
- uses: actions/checkout@v3
254
+ uses: actions/checkout@v4
242
255
 
243
256
  - name: Install pyston
244
257
  run: |
@@ -249,11 +262,11 @@ jobs:
249
262
  run: sudo apt-get install ninja-build
250
263
 
251
264
  - name: Install Meson
252
- run: python -m pip --disable-pip-version-check install "meson ${{ matrix.meson }}"
265
+ run: python -m pip install "meson ${{ matrix.meson }}"
253
266
  if: ${{ matrix.meson }}
254
267
 
255
268
  - name: Install
256
- run: pyston -m pip --disable-pip-version-check install .[test]
269
+ run: pyston -m pip install .[test]
257
270
 
258
271
  - name: Run tests
259
272
  run: >-
@@ -272,7 +285,7 @@ jobs:
272
285
 
273
286
  steps:
274
287
  - name: Checkout
275
- uses: actions/checkout@v3
288
+ uses: actions/checkout@v4
276
289
 
277
290
  - name: Install Homebrew Python
278
291
  run: |
@@ -284,14 +297,14 @@ jobs:
284
297
 
285
298
  - name: Update pip
286
299
  # pip >= 23.0 fixes https://github.com/pypa/pip/issues/11539
287
- run: python -m pip --disable-pip-version-check install --upgrade "pip >= 23.0"
300
+ run: python -m pip install --upgrade "pip >= 23.0"
288
301
 
289
302
  - name: Install Meson
290
- run: python -m pip --disable-pip-version-check install "meson ${{ matrix.meson }}"
303
+ run: python -m pip install "meson ${{ matrix.meson }}"
291
304
  if: ${{ matrix.meson }}
292
305
 
293
306
  - name: Install
294
- run: python -m pip --disable-pip-version-check install .[test]
307
+ run: python -m pip install .[test]
295
308
 
296
309
  - name: Run tests
297
310
  run: >-
@@ -301,10 +314,10 @@ jobs:
301
314
  runs-on: ubuntu-latest
302
315
  steps:
303
316
  - name: Checkout
304
- uses: actions/checkout@v3
317
+ uses: actions/checkout@v4
305
318
 
306
319
  - name: Setup Python
307
- uses: actions/setup-python@v4
320
+ uses: actions/setup-python@v5
308
321
  with:
309
322
  python-version: 3.9
310
323
 
@@ -312,7 +325,7 @@ jobs:
312
325
  run: python -m pip install .
313
326
 
314
327
  - name: Install mypy
315
- run: python -m pip --disable-pip-version-check install mypy==1.5.1
328
+ run: python -m pip install mypy==1.5.1
316
329
 
317
330
  - name: Run mypy
318
331
  run: mypy -p mesonpy
@@ -0,0 +1,6 @@
1
+ # SPDX-FileCopyrightText: 2023 The meson-python developers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ Matthias Köppe <mkoeppe@math.ucdavis.edu>
6
+ Yue Yang <metab0t@outlook.com>
@@ -8,7 +8,7 @@ ci:
8
8
 
9
9
  repos:
10
10
  - repo: https://github.com/pre-commit/pre-commit-hooks
11
- rev: v4.4.0
11
+ rev: v4.5.0
12
12
  hooks:
13
13
  - id: check-ast
14
14
  - id: check-builtin-literals
@@ -20,17 +20,13 @@ repos:
20
20
  - id: double-quote-string-fixer
21
21
  - id: end-of-file-fixer
22
22
  - id: trailing-whitespace
23
- - repo: https://github.com/PyCQA/isort
24
- rev: 5.12.0
25
- hooks:
26
- - id: isort
27
23
  - repo: https://github.com/astral-sh/ruff-pre-commit
28
- rev: v0.0.261
24
+ rev: v0.1.5
29
25
  hooks:
30
26
  - id: ruff
31
- args: [--fix, --show-fixes, --format, grouped]
27
+ args: [--fix, --show-fixes, --output-format, grouped]
32
28
  - repo: https://github.com/fsfe/reuse-tool
33
- rev: v1.1.2
29
+ rev: v2.1.0
34
30
  hooks:
35
31
  - id: reuse
36
32
  name: add SPDX headers
@@ -4,8 +4,12 @@
4
4
 
5
5
  version: 2
6
6
 
7
+ build:
8
+ os: ubuntu-22.04
9
+ tools:
10
+ python: "3.11"
11
+
7
12
  python:
8
- version: 3.8
9
13
  install:
10
14
  - method: pip
11
15
  path: .
@@ -11,6 +11,68 @@
11
11
  Changelog
12
12
  +++++++++
13
13
 
14
+ 0.16.0
15
+ ======
16
+
17
+ - Correctly detect a wheel shipping shared libraries as being platform
18
+ dependent also when it does not ship compiled executables or Python
19
+ extension modules.
20
+ - Use 11.0 as minimum macOS platform ABI tag on arm64: lower versions
21
+ do not exist on arm64.
22
+ - Improve parsing of the ``$ARCHFLAGS`` environment
23
+ variable. Correctly handle repeated ``-arch`` flags.
24
+ - Do not break when trying to log filename containing Unicode
25
+ characters that cannot be encoded in the encoding used by the
26
+ standard output stream.
27
+ - Drop dependency on ``colorama`` on Windows.
28
+ - Suppress all uses of ANSI terminal escapes when logging to a stream
29
+ that does not support them.
30
+ - Fix ANSI escape coloring of error messages.
31
+ - Respect the ``exclude_dirs`` and ``exclude_files`` arguments passed
32
+ to the ``install_subdir()`` Meson function in editable installs too.
33
+ - Make ``pkgutil.iter_packages()`` work properly for modules loaded
34
+ from editable installs.
35
+ - Add support for the ``custom_target()`` Meson function installing a
36
+ directory.
37
+ - In editable installs, when a rebuild is triggered on module import,
38
+ emit a message indicating that the package is being rebuilt but
39
+ suppress any output when there is no work to do.
40
+
41
+ Daniele Nicolodi, Loïc Estève, Ralf Gommers --- 16-04-2024
42
+
43
+
44
+ 0.15.0
45
+ ======
46
+
47
+ - Enable compression for wheel files. The may result in several times
48
+ smaller wheels.
49
+ - Require Meson 1.2.3 or later on Python 3.12 or later. Meson 1.2.3
50
+ does not require anymore ``distutils``, allowing to remove the
51
+ dependency on ``setuptools`` on Python 3.12 or later.
52
+ - Unconditionally require ``patchelf`` on Linux. The ``patchelf``
53
+ package is added to the build dependencies if a suitable
54
+ ``patchelf`` executable is not find on the ``$PATH``. This avoids
55
+ cases where ``meson setup`` was run twice during the build process
56
+ to determine whether ``patchelf`` is required.
57
+ - Allow to configure the ``meson`` executable to use for the build
58
+ process through the ``$MESON`` environment variable or the ``meson``
59
+ key under ``[tool.meson-python]`` in ``pyproject.toml``.
60
+ - Fix wheel platform tag generation on FreeBSD.
61
+ - Extend support to other UNIX-like systems and make the tests pass on
62
+ FreeBSD.
63
+ - Fix package name normalization in package metadata and improve
64
+ package name validation.
65
+ - Fix ``RPATH`` handling when the build ``RPATH`` points to
66
+ subdirectories of the build directory.
67
+ - Fix support for the Python limited C API when compiling for PyPy.
68
+ - Rename the ``builddir`` config-setting to ``build-dir``. For
69
+ backwards compatibility, the ``buildir`` config-setting remains
70
+ supported as an alias.
71
+
72
+ Christoph Reiter, Daniele Nicolodi, Elliott Sales de Andrade, Ralf Gommers,
73
+ Yue Yang --- 26-10-2023
74
+
75
+
14
76
  0.14.0
15
77
  ======
16
78
 
@@ -27,7 +89,7 @@ Changelog
27
89
  - Implement support for building wheels targeting the Python limited
28
90
  API. Extension modules targeting the Python limited API can be
29
91
  easily built starting with the upcoming Meson 1.3.0 release.
30
- - when ``pyproject.toml`` does not contain a ``version`` field and
92
+ - When ``pyproject.toml`` does not contain a ``version`` field and
31
93
  ``version`` is not declared dynamic, raise an error instead of
32
94
  silently using the version declared in ``meson.build``.
33
95
  - Fix the mtime of source files in the sdist tarball.
@@ -36,7 +98,7 @@ Changelog
36
98
  - Extensive documentation improvements.
37
99
 
38
100
  Charles Brunet, Daniele Nicolodi, Henry Schreiner, Michał Górny, Ralf
39
- Gommers --- xx-09-2023
101
+ Gommers --- 05-09-2023
40
102
 
41
103
 
42
104
  0.13.2
@@ -1,11 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: meson-python
3
- Version: 0.14.0
3
+ Version: 0.16.0
4
4
  Summary: Meson Python build backend (PEP 517)
5
5
  Keywords: meson build backend pep517 package
6
6
  Home-page: https://github.com/mesonbuild/meson-python
7
- Maintainer: Thomas Li
8
- Maintainer-Email: Ralf Gommers <ralf.gommers@gmail.com>, Daniele Nicolodi <daniele@grinta.net>, Henry Schreiner <HenrySchreinerIII@gmail.com>
7
+ Maintainer-Email: Ralf Gommers <ralf.gommers@gmail.com>, Daniele Nicolodi <daniele@grinta.net>, Henry Schreiner <HenrySchreinerIII@gmail.com>, Thomas Li <47963215+lithomas1@users.noreply.github.com>
9
8
  License: Copyright © 2022 the meson-python contributors
10
9
  Copyright © 2021 Quansight Labs and Filipe Laíns
11
10
 
@@ -32,23 +31,23 @@ Classifier: Programming Language :: Python
32
31
  Classifier: Topic :: Software Development :: Build Tools
33
32
  Project-URL: Homepage, https://github.com/mesonbuild/meson-python
34
33
  Project-URL: Repository, https://github.com/mesonbuild/meson-python
35
- Project-URL: Documentation, https://meson-python.readthedocs.io/
36
- Project-URL: Changelog, https://meson-python.readthedocs.io/en/latest/changelog.html
34
+ Project-URL: Documentation, https://mesonbuild.com/meson-python/
35
+ Project-URL: Changelog, https://mesonbuild.com/meson-python/changelog.html
37
36
  Requires-Python: >=3.7
38
- Requires-Dist: colorama; os_name == "nt"
39
- Requires-Dist: meson>=0.63.3
37
+ Requires-Dist: meson>=0.63.3; python_version < "3.12"
38
+ Requires-Dist: meson>=1.2.3; python_version >= "3.12"
39
+ Requires-Dist: packaging>=19.0
40
40
  Requires-Dist: pyproject-metadata>=0.7.1
41
41
  Requires-Dist: tomli>=1.0.0; python_version < "3.11"
42
- Requires-Dist: setuptools>=60.0; python_version >= "3.12"
43
42
  Requires-Dist: build; extra == "test"
44
43
  Requires-Dist: pytest>=6.0; extra == "test"
45
44
  Requires-Dist: pytest-cov[toml]; extra == "test"
46
45
  Requires-Dist: pytest-mock; extra == "test"
47
- Requires-Dist: cython>=0.29.34; extra == "test"
46
+ Requires-Dist: cython>=3.0.3; extra == "test"
48
47
  Requires-Dist: wheel; extra == "test"
49
- Requires-Dist: typing-extensions>=3.7.4; python_version < "3.10" and extra == "test"
50
- Requires-Dist: furo>=2021.08.31; extra == "docs"
51
- Requires-Dist: sphinx~=4.0; extra == "docs"
48
+ Requires-Dist: typing-extensions>=3.7.4; python_version < "3.11" and extra == "test"
49
+ Requires-Dist: furo>=2023.5.20; extra == "docs"
50
+ Requires-Dist: sphinx~=6.2; extra == "docs"
52
51
  Requires-Dist: sphinx-copybutton>=0.5.0; extra == "docs"
53
52
  Requires-Dist: sphinx-design>=0.1.0; extra == "docs"
54
53
  Requires-Dist: sphinxext-opengraph>=0.7.0; extra == "docs"
@@ -63,8 +62,8 @@ Description-Content-Type: text/x-rst
63
62
  meson-python
64
63
  ============
65
64
 
66
- ``meson-python`` is a Python build backend built on top of the Meson__
67
- build system. It enables to use Meson for the configuration and build
65
+ ``meson-python`` is a Python build back-end built on top of the Meson__
66
+ build system. It enables using Meson for the configuration and build
68
67
  steps of Python packages. Meson is an open source build system meant
69
68
  to be both extremely fast, and, even more importantly, as user
70
69
  friendly as possible. ``meson-python`` is best suited for building
@@ -77,6 +76,6 @@ discussions__ space on GitHub. Bug reports and feature requests can be
77
76
  filed as GitHub issues__.
78
77
 
79
78
  __ https://mesonbuild.com/
80
- __ https://meson-python.readthedocs.io/en/latest/
79
+ __ https://mesonbuild.com/meson-python/
81
80
  __ https://github.com/mesonbuild/meson-python/discussions/
82
81
  __ https://github.com/mesonbuild/meson-python/issues/
@@ -5,8 +5,8 @@
5
5
  meson-python
6
6
  ============
7
7
 
8
- ``meson-python`` is a Python build backend built on top of the Meson__
9
- build system. It enables to use Meson for the configuration and build
8
+ ``meson-python`` is a Python build back-end built on top of the Meson__
9
+ build system. It enables using Meson for the configuration and build
10
10
  steps of Python packages. Meson is an open source build system meant
11
11
  to be both extremely fast, and, even more importantly, as user
12
12
  friendly as possible. ``meson-python`` is best suited for building
@@ -19,6 +19,6 @@ discussions__ space on GitHub. Bug reports and feature requests can be
19
19
  filed as GitHub issues__.
20
20
 
21
21
  __ https://mesonbuild.com/
22
- __ https://meson-python.readthedocs.io/en/latest/
22
+ __ https://mesonbuild.com/meson-python/
23
23
  __ https://github.com/mesonbuild/meson-python/discussions/
24
24
  __ https://github.com/mesonbuild/meson-python/issues/
@@ -2,6 +2,6 @@
2
2
  #
3
3
  # SPDX-License-Identifier: MIT
4
4
 
5
- # 20221203
5
+ # 20240305
6
6
  FROM alpine:3
7
- RUN apk add --no-cache python3-dev py3-pip build-base ninja git patchelf
7
+ RUN apk add --no-cache python3-dev py3-pip build-base ninja-is-really-ninja git patchelf
@@ -2,6 +2,6 @@
2
2
  #
3
3
  # SPDX-License-Identifier: MIT
4
4
 
5
- # 20221203
5
+ # 20240204
6
6
  FROM debian:bullseye
7
7
  RUN apt-get update && apt-get install -y git ninja-build patchelf python3-pip python3-venv && rm -rf /var/lib/apt/lists/*
@@ -2,6 +2,6 @@
2
2
  #
3
3
  # SPDX-License-Identifier: MIT
4
4
 
5
- # 20230816
5
+ # 20240204
6
6
  FROM debian:bookworm
7
7
  RUN apt-get update && apt-get install -y git ninja-build patchelf python3-pip python3-venv && rm -rf /var/lib/apt/lists/*
@@ -2,6 +2,6 @@
2
2
  #
3
3
  # SPDX-License-Identifier: MIT
4
4
 
5
- # 20221203
5
+ # 20240204
6
6
  FROM fedora:37
7
7
  RUN dnf -y update && dnf -y install python3-devel python3-pip gcc ninja-build git patchelf && dnf clean all
@@ -2,6 +2,6 @@
2
2
  #
3
3
  # SPDX-License-Identifier: MIT
4
4
 
5
- # 20221203
5
+ # 20240204
6
6
  FROM continuumio/miniconda3
7
7
  RUN apt-get update && apt-get install -y gcc ninja-build git patchelf && rm -rf /var/lib/apt/lists/*
@@ -11,6 +11,68 @@
11
11
  Changelog
12
12
  +++++++++
13
13
 
14
+ 0.16.0
15
+ ======
16
+
17
+ - Correctly detect a wheel shipping shared libraries as being platform
18
+ dependent also when it does not ship compiled executables or Python
19
+ extension modules.
20
+ - Use 11.0 as minimum macOS platform ABI tag on arm64: lower versions
21
+ do not exist on arm64.
22
+ - Improve parsing of the ``$ARCHFLAGS`` environment
23
+ variable. Correctly handle repeated ``-arch`` flags.
24
+ - Do not break when trying to log filename containing Unicode
25
+ characters that cannot be encoded in the encoding used by the
26
+ standard output stream.
27
+ - Drop dependency on ``colorama`` on Windows.
28
+ - Suppress all uses of ANSI terminal escapes when logging to a stream
29
+ that does not support them.
30
+ - Fix ANSI escape coloring of error messages.
31
+ - Respect the ``exclude_dirs`` and ``exclude_files`` arguments passed
32
+ to the ``install_subdir()`` Meson function in editable installs too.
33
+ - Make ``pkgutil.iter_packages()`` work properly for modules loaded
34
+ from editable installs.
35
+ - Add support for the ``custom_target()`` Meson function installing a
36
+ directory.
37
+ - In editable installs, when a rebuild is triggered on module import,
38
+ emit a message indicating that the package is being rebuilt but
39
+ suppress any output when there is no work to do.
40
+
41
+ Daniele Nicolodi, Loïc Estève, Ralf Gommers --- 16-04-2024
42
+
43
+
44
+ 0.15.0
45
+ ======
46
+
47
+ - Enable compression for wheel files. The may result in several times
48
+ smaller wheels.
49
+ - Require Meson 1.2.3 or later on Python 3.12 or later. Meson 1.2.3
50
+ does not require anymore ``distutils``, allowing to remove the
51
+ dependency on ``setuptools`` on Python 3.12 or later.
52
+ - Unconditionally require ``patchelf`` on Linux. The ``patchelf``
53
+ package is added to the build dependencies if a suitable
54
+ ``patchelf`` executable is not find on the ``$PATH``. This avoids
55
+ cases where ``meson setup`` was run twice during the build process
56
+ to determine whether ``patchelf`` is required.
57
+ - Allow to configure the ``meson`` executable to use for the build
58
+ process through the ``$MESON`` environment variable or the ``meson``
59
+ key under ``[tool.meson-python]`` in ``pyproject.toml``.
60
+ - Fix wheel platform tag generation on FreeBSD.
61
+ - Extend support to other UNIX-like systems and make the tests pass on
62
+ FreeBSD.
63
+ - Fix package name normalization in package metadata and improve
64
+ package name validation.
65
+ - Fix ``RPATH`` handling when the build ``RPATH`` points to
66
+ subdirectories of the build directory.
67
+ - Fix support for the Python limited C API when compiling for PyPy.
68
+ - Rename the ``builddir`` config-setting to ``build-dir``. For
69
+ backwards compatibility, the ``buildir`` config-setting remains
70
+ supported as an alias.
71
+
72
+ Christoph Reiter, Daniele Nicolodi, Elliott Sales de Andrade, Ralf Gommers,
73
+ Yue Yang --- 26-10-2023
74
+
75
+
14
76
  0.14.0
15
77
  ======
16
78
 
@@ -27,7 +89,7 @@ Changelog
27
89
  - Implement support for building wheels targeting the Python limited
28
90
  API. Extension modules targeting the Python limited API can be
29
91
  easily built starting with the upcoming Meson 1.3.0 release.
30
- - when ``pyproject.toml`` does not contain a ``version`` field and
92
+ - When ``pyproject.toml`` does not contain a ``version`` field and
31
93
  ``version`` is not declared dynamic, raise an error instead of
32
94
  silently using the version declared in ``meson.build``.
33
95
  - Fix the mtime of source files in the sdist tarball.
@@ -36,7 +98,7 @@ Changelog
36
98
  - Extensive documentation improvements.
37
99
 
38
100
  Charles Brunet, Daniele Nicolodi, Henry Schreiner, Michał Górny, Ralf
39
- Gommers --- xx-09-2023
101
+ Gommers --- 05-09-2023
40
102
 
41
103
 
42
104
  0.13.2