meson-python 0.15.0__tar.gz → 0.17.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 (233) hide show
  1. {meson_python-0.15.0 → meson_python-0.17.0}/.cirrus.yml +9 -3
  2. meson_python-0.17.0/.github/workflows/docs.yml +51 -0
  3. {meson_python-0.15.0 → meson_python-0.17.0}/.github/workflows/tests.yml +64 -42
  4. {meson_python-0.15.0 → meson_python-0.17.0}/.pre-commit-config.yaml +6 -9
  5. meson_python-0.15.0/.readthedocs.yml → meson_python-0.17.0/.readthedocs.yaml +5 -1
  6. {meson_python-0.15.0 → meson_python-0.17.0}/CHANGELOG.rst +56 -0
  7. {meson_python-0.15.0 → meson_python-0.17.0}/PKG-INFO +11 -12
  8. {meson_python-0.15.0 → meson_python-0.17.0}/README.rst +3 -3
  9. meson_python-0.15.0/docs/contributing/release-process.rst → meson_python-0.17.0/RELEASE.rst +8 -18
  10. {meson_python-0.15.0 → meson_python-0.17.0}/ci/alpine-3.docker +2 -2
  11. {meson_python-0.15.0 → meson_python-0.17.0}/ci/debian-11.docker +1 -1
  12. {meson_python-0.15.0 → meson_python-0.17.0}/ci/debian-12.docker +1 -1
  13. {meson_python-0.15.0 → meson_python-0.17.0}/ci/fedora-37.docker +1 -1
  14. {meson_python-0.15.0 → meson_python-0.17.0}/ci/manylinux.docker +1 -1
  15. {meson_python-0.15.0 → meson_python-0.17.0}/ci/miniconda.docker +1 -1
  16. {meson_python-0.15.0 → meson_python-0.17.0}/ci/opensuse-15.docker +1 -1
  17. {meson_python-0.15.0 → meson_python-0.17.0}/docs/conf.py +9 -2
  18. {meson_python-0.15.0 → meson_python-0.17.0}/docs/explanations/design-old.rst +0 -15
  19. meson_python-0.17.0/docs/how-to-guides/config-settings.rst +128 -0
  20. meson_python-0.17.0/docs/how-to-guides/sdist.rst +54 -0
  21. meson_python-0.17.0/docs/index.rst +106 -0
  22. meson_python-0.17.0/docs/projects-using-meson-python.rst +33 -0
  23. {meson_python-0.15.0 → meson_python-0.17.0}/docs/reference/config-settings.rst +0 -4
  24. {meson_python-0.15.0 → meson_python-0.17.0}/docs/reference/environment-variables.rst +30 -0
  25. {meson_python-0.15.0 → meson_python-0.17.0}/docs/reference/meson-compatibility.rst +6 -8
  26. {meson_python-0.15.0 → meson_python-0.17.0}/docs/reference/pyproject-settings.rst +4 -4
  27. {meson_python-0.15.0 → meson_python-0.17.0}/docs/tutorials/introduction.rst +17 -4
  28. {meson_python-0.15.0 → meson_python-0.17.0}/meson.build +1 -1
  29. {meson_python-0.15.0 → meson_python-0.17.0}/mesonpy/__init__.py +161 -100
  30. {meson_python-0.15.0 → meson_python-0.17.0}/mesonpy/_editable.py +139 -66
  31. {meson_python-0.15.0 → meson_python-0.17.0}/mesonpy/_tags.py +12 -1
  32. {meson_python-0.15.0 → meson_python-0.17.0}/mesonpy/_util.py +21 -21
  33. {meson_python-0.15.0 → meson_python-0.17.0}/pyproject.toml +16 -17
  34. {meson_python-0.15.0 → meson_python-0.17.0}/tests/conftest.py +12 -0
  35. meson_python-0.17.0/tests/packages/complex/complex/more/meson.build +10 -0
  36. meson_python-0.17.0/tests/packages/complex/extension.c +33 -0
  37. meson_python-0.17.0/tests/packages/complex/foo.py +6 -0
  38. meson_python-0.17.0/tests/packages/complex/meson.build +57 -0
  39. meson_python-0.17.0/tests/packages/complex/move.py +6 -0
  40. meson_python-0.17.0/tests/packages/complex/test.pyx +6 -0
  41. meson_python-0.17.0/tests/packages/custom-target-dir/codegen.py +16 -0
  42. meson_python-0.17.0/tests/packages/custom-target-dir/meson.build +14 -0
  43. meson_python-0.17.0/tests/packages/custom-target-dir/pyproject.toml +7 -0
  44. meson_python-0.17.0/tests/packages/encoding/meson.build +9 -0
  45. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/imports-itself-during-build/meson.build +2 -1
  46. meson_python-0.17.0/tests/packages/long-path/meson.build +5 -0
  47. meson_python-0.17.0/tests/packages/long-path/pyproject.toml +11 -0
  48. meson_python-0.17.0/tests/packages/subproject/pyproject.toml +7 -0
  49. meson_python-0.17.0/tests/packages/subproject/subprojects/dep/dep.py +3 -0
  50. meson_python-0.17.0/tests/test_editable.py +346 -0
  51. {meson_python-0.15.0 → meson_python-0.17.0}/tests/test_metadata.py +7 -1
  52. meson_python-0.17.0/tests/test_output.py +32 -0
  53. {meson_python-0.15.0 → meson_python-0.17.0}/tests/test_pep517.py +48 -0
  54. {meson_python-0.15.0 → meson_python-0.17.0}/tests/test_project.py +34 -1
  55. {meson_python-0.15.0 → meson_python-0.17.0}/tests/test_sdist.py +49 -18
  56. {meson_python-0.15.0 → meson_python-0.17.0}/tests/test_tags.py +17 -3
  57. {meson_python-0.15.0 → meson_python-0.17.0}/tests/test_wheel.py +31 -3
  58. meson_python-0.15.0/.github/workflows/docs.yml +0 -27
  59. meson_python-0.15.0/docs/changelog.rst +0 -321
  60. meson_python-0.15.0/docs/contributing/commit-format.rst +0 -18
  61. meson_python-0.15.0/docs/contributing/documentation.rst +0 -36
  62. meson_python-0.15.0/docs/contributing/getting-started.rst +0 -15
  63. meson_python-0.15.0/docs/contributing/index.rst +0 -12
  64. meson_python-0.15.0/docs/contributing/test-suite.rst +0 -16
  65. meson_python-0.15.0/docs/explanations/design.rst +0 -25
  66. meson_python-0.15.0/docs/explanations/editable-installs.rst +0 -19
  67. meson_python-0.15.0/docs/explanations/internal-dependencies.rst +0 -29
  68. meson_python-0.15.0/docs/how-to-guides/build-directory.rst +0 -19
  69. meson_python-0.15.0/docs/how-to-guides/config-settings.rst +0 -69
  70. meson_python-0.15.0/docs/how-to-guides/first-project.rst +0 -91
  71. meson_python-0.15.0/docs/index.rst +0 -121
  72. meson_python-0.15.0/docs/projects-using-meson-python.rst +0 -39
  73. meson_python-0.15.0/docs/reference/quirks.rst +0 -33
  74. meson_python-0.15.0/docs/tutorials/entrypoints.rst +0 -17
  75. meson_python-0.15.0/docs/tutorials/executable.rst +0 -21
  76. meson_python-0.15.0/tests/packages/complex/meson.build +0 -20
  77. meson_python-0.15.0/tests/test_editable.py +0 -191
  78. meson_python-0.15.0/tests/test_output.py +0 -34
  79. {meson_python-0.15.0 → meson_python-0.17.0}/.gitignore +0 -0
  80. {meson_python-0.15.0 → meson_python-0.17.0}/.mailmap +0 -0
  81. {meson_python-0.15.0 → meson_python-0.17.0}/LICENSE +0 -0
  82. {meson_python-0.15.0 → meson_python-0.17.0}/LICENSES/MIT.txt +0 -0
  83. {meson_python-0.15.0 → meson_python-0.17.0}/ci/archlinux.docker +0 -0
  84. {meson_python-0.15.0 → meson_python-0.17.0}/ci/debian-unstable.docker +0 -0
  85. {meson_python-0.15.0 → meson_python-0.17.0}/codecov.yml +0 -0
  86. {meson_python-0.15.0 → meson_python-0.17.0}/docs/about.rst +0 -0
  87. {meson_python-0.15.0 → meson_python-0.17.0}/docs/examples/spam/meson.build +0 -0
  88. {meson_python-0.15.0 → meson_python-0.17.0}/docs/examples/spam/pyproject.toml +0 -0
  89. {meson_python-0.15.0 → meson_python-0.17.0}/docs/examples/spam/src/__init__.py +0 -0
  90. {meson_python-0.15.0 → meson_python-0.17.0}/docs/examples/spam/src/spammodule.c +0 -0
  91. {meson_python-0.15.0 → meson_python-0.17.0}/docs/explanations/default-options.rst +0 -0
  92. {meson_python-0.15.0 → meson_python-0.17.0}/docs/how-to-guides/debug-builds.rst +0 -0
  93. {meson_python-0.15.0 → meson_python-0.17.0}/docs/how-to-guides/editable-installs.rst +0 -0
  94. {meson_python-0.15.0 → meson_python-0.17.0}/docs/how-to-guides/meson-args.rst +0 -0
  95. {meson_python-0.15.0 → meson_python-0.17.0}/docs/reference/limitations.rst +0 -0
  96. {meson_python-0.15.0 → meson_python-0.17.0}/docs/spelling_wordlist.txt +0 -0
  97. {meson_python-0.15.0 → meson_python-0.17.0}/docs/spelling_wordlist.txt.license +0 -0
  98. {meson_python-0.15.0 → meson_python-0.17.0}/docs/static/css/contributors.css +0 -0
  99. {meson_python-0.15.0 → meson_python-0.17.0}/mesonpy/_compat.py +0 -0
  100. {meson_python-0.15.0 → meson_python-0.17.0}/mesonpy/_rpath.py +0 -0
  101. {meson_python-0.15.0 → meson_python-0.17.0}/mesonpy/_wheelfile.py +0 -0
  102. {meson_python-0.15.0 → meson_python-0.17.0}/noxfile.py +0 -0
  103. {meson_python-0.15.0 → meson_python-0.17.0}/tests/__init__.py +0 -0
  104. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/complex/complex/__init__.py +0 -0
  105. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/complex/complex/more/__init__.py +0 -0
  106. /meson_python-0.15.0/tests/packages/complex/test.pyx → /meson_python-0.17.0/tests/packages/complex/complex/more/baz.pyx +0 -0
  107. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/complex/complex/namespace/bar.py +0 -0
  108. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/complex/complex/namespace/foo.py +0 -0
  109. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/complex/pyproject.toml +0 -0
  110. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/configure-data/configure_data.py.in +0 -0
  111. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/configure-data/meson.build +0 -0
  112. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/configure-data/pyproject.toml +0 -0
  113. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/detect-compiler/detect_compiler.c +0 -0
  114. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/detect-compiler/meson.build +0 -0
  115. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/detect-compiler/pyproject.toml +0 -0
  116. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/dist-script/meson.build +0 -0
  117. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/dist-script/pyproject.toml +0 -0
  118. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/dynamic-version/meson.build +0 -0
  119. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/dynamic-version/pyproject.toml +0 -0
  120. {meson_python-0.15.0/tests/packages/missing-meson-version → meson_python-0.17.0/tests/packages/encoding}/pyproject.toml +0 -0
  121. /meson_python-0.15.0/tests/packages/install-subdir/nested/deep/deep.py → /meson_python-0.17.0/tests/packages/encoding//343/203/206/343/202/271/343/203/210.py" +0 -0
  122. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/executable/example.c +0 -0
  123. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/executable/meson.build +0 -0
  124. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/executable/pyproject.toml +0 -0
  125. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/executable-bit/example-script.py +0 -0
  126. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/executable-bit/example.c +0 -0
  127. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/executable-bit/executable_module.py +0 -0
  128. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/executable-bit/meson.build +0 -0
  129. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/executable-bit/pyproject.toml +0 -0
  130. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/full-metadata/LICENSE +0 -0
  131. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/full-metadata/README.md +0 -0
  132. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/full-metadata/meson.build +0 -0
  133. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/full-metadata/pyproject.toml +0 -0
  134. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/generated-files/example-script.py +0 -0
  135. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/generated-files/example.c +0 -0
  136. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/generated-files/executable_module.py +0 -0
  137. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/generated-files/generate_version.py +0 -0
  138. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/generated-files/meson.build +0 -0
  139. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/generated-files/pyproject.toml +0 -0
  140. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/imports-itself-during-build/plat.c +0 -0
  141. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/imports-itself-during-build/pure.py +0 -0
  142. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/imports-itself-during-build/pyproject.toml +0 -0
  143. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/install-subdir/meson.build +0 -0
  144. /meson_python-0.15.0/tests/packages/install-subdir/nested/deep/excluded.py → /meson_python-0.17.0/tests/packages/install-subdir/nested/deep/deep.py +0 -0
  145. {meson_python-0.15.0/tests/packages/install-subdir/strip → meson_python-0.17.0/tests/packages/install-subdir/nested/deep}/excluded.py +0 -0
  146. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/install-subdir/nested/nested.py +0 -0
  147. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/install-subdir/pyproject.toml +0 -0
  148. {meson_python-0.15.0/tests/packages/install-subdir/subdir → meson_python-0.17.0/tests/packages/install-subdir/strip}/excluded.py +0 -0
  149. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/install-subdir/strip/module.py +0 -0
  150. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/install-subdir/subdir/__init__.py +0 -0
  151. /meson_python-0.15.0/tests/packages/install-subdir/subdir/test.py → /meson_python-0.17.0/tests/packages/install-subdir/subdir/excluded/__init__.py +0 -0
  152. /meson_python-0.15.0/tests/packages/install-subdir/subdir/excluded/__init__.py → /meson_python-0.17.0/tests/packages/install-subdir/subdir/excluded.py +0 -0
  153. /meson_python-0.15.0/tests/packages/subproject/subproject.py → /meson_python-0.17.0/tests/packages/install-subdir/subdir/test.py +0 -0
  154. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/library/example.c +0 -0
  155. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/library/examplelib.c +0 -0
  156. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/library/examplelib.h +0 -0
  157. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/library/meson.build +0 -0
  158. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/library/pyproject.toml +0 -0
  159. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/license-file/meson.build +0 -0
  160. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/license-file/pyproject.toml +0 -0
  161. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/license-file/something/LICENSE.custom +0 -0
  162. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/limited-api/meson.build +0 -0
  163. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/limited-api/meson.options +0 -0
  164. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/limited-api/module.c +0 -0
  165. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/limited-api/pyproject.toml +0 -0
  166. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/link-against-local-lib/examplemod.c +0 -0
  167. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/link-against-local-lib/lib/examplelib.c +0 -0
  168. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/link-against-local-lib/lib/examplelib.h +0 -0
  169. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/link-against-local-lib/lib/meson.build +0 -0
  170. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/link-against-local-lib/meson.build +0 -0
  171. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/link-against-local-lib/pyproject.toml +0 -0
  172. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/missing-dynamic-version/meson.build +0 -0
  173. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/missing-dynamic-version/pyproject.toml +0 -0
  174. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/missing-meson-version/meson.build +0 -0
  175. {meson_python-0.15.0/tests/packages/subproject → meson_python-0.17.0/tests/packages/missing-meson-version}/pyproject.toml +0 -0
  176. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/missing-version/meson.build +0 -0
  177. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/missing-version/pyproject.toml +0 -0
  178. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/module-types/file.py +0 -0
  179. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/module-types/meson.build +0 -0
  180. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/module-types/namespace/data.py +0 -0
  181. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/module-types/native.c +0 -0
  182. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/module-types/package/__init__.py +0 -0
  183. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/module-types/pyproject.toml +0 -0
  184. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/pure/meson.build +0 -0
  185. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/pure/pure.py +0 -0
  186. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/pure/pyproject.toml +0 -0
  187. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/purelib-and-platlib/meson.build +0 -0
  188. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/purelib-and-platlib/plat.c +0 -0
  189. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/purelib-and-platlib/pure.py +0 -0
  190. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/purelib-and-platlib/pyproject.toml +0 -0
  191. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/purelib-platlib-split/meson.build +0 -0
  192. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/purelib-platlib-split/plat.py +0 -0
  193. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/purelib-platlib-split/pure.py +0 -0
  194. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/purelib-platlib-split/pyproject.toml +0 -0
  195. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/scipy-like/meson.build +0 -0
  196. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/scipy-like/mypkg/__init__.py +0 -0
  197. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/scipy-like/mypkg/cy_extmod.pyx +0 -0
  198. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/scipy-like/mypkg/extmod.c +0 -0
  199. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/scipy-like/mypkg/meson.build +0 -0
  200. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/scipy-like/mypkg/submod/__init__.py +0 -0
  201. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/scipy-like/mypkg/submod/unknown_filetype.npq +0 -0
  202. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/scipy-like/pyproject.toml +0 -0
  203. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/scipy-like/tools/generate_config.py +0 -0
  204. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/simple/__init__.py +0 -0
  205. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/simple/data.txt +0 -0
  206. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/simple/data.txt.license +0 -0
  207. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/simple/meson.build +0 -0
  208. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/simple/pyproject.toml +0 -0
  209. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/simple/test.py +0 -0
  210. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/subdirs/meson.build +0 -0
  211. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/subdirs/pyproject.toml +0 -0
  212. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/subdirs/subdirs/__init__.py +0 -0
  213. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/subdirs/subdirs/a/__init__.py +0 -0
  214. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/subdirs/subdirs/a/b/c.py +0 -0
  215. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/subdirs/subdirs/b/c.py +0 -0
  216. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/subproject/meson.build +0 -0
  217. /meson_python-0.15.0/tests/packages/subproject/subprojects/dep/dep.py → /meson_python-0.17.0/tests/packages/subproject/subproject.py +0 -0
  218. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/subproject/subprojects/dep/meson.build +0 -0
  219. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/unknown-user-args-meson-args/pyproject.toml +0 -0
  220. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/unknown-user-args-top-level/pyproject.toml +0 -0
  221. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/unsupported-python-version/meson.build +0 -0
  222. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/unsupported-python-version/pyproject.toml +0 -0
  223. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/user-args/meson.build +0 -0
  224. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/user-args/pure.py +0 -0
  225. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/user-args/pyproject.toml +0 -0
  226. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/vendored-meson/meson.build +0 -0
  227. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/vendored-meson/meson_options.txt +0 -0
  228. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/vendored-meson/pyproject.toml +0 -0
  229. {meson_python-0.15.0 → meson_python-0.17.0}/tests/packages/vendored-meson/third-party/meson.py +0 -0
  230. {meson_python-0.15.0 → meson_python-0.17.0}/tests/test_consistency.py +0 -0
  231. {meson_python-0.15.0 → meson_python-0.17.0}/tests/test_examples.py +0 -0
  232. {meson_python-0.15.0 → meson_python-0.17.0}/tests/test_options.py +0 -0
  233. {meson_python-0.15.0 → meson_python-0.17.0}/tests/test_wheelfile.py +0 -0
