[Bug 268244] lang/python39: Update to 3.9.16

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268244

--- Comment #6 from commit-h...@freebsd.org ---
A commit in branch 2022Q4 references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=d5f284536018398841b01f43ddf6e1371494cd20

commit d5f284536018398841b01f43ddf6e1371494cd20
Author: Wen Heping 
AuthorDate: 2022-12-15 01:40:55 +
Commit: Wen Heping 
CommitDate: 2022-12-15 10:07:09 +

lang/python39: Update to 3.9.16

PR: 268244
Reported by:wen@
Exp-run by: antoine@

(cherry picked from commit 555236ffdd16e9d203fe09dbd1bc78c603b9d84c)

 lang/python-doc-html/distinfo  | 22 +++---
 lang/python39/Makefile.version |  2 +-
 lang/python39/distinfo |  6 +++---
 3 files changed, 15 insertions(+), 15 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug 268283] databases/py-sqlite3: switch to setuptools

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268283

--- Comment #2 from Dmitry Marakasov  ---
pyproject.toml is not yet supported by our Uses/python.mk (I've had to add
`setup.py` with `from setuptools import setup; setup()` for a couple of ports
which have really dropped it) so migrating off it is a large task and out of
scope of this pr. I'm also not quite sure how we can switch to pyproject.toml
for at least py-sqlite, as setup.py there contains some logic dependent on
python version.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 268283] databases/py-sqlite3: switch to setuptools

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268283

--- Comment #3 from Charlie Li  ---
I'm going to commit that support within the week, pending "test suite" results
(see https://wiki.freebsd.org/Python/PEP-517 and bug 255722). This is very much
in scope here because the former method is no longer compliant with modern
Python packaging standards.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 268283] databases/py-sqlite3: switch to setuptools

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268283

Dmitry Marakasov  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|Open|Closed

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 268283] databases/py-sqlite3: switch to setuptools

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268283

--- Comment #4 from commit-h...@freebsd.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=7446740638e7d833fde0962e71ef440a6af3c749

commit 7446740638e7d833fde0962e71ef440a6af3c749
Author: Dmitry Marakasov 
AuthorDate: 2022-12-15 15:07:26 +
Commit: Dmitry Marakasov 
CommitDate: 2022-12-15 15:14:33 +

*/py-{gdbm,sqlite3,tkinter}: switch from distutils to setuptools

For python modules which come from python itself, switch from
distutils (no longer present in python 3.12) to setuptools, fixing
these mudules for python 3.12.

PR: 268283
Approved by:vishwin (python@)

 databases/py-gdbm/files/setup3.py   | 12 +++-
 databases/py-sqlite3/files/setup3.py| 13 +++--
 x11-toolkits/py-tkinter/files/setup3.py | 12 ++--
 3 files changed, 20 insertions(+), 17 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 268283] databases/py-sqlite3: switch to setuptools

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268283

Charlie Li  changed:

   What|Removed |Added

 Status|Closed  |Open
 Resolution|FIXED   |---

--- Comment #5 from Charlie Li  ---
This was not approved, please revert. maintainer-feedback was to prevent the
timeout only.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 268283] databases/py-sqlite3: switch away from distutils

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268283

Charlie Li  changed:

   What|Removed |Added

Summary|databases/py-sqlite3:   |databases/py-sqlite3:
   |switch to setuptools|switch away from distutils

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 268283] databases/py-sqlite3: switch away from distutils

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268283

Charlie Li  changed:

   What|Removed |Added

 Depends on||255722


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255722
[Bug 255722] [meta] Mk/Uses/python.mk: PEP-517 (pyproject.toml) Support
-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 255722] [meta] Mk/Uses/python.mk: PEP-517 (pyproject.toml) Support

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255722

Charlie Li  changed:

   What|Removed |Added

 Blocks||268283


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268283
[Bug 268283] databases/py-sqlite3: switch away from distutils
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


