Repository: scipy/scipy
Pull request: CI, MAINT: switch to stable python release
<!-- 
Thanks for contributing a pull request! Please ensure that
your PR satisfies the checklist before submitting:
http://scipy.github.io/devdocs/dev/contributor/development_workflow.html#checklist-before-submitting-a-pr

Also, please name and describe your PR as you would write a
commit message:
http://scipy.github.io/devdocs/dev/contributor/development_workflow.html#writing-the-commit-message

Depending on your changes, you can skip CI operations and save time and energy: 
http://scipy.github.io/devdocs/dev/contributor/continuous_integration.html#skipping

Note that we are a team of volunteers; we appreciate your
patience during the review process.

Again, thanks for contributing!
-->

#### Reference issue
closes #19740

#### What does this implement/fix?
switch to stable release



Problem statement:
CI, MAINT: some easy cleanups for Python version
Just glancing at the CI config code flanking the diffs in a few recent PRs, you can see some places where switching to the stable release makes sense: `git grep -E -i -P "3\.\d[2]-dev"`

```
.github/workflows/linux_meson.yml:        python-version: ['3.10', '3.12-dev']
.github/workflows/linux_meson.yml:            python-version: '3.12-dev'
.github/workflows/linux_meson.yml:      if: matrix.python-version == '3.12-dev'
```

Hints from issue discussion:
If this is changed could we have a comment saying something along the lines of "these are the runs which would use python dev versions"? So we know which ones to use for 3.13-dev
Good point, dealing with CPython pre-releases is clearly the purpose of that job, and it even excludes running on maintenance branches, so isn't super useful until the next `3.13-dev` cycle starts anyway.

Commit message: Update linux_meson.yml

Patch to review:
diff --git a/.github/workflows/linux_meson.yml b/.github/workflows/linux_meson.yml
index 36ecf637a3ff..584f2ef9b4dd 100644
--- a/.github/workflows/linux_meson.yml
+++ b/.github/workflows/linux_meson.yml
@@ -36,12 +36,12 @@ jobs:
     runs-on: ubuntu-22.04
     strategy:
       matrix:
-        python-version: ['3.10', '3.12-dev']
+        python-version: ['3.10', '3.12'] # these are the runs which would use python dev versions
         maintenance-branch:
           - ${{ contains(github.ref, 'maintenance/') || contains(github.base_ref, 'maintenance/') }}
         exclude:
           - maintenance-branch: true
-            python-version: '3.12-dev'
+            python-version: '3.12'
 
     steps:
     - uses: actions/checkout@v3
@@ -67,7 +67,7 @@ jobs:
         python -m pip install numpy cython pytest pytest-xdist pytest-timeout pybind11 mpmath gmpy2 pythran ninja meson click rich-click doit pydevtool pooch hypothesis
 
     - name: Install Python packages from repositories
-      if: matrix.python-version == '3.12-dev'
+      if: matrix.python-version == '3.12' # these are the runs which would use python dev versions
       run: |
         python -m pip install git+https://github.com/numpy/numpy.git
         python -m pip install ninja cython pytest pybind11 pytest-xdist pytest-timeout click rich-click doit pydevtool pooch hypothesis "setuptools<67.3"


Code review comments:
diff_hunk: @@ -36,12 +36,12 @@ jobs:
     runs-on: ubuntu-22.04
     strategy:
       matrix:
-        python-version: ['3.10', '3.12-dev']
+        python-version: ['3.10', '3.12'] # these are the runs which would use python dev versions
path: .github/workflows/linux_meson.yml
text: @user1:
```suggestion
        python-version: ['3.10', '3.12'] # this run will use python dev versions when available
```