@@ -47,12 +47,12 @@ fedora-37_task:
47
47
  cpu: 1
48
48
  << : *test
49
49
 
50
- manylinux-python3.11_task:
50
+ manylinux-python3.13t_task:
51
51
  container:
52
52
  dockerfile: ci/manylinux.docker
53
53
  cpu: 1
54
54
  env:
55
- PATH: "/opt/python/cp311-cp311/bin/:${PATH}"
55
+ PATH: "/opt/python/cp313-cp313t/bin/:${PATH}"
56
56
  << : *test
57
57
 
58
58
  manylinux-python3.7_task:
@@ -77,6 +77,12 @@ opensuse-15_task:
77
77
 
78
78
  freebsd_task:
79
79
  freebsd_instance:
80
- image_family: freebsd-13-2
80
+ image_family: freebsd-14-0
81
81
  install_script: pkg install -y git ninja
82
82
  << : *test
83
+
84
+ macos-arm64_task:
85
+ macos_instance:
86
+ image: ghcr.io/cirruslabs/macos-sonoma-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.inputs.tag || github.ref }}
35
+ - run: python -m pip install .[docs]
36
+ - run: python -m sphinx -W docs/ build/docs/
37
+ - uses: actions/upload-pages-artifact@v3
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_name == 'workflow_dispatch' || github.ref_type == 'tag' }}
50
+ steps:
51
+ - uses: actions/deploy-pages@v4
@@ -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,6 +22,7 @@ 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
 