[Bug 255722] [meta] Mk/Uses/python.mk: PEP-517 (pyproject.toml) Support

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255722

--- Comment #33 from Charlie Li  ---
One remaining snag is ensuring entry-points
(https://packaging.python.org/en/latest/specifications/entry-points/) is
properly accounted for in autoplist, as these are installed outside SITELIBDIR.
data_files from distutils/setuptools will not be supported.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


[Bug 268283] databases/py-sqlite3: switch away from distutils

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268283

Dmitry Marakasov  changed:

   What|Removed |Added

 Status|Open|Closed
 Resolution|--- |FIXED
 Depends on|255722  |

--- Comment #6 from Dmitry Marakasov  ---
> This was not approved

It was.

> maintainer-feedback was to prevent the timeout only.

Sorry, there's no way for me to interpret explicit approval as non-approval.

> please revert.

On which basis? This fixes setup.py for python 3.12 and is required for its
addition. It does not change change the behavior for other versions. As
mentioned, it does not intersect with your work - you're free to replace
setup.py support with whatever regardless of whether setup.py's for these 3
ports use distutils or setuptools.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255722
[Bug 255722] [meta] Mk/Uses/python.mk: PEP-517 (pyproject.toml) Support
-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 255722] [meta] Mk/Uses/python.mk: PEP-517 (pyproject.toml) Support

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255722

Dmitry Marakasov  changed:

   What|Removed |Added

 Blocks|268283  |


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268283
[Bug 268283] databases/py-sqlite3: switch away from distutils
-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


[Bug 268283] databases/py-sqlite3: switch away from distutils

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268283

Charlie Li  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Blocks||267515
 Status|Closed  |Open
 Depends on||255722

--- Comment #7 from Charlie Li  ---
'Set (+) when you provide feedback. Avoids "maintainer timeout"' is all
maintainer-feedback means here. The feedback in previous comments was not
approval to commit.

Python 3.12 has not even reached release candidate yet. The base distribution
will continue to successfully build without these, as we have experienced for
so many versions now. For the separated components alluded to here, things are
going to break or hold other items up, and they will get worked on, but do it
properly. setup.py is deprecated along with distutils getting removed, so
continuing to use the former is not acceptable, even if it does not error out.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255722
[Bug 255722] [meta] Mk/Uses/python.mk: PEP-517 (pyproject.toml) Support
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267515
[Bug 267515] lang/python312: New port, repocopied from lang/python311
-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 267515] lang/python312: New port, repocopied from lang/python311

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267515
Bug 267515 depends on bug 268283, which changed state.

Bug 268283 Summary: databases/py-sqlite3: switch away from distutils
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268283

   What|Removed |Added

 Status|Closed  |Open
 Resolution|FIXED   |---

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 267515] lang/python312: New port, repocopied from lang/python311

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267515

Charlie Li  changed:

   What|Removed |Added

 Depends on||268283


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268283
[Bug 268283] databases/py-sqlite3: switch away from distutils
-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 255722] [meta] Mk/Uses/python.mk: PEP-517 (pyproject.toml) Support

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255722

Charlie Li  changed:

   What|Removed |Added

 Blocks||268283


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268283
[Bug 268283] databases/py-sqlite3: switch away from distutils
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


[Bug 268283] databases/py-sqlite3: switch away from distutils

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268283

--- Comment #8 from Dmitry Marakasov  ---
> The feedback in previous comments was not approval to commit

Oh, my bad then. Bugzilla's, to be precise.

> Python 3.12 has not even reached release candidate yet

This is not relevant to adding it to the tree, the same way how previous
prereleases were added (and helped a lot to prepare the tree for the new python
version).

> setup.py is deprecated along with distutils getting removed, so continuing to 
> use the former is not acceptable, even if it does not error out.

This is nonsence, as "continuing to use" setup.py's for these ports is the only
thing which keeps them working. As long as setup.py's are in place, these
should be maintained and kept functioning, that's what I do. There's no
alternative to them.