@@ -32,88 +36,110 @@ concurrency:
32
36
 
33
37
  jobs:
34
38
  test:
35
- runs-on: ${{ matrix.os }}-latest
39
+ runs-on: ${{ matrix.os }}
36
40
  strategy:
37
41
  fail-fast: false
38
42
  matrix:
39
43
  os:
40
- - ubuntu
41
- - macos
42
- - windows
44
+ - ubuntu-latest
45
+ # actions/setup-python do not support Python 3.7 on macOS on
46
+ # arm64. The latest macOS version available is macOS 14 but
47
+ # it is arm64 only. Stick to macos-13 as long as we want to
48
+ # test Python 3.7 on macOS. macOS 14 on arm64 is covered by
49
+ # the Cirrus CI jobs.
50
+ - macos-13
51
+ - windows-latest
43
52
  python:
44
53
  - '3.7'
45
- - '3.12'
54
+ - '3.13'
46
55
  meson:
47
56
  -
57
+ pyproject_metadata:
58
+ -
48
59
  include:
49
- - os: ubuntu
60
+ - os: ubuntu-latest
50
61
  python: 'pypy-3.9'
51
- - os: ubuntu
62
+ - os: ubuntu-latest
52
63
  python: 'pypy-3.10'
53
- - os: ubuntu
64
+ - os: ubuntu-latest
54
65
  python: '3.8'
55
- - os: ubuntu
66
+ - os: ubuntu-latest
56
67
  python: '3.9'
57
- - os: ubuntu
68
+ - os: ubuntu-latest
58
69
  python: '3.10'
59
70
  # Test with older supported Meson version. Meson up to
60
71
  # version 1.2.3 requires distutils, which has been removed
61
72
  # from the stdlib in Python 3.12, thus test with Pythn 3.11.
62
- - os: ubuntu
73
+ - os: ubuntu-latest
63
74
  python: '3.11'
64
75
  meson: '~=0.63.3'
65
- - os: ubuntu
76
+ - os: ubuntu-latest
66
77
  python: '3.11'
67
78
  meson: '~=0.64.0'
68
- - os: ubuntu
79
+ - os: ubuntu-latest
69
80
  python: '3.11'
70
81
  meson: '~=1.0.0'
71
- - os: ubuntu
82
+ - os: ubuntu-latest
72
83
  python: '3.11'
73
84
  meson: '~=1.1.0'
85
+ - os: ubuntu-latest
86
+ python: '3.12'
87
+ meson: '~=1.2.3'
88
+ - os: ubuntu-latest
89
+ python: '3.12'
90
+ meson: '~=1.3'
74
91
  # Test with Meson master branch.
75
- - os: ubuntu
92
+ - os: ubuntu-latest
76
93
  python: '3.12'