Please provide a valid reason for it to be rolled back, such as it breaks
something or it blocks someone's work. For now it looks like you're trying to
block both my and Wen's, who did similar python3.12 port in parallel.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 267515] lang/python312: New port, repocopied from lang/python311

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267515

--- Comment #5 from Dmitry Marakasov  ---
For the record, I did a port for 3.12.0a2 as well. It looks the same apart from
plist changes.

I'd suggest to also add

CONFIGURE_ENV+=ac_cv_buggy_getaddrinfo=no

(this would be useful for older python versions as well) which fixes configure
failure in networkless environment (reprise), see
https://github.com/python/cpython/issues/100200).

I also have a fix for one of the tests, see
https://github.com/python/cpython/pull/100145.

Also note that databases/py-sqlite3,  databases/py-gdbm,
x11-toolkits/py-tkinter do not build unless their setup3.py's are switched to
setuptools (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268283), but the
fix for this is pending rollback for no good reason.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 268283] databases/py-sqlite3: switch away from distutils

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268283

--- Comment #9 from Charlie Li  ---
setup.py has been deprecated since setuptools 58.3.0
(https://github.com/pypa/setuptools/commit/fc5c3083908170e1cbfd1dec91f87a3e2707e3fa),
so if anyone is that anal about using setup.py (on Python 3), go ahead and add
a devel/py-setuptools58 to BUILD_DEPENDS. distutils will not get retroactively
removed in future point releases of existing Python major releases, so that
method continues to work there. The alternative for this case is to construct
pyproject.toml, which, surprise, also works for every supported Python 3
production release!

Python 3.12 not even reaching release candidate or in our tree is very
relevant, not least *precisely* due to distutils removal amongst other items.
distutils removal from the base distribution is not merely a technical change,
but a structural change on how our corner of the Python packaging ecosystem
moves forward, and it starts here.

The valid reason to revert is the lack of explicit approval, periodt.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 268283] databases/py-sqlite3: switch away from distutils

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268283

--- Comment #10 from Dmitry Marakasov  ---
(In reply to Charlie Li from comment #9)

> setup.py has been deprecated since setuptools 58.3.0 
> (https://github.com/pypa/setuptools/commit/fc5c3083908170e1cbfd1dec91f87a3e2707e3fa)
>  ... distutils will not get retroactively removed in future point releases of 
> existing Python major releases, so that method continues to work there

Well this is in fact the valid reason for revert. The only one mentioned in the
tread so far.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 268283] databases/py-sqlite3: switch away from distutils

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268283

--- Comment #11 from commit-h...@freebsd.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=62723bbe60705c70cf2dceb23a22a73bdd4d4ae3

commit 62723bbe60705c70cf2dceb23a22a73bdd4d4ae3
Author: Dmitry Marakasov 
AuthorDate: 2022-12-15 17:29:27 +
Commit: Dmitry Marakasov 
CommitDate: 2022-12-15 17:31:40 +

Revert "*/py-{gdbm,sqlite3,tkinter}: switch from distutils to setuptools"

This reverts commit 7446740638e7d833fde0962e71ef440a6af3c749.

The change is not valid as setuptools have deprecated setup.py,
while distutils will be supported in existing point releases.
Python 3.12 support will require different solution.

PR: 268283

 databases/py-gdbm/files/setup3.py   | 12 +---
 databases/py-sqlite3/files/setup3.py| 13 ++---
 x11-toolkits/py-tkinter/files/setup3.py | 12 ++--
 3 files changed, 17 insertions(+), 20 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 268348] math/py-numpy: introduce FORTRAN / NOBLAS options

2022-12-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268348

--- Comment #4 from Thierry Thomas  ---
Everything goes to fast!

SuiteSparse 6.0.2 has been released (not yet in our ports tree), and according
to its changelog, Fortran is no more required for AMD and UMFPACK.

See .

-- 
You are receiving this mail because:
You are the assignee for the bug.