77
94
  meson: '@git+https://github.com/mesonbuild/meson.git'
78
- - os: windows
95
+ - os: windows-latest
79
96
  python: '3.12'
80
97
  meson: '@git+https://github.com/mesonbuild/meson.git'
98
+ # Test with oldest supported pyproject-metadata
99
+ - os: ubuntu-latest
100
+ python: '3.12'
101
+ pyproject_metadata: '==0.7.1'
81
102
 
82
103
  steps:
83
104
  - name: Checkout
84
- uses: actions/checkout@v3
105
+ uses: actions/checkout@v4
85
106
 
86
107
  - name: Set up target Python
87
- uses: actions/setup-python@v4
108
+ uses: actions/setup-python@v5
88
109
  with:
89
110
  python-version: ${{ matrix.python }}
90
111
 
91
112
  - name: Install Ninja
92
113
  run: sudo apt-get install ninja-build
93
- if: ${{ matrix.os == 'ubuntu' }}
114
+ if: ${{ runner.os == 'Linux' }}
94
115
 
95
116
  - name: Install Ninja
96
117
  run: brew install ninja
97
- if: ${{ matrix.os == 'macos' }}
118
+ if: ${{ runner.os == 'macOS' }}
98
119
 
99
120
  - name: Install Ninja
100
121
  run: python -m pip install ninja
101
- if: ${{ matrix.os == 'windows' }}
122
+ if: ${{ runner.os == 'Windows' }}
102
123
 
103
124
  - name: Install Meson
104
125
  run: python -m pip install "meson ${{ matrix.meson }}"
105
126
  if: ${{ matrix.meson }}
106
127
 
128
+ - name: Install pyproject-metadata
129
+ run: python -m pip install "pyproject-metadata ${{ matrix.pyproject_metadata }}"
130
+ if: ${{ matrix.pyproject_metadata }}
131
+
107
132
  - name: Install
108
133
  run: python -m pip install .[test]
109
134
 
110
135
  - name: Run tests
111
- run: >-
112
- python -m pytest --showlocals -vv --cov --cov-report=xml
136
+ run: python -m pytest --showlocals -vv --cov --cov-report=xml
113
137
 
114
138
  - name: Upload coverage report
115
- uses: codecov/codecov-action@v3
139
+ uses: codecov/codecov-action@v4
116
140
  if: ${{ always() }}
141
+ env:
142
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
117
143
 
118
144
  msvc:
119
145
  runs-on: windows-latest
@@ -127,10 +153,10 @@ jobs:
127
153
 
128
154
  steps:
129
155
  - name: Checkout
130
- uses: actions/checkout@v3
156
+ uses: actions/checkout@v4
131
157
 
132
158
  - name: Set up target Python
133
- uses: actions/setup-python@v4
159
+ uses: actions/setup-python@v5
134
160
  with:
135
161
  python-version: ${{ matrix.python }}
136
162
 
@@ -150,8 +176,7 @@ jobs:
150
176
  run: python -m pip install .[test]
151
177
 
152
178
  - name: Run tests
153
- run: >-
154
- python -m pytest --showlocals -vv
179
+ run: python -m pytest --showlocals -vv
155
180
 
156
181
  cygwin:
157
182
  runs-on: windows-latest
@@ -165,7 +190,7 @@ jobs:
165
190
 
166
191
  steps:
167
192
  - name: Checkout
168
- uses: actions/checkout@v3
193
+ uses: actions/checkout@v4
169
194
 
170
195
  - name: Setup Cygwin
171
196
  uses: cygwin/cygwin-install-action@v2
@@ -200,7 +225,7 @@ jobs:
200
225
  # Cygwin Python cannot use binary wheels from PyPI. Building
201
226
  # some dependencies takes considerable time. Caching the built
202
227
  # wheels speeds up the CI job quite a bit.
203
- uses: actions/cache@v3
228
+ uses: actions/cache@v4
204
229
  with:
205
230
  path: ${{ steps.pip-cache-path.outputs.path }}
206
231
  key: cygwin-pip-${{ github.sha }}
@@ -225,8 +250,7 @@ jobs:
225
250
  shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
226
251
 
227
252
  - name: Run tests
228
- run: >-
229
- python -m pytest --showlocals -vv
253
+ run: python -m pytest --showlocals -vv
230
254
  shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
231
255
 
232
256
  pyston:
@@ -241,7 +265,7 @@ jobs:
241
265
 
242
266
  steps:
243
267
  - name: Checkout
244
- uses: actions/checkout@v3
268
+ uses: actions/checkout@v4
245
269
 
246
270
  - name: Install pyston
247
271
  run: |
@@ -259,8 +283,7 @@ jobs:
259
283
  run: pyston -m pip install .[test]
260
284
 
261
285
  - name: Run tests
262
- run: >-
263
- pyston -m pytest --showlocals -vv
286
+ run: pyston -m pytest --showlocals -vv
264
287
 
265
288
  homebrew:
266
289
  runs-on: macos-latest
@@ -268,14 +291,14 @@ jobs:
268
291
  fail-fast: false
269
292
  matrix:
270
293
  python:
271
- - '3.8'
272
- - '3.11'
294
+ - '3.9'
295
+ - '3.12'
273
296
  meson:
274
297
  -
275
298
 
276
299
  steps:
277
300
  - name: Checkout
278
- uses: actions/checkout@v3
301
+ uses: actions/checkout@v4
279
302
 
280
303
  - name: Install Homebrew Python
281
304
  run: |
@@ -297,17 +320,16 @@ jobs:
297
320
  run: python -m pip install .[test]
298
321
 
299
322
  - name: Run tests
300
- run: >-
301
- python -m pytest --showlocals -vv
323
+ run: python -m pytest --showlocals -vv
302
324
 
303
325
  mypy:
304
326
  runs-on: ubuntu-latest
305
327
  steps:
306
328
  - name: Checkout
307
- uses: actions/checkout@v3
329
+ uses: actions/checkout@v4
308
330
 
309
331
  - name: Setup Python
310
- uses: actions/setup-python@v4
332
+ uses: actions/setup-python@v5
311
333
  with:
312
334
  python-version: 3.9
313
335
 
@@ -4,11 +4,12 @@
4
4
 
5
5
  ci:
6
6
  autofix_prs: false
7
- autoupdate_commit_msg: 'MAINT: bump repositories'
7
+ autoupdate_commit_msg: 'MAINT: bump pre-commit dependencies'
8
+ autoupdate_schedule: 'quarterly'
8
9
 
9
10
  repos:
10
11
  - repo: https://github.com/pre-commit/pre-commit-hooks
11
- rev: v4.4.0
12
+ rev: v5.0.0
12
13
  hooks:
13
14
  - id: check-ast
14
15
  - id: check-builtin-literals
@@ -20,17 +21,13 @@ repos:
20
21
  - id: double-quote-string-fixer
21
22
  - id: end-of-file-fixer
22
23
  - id: trailing-whitespace
23
- - repo: https://github.com/PyCQA/isort
24
- rev: 5.12.0
25
- hooks:
26
- - id: isort
27
24
  - repo: https://github.com/astral-sh/ruff-pre-commit
28
- rev: v0.0.261
25
+ rev: v0.6.9
29
26
  hooks:
30
27
  - id: ruff
31
- args: [--fix, --show-fixes, --format, grouped]
28
+ args: [--fix, --show-fixes, --output-format, grouped]
32
29
  - repo: https://github.com/fsfe/reuse-tool
33
- rev: v1.1.2
30
+ rev: v4.0.3
34
31
  hooks:
35
32
  - id: reuse
36
33
  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,62 @@
11
11
  Changelog
12
12
  +++++++++
13
13
 
14
+ 0.17.0
15
+ ======
16
+
17
+ - Refuse to build wheels targeting the limited API and free-threaded CPython:
18
+ the free-threaded CPython build does not support the limited API yet.
19
+ - Always use UTF-8 encoding for writing Meson native and cross files. Always
20
+ use UTF-8 encoding for reading read Meson introspection data and
21
+ ``pyproject.toml``.
22
+ - Do not include uncommitted changes when creating source distributions.
23
+ Previously, uncommitted changes to files under version control were
24
+ included, but not untracked files. There was no strong use case for this
25
+ behavior and it was too surprising to keep it.
26
+ - Make source distribution reproducible: use the modification time of
27
+ ``pyproject.toml`` for the generated files in the source distribution
28
+ archives.
29
+ - Disable the ``abi3`` wheel tag for PyPy when building wheels targeting the
30
+ limited API: PyPy supports the limited API but not the stable ABI.
31
+ - Raise ``ImportError`` when the package rebuild fails when importing an
32
+ editable install.
33
+ - Fix the wheel platform tag for GraalPy.
34
+ - Add ``.gitignore`` and ``.hgignore`` files to build directory if it is empty.
35
+ - Allow ``install_subdir()`` of missing directories.
36
+
37
+ Christian Clauss, Daniele Nicolodi, Jonathan J. Helmus, Leo Singer, Loïc
38
+ Estève, Michael Simacek, Ralf Gommers, Simon McVittie --- 19-10-2024.
39
+
40
+ 0.16.0
41
+ ======
42
+
43
+ - Correctly detect a wheel shipping shared libraries as being platform
44
+ dependent also when it does not ship compiled executables or Python
45
+ extension modules.
46
+ - Use 11.0 as minimum macOS platform ABI tag on arm64: lower versions
47
+ do not exist on arm64.
48
+ - Improve parsing of the ``$ARCHFLAGS`` environment
49
+ variable. Correctly handle repeated ``-arch`` flags.
50
+ - Do not break when trying to log filename containing Unicode
51
+ characters that cannot be encoded in the encoding used by the
52
+ standard output stream.
53
+ - Drop dependency on ``colorama`` on Windows.
54
+ - Suppress all uses of ANSI terminal escapes when logging to a stream
55
+ that does not support them.
56
+ - Fix ANSI escape coloring of error messages.
57
+ - Respect the ``exclude_dirs`` and ``exclude_files`` arguments passed
58
+ to the ``install_subdir()`` Meson function in editable installs too.
59
+ - Make ``pkgutil.iter_packages()`` work properly for modules loaded
60
+ from editable installs.
61
+ - Add support for the ``custom_target()`` Meson function installing a
62
+ directory.
63
+ - In editable installs, when a rebuild is triggered on module import,
64
+ emit a message indicating that the package is being rebuilt but
65
+ suppress any output when there is no work to do.
66
+
67
+ Daniele Nicolodi, Loïc Estève, Ralf Gommers --- 16-04-2024
68
+
69
+
14
70
  0.15.0
15
71
  ======
16
72
 
@@ -1,11 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: meson-python
3
- Version: 0.15.0
3
+ Version: 0.17.0
4
4
  Summary: Meson Python build backend (PEP 517)
5
- Keywords: meson build backend pep517 package
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,12 +31,12 @@ 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
37
  Requires-Dist: meson>=0.63.3; python_version < "3.12"
40
38
  Requires-Dist: meson>=1.2.3; python_version >= "3.12"
39
+ Requires-Dist: packaging>=19.0
41
40
  Requires-Dist: pyproject-metadata>=0.7.1
42
41
  Requires-Dist: tomli>=1.0.0; python_version < "3.11"
43
42
  Requires-Dist: build; extra == "test"
@@ -47,8 +46,8 @@ Requires-Dist: pytest-mock; extra == "test"
47
46
  Requires-Dist: cython>=3.0.3; extra == "test"
48
47
  Requires-Dist: wheel; extra == "test"
49
48
  Requires-Dist: typing-extensions>=3.7.4; python_version < "3.11" and extra == "test"
50
- Requires-Dist: furo>=2021.08.31; extra == "docs"
51
- Requires-Dist: sphinx~=4.0; extra == "docs"
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,20 +2,16 @@
2
2
  ..
3
3
  .. SPDX-License-Identifier: MIT
4
4
 
5
-
6
- .. _contributing-release-process:
7
-
8
- ***************
9
5
  Release Process
10
- ***************
6
+ ===============
11
7
 
12
- All releases are PGP signed with one of the keys listed in the
13
- `installation page`_. Before releasing please make sure your PGP key is listed
14
- there, and preferably signed by one of the other key holders.
8
+ All releases are PGP signed with one of the keys listed in ``docs/about.rst``.
9
+ Before releasing please make sure your PGP key is listed there, and preferably
10
+ signed by one of the other key holders.
15
11
 
16
- If your key is not signed by one of the other key holders, please make sure the
17
- PR that added your key to the :ref:`security` page was approved by at least one
18
- other maintainer.
12
+ If your key is not signed by one of the other key holders, please make sure
13
+ that the PR that added your key to ``docs/about.rst`` was approved by at least
14
+ one other maintainer.
19
15
 
20
16
  After that is done, you may release the project by following these steps:
21
17
 
@@ -44,7 +40,7 @@ After that is done, you may release the project by following these steps:
44
40
  $ git push
45
41
  $ git push --tags
46
42
 
47
- #. Release to `PyPI <https://pypi.org/project/meson-python/>`_
43
+ #. Release to PyPI:
48
44
 
49
45
  #. Build the Python artifacts:
50
46
 
@@ -60,9 +56,3 @@ After that is done, you may release the project by following these steps:
60
56
 
61
57
  There is no need to GPG-sign the artifacts: PyPI no longer
62
58
  supports uploading GPG signatures.
63
-
64
- If you have any questions, please look at previous releases and/or ping the
65
- other maintainers.
66
-
67
-
68
- .. _installation page: installation
@@ -2,6 +2,6 @@
2
2
  #
3
3
  # SPDX-License-Identifier: MIT
4
4
 
5
- # 20221203
5
+ # 20240817
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
- # 20221209
5
+ # 20240513
6
6
  FROM quay.io/pypa/manylinux_2_28_x86_64
7
7
  RUN dnf -y update && dnf -y install ninja-build && 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/*
@@ -2,6 +2,6 @@
2
2
  #
3
3
  # SPDX-License-Identifier: MIT
4
4
 
5
- # 20230816
5
+ # 20240817
6
6
  FROM opensuse/leap:latest
7
7
  RUN zypper --non-interactive install python311 python311-pip python311-devel gcc ninja git patchelf && zypper clean --all && ln -s python3.11 /usr/bin/python3
@@ -14,16 +14,23 @@
14
14
  # add these directories to sys.path here. If the directory is relative to the
15
15
  # documentation root, use os.path.abspath to make it absolute, like shown here.
16
16
 
17
+ import datetime
17
18
  import os
19
+ import time
18
20
  import sys
19
21
  sys.path.insert(0, os.path.abspath('..'))
20
22
  import mesonpy
21
23
 
24
+ build_date = datetime.datetime.fromtimestamp(
25
+ int(os.environ.get('SOURCE_DATE_EPOCH', time.time())),
26
+ tz=datetime.timezone.utc,
27
+ )
28
+
22
29
 
23
30
  # -- Project information -----------------------------------------------------
24
31
 
25
32
  project = 'meson-python'
26
- copyright = '2021, The meson-python developers'
33
+ copyright = f'2021\N{EN DASH}{build_date.year} The meson-python developers'
27
34
 
28
35
  # The short X.Y version
29
36
  version = mesonpy.__version__
@@ -92,7 +99,7 @@ html_theme_options = {
92
99
 
93
100
  # Open Graph
94
101
 
95
- ogp_site_url = 'https://meson-python.readthedocs.io'
102
+ ogp_site_url = 'https://mesonbuild.com/meson-python/'
96
103
  ogp_site_name = 'meson-python documentation'
97
104
 
98
105