Page MenuHomeFreeBSD

michaelo (Michael Osipov)
User

Projects

User Details

User Since
Jul 19 2018, 5:53 PM (384 w, 3 d)

Recent Activity

Wed, Nov 26

michaelo added a comment to D53807: java/autofirma: [new port]. Digital signature application.

Is there anything else that needs to be done here at the moment?

Wed, Nov 26, 4:07 PM
michaelo updated the diff for D53433: Mk/Uses/python.mk: Build Python wheels next to packages.

@vishwin Have you had time to check the updated patch? The distutils approach is now behind a switch, being an opt-in.

Wed, Nov 26, 8:59 AM

Tue, Nov 25

michaelo closed D53393: math/py-pandas: Upgrade port to 2.3.3.
Tue, Nov 25, 9:17 AM
michaelo committed R11:80f277d8efb1: math/py-pandas: Upgrade port to 2.3.3 (authored by michaelo).
math/py-pandas: Upgrade port to 2.3.3
Tue, Nov 25, 9:17 AM

Mon, Nov 24

michaelo updated the diff for D53383: security/py-cryptography: Upgrade port to 46.0.3.

Remove obsolete patch

Mon, Nov 24, 9:13 AM
michaelo updated the diff for D53383: security/py-cryptography: Upgrade port to 46.0.3.

rebase onto main

Mon, Nov 24, 8:46 AM

Sun, Nov 23

michaelo added inline comments to D53807: java/autofirma: [new port]. Digital signature application.
Sun, Nov 23, 7:10 PM

Sat, Nov 22

michaelo added a comment to D53807: java/autofirma: [new port]. Digital signature application.

autofirma.jar contains directories linux/windows/osx (sic!) with a binary-bundled certutil, I bet this is libnss3-tools and maybe need to provide certutil.

I don't know the use of that. At least for my simple use (either stand alone or via web) it works fine for me.

I would at least strip all of those foreign binaries from the JAR since they bloat the package w/o any benefit.

I did not inspect the .jar files internally. In orther to do that, I assume I should unpack it and repack the .jar with only the relevant files?

Sat, Nov 22, 6:51 PM
michaelo added a comment to D53807: java/autofirma: [new port]. Digital signature application.

This port made me curious, though I don't live in Spain:

  • Why the hell did they pack a deb package in a ZIP file, clowns
  • The data.tar has some interesting things you like have missed:
    • Autofirma.js is for Firefox which will autoinject into prefs.js, it is user.js for Autofirma. You didn't handle this at all. It contains also a path which needs to be fixed for LOCALBASE

Do I need to? The file is packed in case someone wants to install it in his/her home preferences.

Sat, Nov 22, 6:23 PM
michaelo added inline comments to D53807: java/autofirma: [new port]. Digital signature application.
Sat, Nov 22, 6:14 PM

Fri, Nov 21

michaelo added a comment to D53807: java/autofirma: [new port]. Digital signature application.

This port made me curious, though I don't live in Spain:

  • Why the hell did they pack a deb package in a ZIP file, clowns
  • The data.tar has some interesting things you like have missed:
    • Autofirma.js is for Firefox which will autoinject into prefs.js, it is user.js for Autofirma. You didn't handle this at all. It contains also a path which needs to be fixed for LOCALBASE
    • What happened to autofirmaConfigurador.jar?
    • Autofirma.png is located next to the JAR, will it be found in a different location?
    • You did not patch afirma.desktop
    • es.gob.afirma.metainfo.xml isn't required? ...and it clearly states that is depends on libnss3-tools
Fri, Nov 21, 4:24 PM
michaelo added inline comments to D53807: java/autofirma: [new port]. Digital signature application.
Fri, Nov 21, 3:41 PM
michaelo added a comment to D53807: java/autofirma: [new port]. Digital signature application.

Out of curiousity, since I see Mozilla and NSS here, does the library internally use NSS for something? Does it perform System#loadLibrary()? If yes, you might want to depend on NSS as well. Maybe you should investigate...

Fri, Nov 21, 3:39 PM
michaelo added inline comments to D53807: java/autofirma: [new port]. Digital signature application.
Fri, Nov 21, 3:05 PM
michaelo committed R11:ce38291f561b: sysutils/vm-bhyve-devel: Add missing RC script (authored by madpilot).
sysutils/vm-bhyve-devel: Add missing RC script
Fri, Nov 21, 12:05 PM
michaelo committed R11:ba56e838e02a: sysutils/vm-bhyve-devel: Add missing RC script (authored by madpilot).
sysutils/vm-bhyve-devel: Add missing RC script
Fri, Nov 21, 12:05 PM
michaelo committed R11:02f43b9f0922: sysutils/vm-bhyve: Add missing RC script (authored by madpilot).
sysutils/vm-bhyve: Add missing RC script
Fri, Nov 21, 12:00 PM
michaelo added inline comments to D53807: java/autofirma: [new port]. Digital signature application.
Fri, Nov 21, 7:19 AM

Thu, Nov 20

michaelo committed R11:035fc09d9f2c: sysutils/bastille: Upgrade port to 1.1.2.251119 (authored by michaelo).
sysutils/bastille: Upgrade port to 1.1.2.251119
Thu, Nov 20, 8:48 PM
michaelo closed D53834: sysutils/bastille: Upgrade port to 1.1.2.251119.
Thu, Nov 20, 8:47 PM
michaelo committed R11:f56c4983eb44: sysutils/bastille: Upgrade port to 1.1.2.251119 (authored by michaelo).
sysutils/bastille: Upgrade port to 1.1.2.251119
Thu, Nov 20, 8:47 PM
michaelo added a reviewer for D53834: sysutils/bastille: Upgrade port to 1.1.2.251119: tschetter.victor_gmail.com.
Thu, Nov 20, 7:47 PM
michaelo added a comment to D46236: devel/py-setuptools: update to 80.9.0.

How many years is this going to take?

Thu, Nov 20, 7:32 PM
michaelo committed R11:12157ec176bb: sysutils/vm-bhyve-devel: Upgrade port to 1.7.0 (authored by michaelo).
sysutils/vm-bhyve-devel: Upgrade port to 1.7.0
Thu, Nov 20, 12:10 PM
michaelo closed D53837: sysutils/vm-bhyve-devel: Upgrade port to commit e2ebcea.
Thu, Nov 20, 12:09 PM
michaelo committed R11:e67f9428f1cc: sysutils/vm-bhyve-devel: Upgrade port to 1.7.0 (authored by michaelo).
sysutils/vm-bhyve-devel: Upgrade port to 1.7.0
Thu, Nov 20, 12:09 PM
michaelo updated the diff for D53837: sysutils/vm-bhyve-devel: Upgrade port to commit e2ebcea.

Rework to "git describe --tags"

Thu, Nov 20, 11:08 AM
michaelo added a comment to D53837: sysutils/vm-bhyve-devel: Upgrade port to commit e2ebcea.

@michaelo, I rather we keep the bellow fields. You can get them from using git describe --tags.

DISTVERSION= 1.6.2-34
DISTVERSIONSUFFIX= -g73b127

Thu, Nov 20, 10:47 AM
michaelo added a comment to D53837: sysutils/vm-bhyve-devel: Upgrade port to commit e2ebcea.

So when I'm understanding correctly, we switch to the ISO timestamp forever.
And in the future when the -devel and normal port diverge more, we use the commit hash and update the iso timestamp to the commit hash in question?

Seems fine for me.

Thu, Nov 20, 10:43 AM
michaelo added a comment to D53837: sysutils/vm-bhyve-devel: Upgrade port to commit e2ebcea.

So if we return to using a commit hash, it keeps working with versioning, then it seems reasonable to me.

Thu, Nov 20, 10:37 AM
michaelo added a comment to D53837: sysutils/vm-bhyve-devel: Upgrade port to commit e2ebcea.

I still want to use DISTVERSION=1.7.0 and not overwrite the version in post-patch. Because the commit e2ebcea and the tag v1.7.0 are identical, and point to the same commit. At this point, the tarball can be shared between vm-bhyve and vm-bhyve-devel. There is no need to keep tarballs with different checksums in distfiles when their contents are identical.

However, this version is now acceptable to me. Feel free to land if it looks good to @driesm.

Thu, Nov 20, 10:11 AM
michaelo updated the diff for D53837: sysutils/vm-bhyve-devel: Upgrade port to commit e2ebcea.

Update distname and tag name according to Porter's Handbook: https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-master_sites-github-ex2

Thu, Nov 20, 9:05 AM
michaelo added inline comments to D53837: sysutils/vm-bhyve-devel: Upgrade port to commit e2ebcea.
Thu, Nov 20, 8:51 AM
michaelo closed D53833: sysutils/vm-bhyve: Upgrade port to 1.7.0.
Thu, Nov 20, 8:47 AM
michaelo committed R11:4b2bb215f37e: sysutils/vm-bhyve: Upgrade port to 1.7.0 (authored by michaelo).
sysutils/vm-bhyve: Upgrade port to 1.7.0
Thu, Nov 20, 8:47 AM
michaelo added a comment to D53833: sysutils/vm-bhyve: Upgrade port to 1.7.0.

Sounds good, go for it!! Lets MFQ the -devel port as @meta suggested.

Thu, Nov 20, 8:44 AM
michaelo added a comment to D53833: sysutils/vm-bhyve: Upgrade port to 1.7.0.

I think we can update sysutils/vm-bhyve-devel to 1.7.0 as well. Both are currently at the same version since only a few commits have been added after the release.

If we update the quarterly branch as well, how about updating sysutils/vm-bhyve-devel in 2025Q4 and keeping sysutils/vm-bhyve as it is until the next quarter? This is just a suggestion, though.

Thu, Nov 20, 8:43 AM
michaelo updated the summary of D53833: sysutils/vm-bhyve: Upgrade port to 1.7.0.
Thu, Nov 20, 8:42 AM
michaelo updated the diff for D53833: sysutils/vm-bhyve: Upgrade port to 1.7.0.

Sync with vm-bhyve-devel

Thu, Nov 20, 8:42 AM
michaelo requested review of D53837: sysutils/vm-bhyve-devel: Upgrade port to commit e2ebcea.
Thu, Nov 20, 8:40 AM

Wed, Nov 19

michaelo added a comment to D53813: Import snapshot of Aquantia ACQ107 vendor driver.

Isn't it better not to have a driver at all rather than having one which is six years old, a preview and heck knows working at all reasonably?

no?

We can always delete it and replace it with another if it doesn't pan out but people have the hardware now and we should have something.

Wed, Nov 19, 9:41 PM
michaelo added inline comments to D53807: java/autofirma: [new port]. Digital signature application.
Wed, Nov 19, 9:39 PM
michaelo added a comment to D53813: Import snapshot of Aquantia ACQ107 vendor driver.

Isn't it better not to have a driver at all rather than having one which is six years old, a preview and heck knows working at all reasonably?

Wed, Nov 19, 9:35 PM
michaelo closed D53690: textproc/py-openpyxl: Upgrade port to 3.1.5.
Wed, Nov 19, 9:17 PM
michaelo committed R11:5c903a1889e8: textproc/py-openpyxl: Upgrade port to 3.1.5 (authored by michaelo).
textproc/py-openpyxl: Upgrade port to 3.1.5
Wed, Nov 19, 9:17 PM
michaelo closed D53689: textproc/py-et_xmlfile: Upgrade port to 2.0.0.
Wed, Nov 19, 9:15 PM
michaelo committed R11:00e6dbe0a8fd: textproc/py-et_xmlfile: Upgrade port to 2.0.0 (authored by michaelo).
textproc/py-et_xmlfile: Upgrade port to 2.0.0
Wed, Nov 19, 9:15 PM
michaelo requested review of D53834: sysutils/bastille: Upgrade port to 1.1.2.251119.
Wed, Nov 19, 9:09 PM
michaelo requested review of D53833: sysutils/vm-bhyve: Upgrade port to 1.7.0.
Wed, Nov 19, 8:52 PM
michaelo added a comment to D53690: textproc/py-openpyxl: Upgrade port to 3.1.5.

Maintainer, any objection?

Wed, Nov 19, 5:35 PM
michaelo added a comment to D53689: textproc/py-et_xmlfile: Upgrade port to 2.0.0.

Maintainer, any objection?

Wed, Nov 19, 5:35 PM

Tue, Nov 18

michaelo updated the diff for D53433: Mk/Uses/python.mk: Build Python wheels next to packages.

Just experienced the inconsistency with distutils myself:

Tue, Nov 18, 12:53 PM

Sun, Nov 16

michaelo added a comment to D53766: devel/uv: Upgrade port to 0.9.9.

I am sorry that I didn't notice this review.

Sun, Nov 16, 3:22 PM
michaelo abandoned D53766: devel/uv: Upgrade port to 0.9.9.

Maintainer has ignored my review and updated the port.

Sun, Nov 16, 9:36 AM

Fri, Nov 14

michaelo requested review of D53766: devel/uv: Upgrade port to 0.9.9.
Fri, Nov 14, 8:50 PM

Thu, Nov 13

michaelo committed R11:999394b3f1e9: devel/py-maturin: Upgrade port to 1.10.1 (authored by michaelo).
devel/py-maturin: Upgrade port to 1.10.1
Thu, Nov 13, 8:29 AM
michaelo closed D53687: devel/py-maturin: Upgrade port to 1.10.1.
Thu, Nov 13, 8:29 AM
michaelo added a comment to D53687: devel/py-maturin: Upgrade port to 1.10.1.

It took me countless hours, but these do build:

archivers/py-cramjam chinese/py-rjieba databases/py-datafusion databases/py-sqlglotrs databases/py-sqloxide devel/py-tox-toml-fmt devel/py-deptry devel/py-qcs-sdk-python devel/py-regress devel/py-rpds-py devel/py-ruff devel/py-pyperscan devel/py-pyproject-fmt-rust devel/py-jellyfish devel/py-orjson devel/py-pendulum devel/py-pydantic-core devel/py-pyproject-fmt devel/py-ty devel/py-watchfiles devel/py-pycrdt devel/py-dbt-extractor devel/py-ormsgpack devel/py-fastuuid devel/py-uv-build08 lang/py-dhall math/py-clarabel math/py-pcodec misc/py-lazrs misc/py-hf-xet misc/py-polars misc/py-pyqir misc/py-safetensors www/py-adblock www/py-jh2 www/py-nh3 www/py-qh3 www/py-granian www/py-pywry www/py-primp security/py-cryptography textproc/py-pycddl textproc/py-jiter textproc/py-tokenizers textproc/py-textual-speedups x11-fonts/py-shaperglot
Thu, Nov 13, 8:28 AM
michaelo closed D53686: textproc/py-jiter: Upgrade port to 0.12.0.
Thu, Nov 13, 6:18 AM
michaelo committed R11:e44224053b97: textproc/py-jiter: Upgrade port to 0.12.0 (authored by michaelo).
textproc/py-jiter: Upgrade port to 0.12.0
Thu, Nov 13, 6:18 AM

Wed, Nov 12

michaelo added a comment to D53687: devel/py-maturin: Upgrade port to 1.10.1.
In D53687#1226367, @kai wrote:

Please check beforehand whether devel/py-maturin builds on all Tier1 FreeBSD releases (maybe CURRENT as well, if possible) and that the consumers (retrievable e.g. with portgrep -o -s -d py-maturin) also builds fine.
Otherwise, LGTM and thank you very much!

Wed, Nov 12, 3:20 PM
michaelo updated the diff for D53687: devel/py-maturin: Upgrade port to 1.10.1.

Now use "make cargo-crates"

Wed, Nov 12, 10:59 AM
michaelo closed D53698: devel/uv: Search in LOCALBASE for config files.
Wed, Nov 12, 10:45 AM
michaelo committed R11:cea12ee77c46: devel/uv: Search in LOCALBASE for config files (authored by michaelo).
devel/uv: Search in LOCALBASE for config files
Wed, Nov 12, 10:45 AM
michaelo updated the diff for D53686: textproc/py-jiter: Upgrade port to 0.12.0.

Recreate crates list

Wed, Nov 12, 10:43 AM
michaelo added a comment to D53686: textproc/py-jiter: Upgrade port to 0.12.0.

Hi @michaelo, thanks for an update to the port.

It appears some updates to CARGO_CRATES and distinfo are missing.

Can you update Makefile.crates using make cargo-crates and resubmit the patch?

Thanks!

Wed, Nov 12, 8:46 AM

Tue, Nov 11

michaelo added a comment to D53698: devel/uv: Search in LOCALBASE for config files.

truss output:

root@135-release-amd64-default-head:/usr/ports/devel/uv # grep /usr/local/etc --color out
read(3,"includedir /usr/local/etc/libmap"...,35) = 35 (0x23)
open("/usr/local/etc/libmap.d",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,0165) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/usr/local/etc/xdg/uv/uv.toml",0x348e6c167210,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/usr/local/etc/uv/uv.toml",0x348e6c167210,0x0) ERR#2 'No such file or directory'
root@135-release-amd64-default-head:/usr/ports/devel/uv #
Tue, Nov 11, 7:59 PM
michaelo requested review of D53698: devel/uv: Search in LOCALBASE for config files.
Tue, Nov 11, 7:58 PM
michaelo requested review of D53690: textproc/py-openpyxl: Upgrade port to 3.1.5.
Tue, Nov 11, 5:08 PM
michaelo requested review of D53689: textproc/py-et_xmlfile: Upgrade port to 2.0.0.
Tue, Nov 11, 4:50 PM
michaelo added a comment to D53687: devel/py-maturin: Upgrade port to 1.10.1.

Creates file produced by:

awk '/name = / { gsub(/"/, "", $3); name=$3 } /version = / { gsub(/"/, "", $3); print "\t\t" name "-" $3 " \\" }' Cargo.lock | sort -u > ../../Makefile.crates
Tue, Nov 11, 2:15 PM
michaelo requested review of D53687: devel/py-maturin: Upgrade port to 1.10.1.
Tue, Nov 11, 2:11 PM
michaelo abandoned D53489: lang/rust: Replace OpenSSL system default truststore with a more generic one.

Manually applied by maintainer.

Tue, Nov 11, 1:40 PM
michaelo requested review of D53686: textproc/py-jiter: Upgrade port to 0.12.0.
Tue, Nov 11, 1:34 PM
michaelo updated the diff for D53433: Mk/Uses/python.mk: Build Python wheels next to packages.

Updating the patch making bdist_wheel opt-in.

Tue, Nov 11, 11:37 AM
michaelo added a comment to D53489: lang/rust: Replace OpenSSL system default truststore with a more generic one.

It's not possible to mfh it, rust is at 1.89.0 in Q4.
It's probably possible to do a direct commit in Q4 but I've never done that. Feel free to do it if you think Q4 needs this patch.

Tue, Nov 11, 11:20 AM

Mon, Nov 10

michaelo closed D53373: databases/py-pyodbc: Upgrade port to 5.3.0.
Mon, Nov 10, 7:02 PM
michaelo committed R11:ab9284d4e744: databases/py-pyodbc: Upgrade port to 5.3.0 (authored by michaelo).
databases/py-pyodbc: Upgrade port to 5.3.0
Mon, Nov 10, 7:02 PM
michaelo abandoned D53392: devel/py-pydantic2: Upgrade port to 2.12.3.
Mon, Nov 10, 6:21 PM
michaelo added a comment to D53392: devel/py-pydantic2: Upgrade port to 2.12.3.

Reivew has been ignored by maintainer.

Mon, Nov 10, 6:20 PM
michaelo abandoned D53391: devel/py-pydantic-core: Upgrade port to 2.41.4.

Reivew has been ignored by maintainer.

Mon, Nov 10, 6:20 PM

Sun, Nov 9

michaelo added a comment to D53489: lang/rust: Replace OpenSSL system default truststore with a more generic one.

I'll commit your patch prior to landing rust 1.91.0 (to not bump rust too frequently, people will get mad at me otherwise)
I'll drop the version in the file name (it's a pain to maintain in the long run) -> files/patch-vendor_openssl-probe_src_lib.rs

Sun, Nov 9, 7:08 PM
michaelo added a comment to D53489: lang/rust: Replace OpenSSL system default truststore with a more generic one.

There are 2 version of openssl-probe (openssl-probe-0.1.5/ openssl-probe-0.1.6), only 0.1.6 needs to be patched?

Sun, Nov 9, 6:14 PM
michaelo added a comment to D53489: lang/rust: Replace OpenSSL system default truststore with a more generic one.

Both patches apply cleanly here.

Sun, Nov 9, 3:15 PM
michaelo added a comment to D53489: lang/rust: Replace OpenSSL system default truststore with a more generic one.

I'm updating rust to 1.91.0, does it apply to this version ?

Sun, Nov 9, 2:59 PM
michaelo committed R11:bb28805ce5c3: Revert "mail/py-offlineimap3: Upgrade port to 8.0.1" (authored by michaelo).
Revert "mail/py-offlineimap3: Upgrade port to 8.0.1"
Sun, Nov 9, 9:38 AM
michaelo added a reverting change for D53430: mail/py-offlineimap3: Upgrade port to 8.0.1: R11:bb28805ce5c3: Revert "mail/py-offlineimap3: Upgrade port to 8.0.1".
Sun, Nov 9, 9:38 AM
michaelo added a reverting change for R11:63810125020f: mail/py-offlineimap3: Upgrade port to 8.0.1: R11:bb28805ce5c3: Revert "mail/py-offlineimap3: Upgrade port to 8.0.1".
Sun, Nov 9, 9:38 AM
michaelo added a comment to D53489: lang/rust: Replace OpenSSL system default truststore with a more generic one.

@mikael Any objections? This has also been incorporated into devel/uv, upstream patch is in discussion.

Sun, Nov 9, 9:28 AM

Fri, Nov 7

michaelo added a comment to D53433: Mk/Uses/python.mk: Build Python wheels next to packages.

USES=distutils is going away because upstream is removing support for this entirely. It had been deprecated for quite some time but they are finally pulling the switch.

I know, this is why I said that with PEP 517 wheels already there, they just need to be in a distinct, explicit place for consumption.

Can you explain why this change needs revision? ATM, I don't see a way to make it even simple than this. Again, I don't expect you do upload anthing to PyPI. It is just a possible usecaes. I am happy if people can host their own indexes with this.

From a meta-/framework perspective, building wheels from USE_PYTHON=distutils (ie direct setup.py invocation) is not reliable unless you don't pass any flags or variables at all. This stems from setuptools themselves continuing to deal with a littany of legacy code and design which is frustrating to rid for modernity and maintenance sakes. Trying to build a binary wheel from built artefacts in this case may result in those artefacts getting wrongly rebuilt. (I had some local modifications where USE_PYTHON=distutils only built binary wheels and eliminated its do-install in favour of the PEP-517 do-install.)

For those ports that still have a setup.py without a corresponding or replacement pyproject.toml that doesn't need to have flags or variables passed into configure or build, PEP-517 already provides that setuptools is implicitly the build backend. Those ports can switch to USE_PYTHON=pep517. For ports that need to pass flags and variables, setuptools still doesn't support config settings passed from a build frontend like devel/py-build.

Fri, Nov 7, 6:58 PM
michaelo closed D53370: security/py-gssapi: Upgrade port to 1.10.1.
Fri, Nov 7, 2:03 PM
michaelo committed R11:019d791f0c5e: security/py-gssapi: Upgrade port to 1.10.1 (authored by michaelo).
security/py-gssapi: Upgrade port to 1.10.1
Fri, Nov 7, 2:03 PM
michaelo added a comment to D53370: security/py-gssapi: Upgrade port to 1.10.1.

Thank you for your contribution.

Fri, Nov 7, 1:32 PM
michaelo added a comment to D53433: Mk/Uses/python.mk: Build Python wheels next to packages.

I don't know whether it can be compiled on 13.5 and run older minor versions.

It can't generally. But this is not a problem, because the support window between two consecutive minor releases is usually tight and the official cluster always builds packages on the lowest minor version supported.

Fri, Nov 7, 12:53 PM
michaelo added a comment to D53433: Mk/Uses/python.mk: Build Python wheels next to packages.

Here is the definition: https://packaging.python.org/en/latest/specifications/binary-distribution-format/

There is a notion of a "platform tag" which denotes the platform for which the wheel has been built if it contains native code, by default it does "$(os}_${release}_${arch}". Run " pip debug --verbose" and see for compatible tags. If a wheel has been compiled with 13.5-RELEASE-p5 it won't be consumed by 13.5-RELEASE-p6. "wheel tags --remove --platform-tag=..." renames the file for multiplatform AND modfies the metadata (Tag: ) in WHEEL file. So I am not rebuilding, I am retagging. I first assumed a bug in poudriere: https://github.com/freebsd/poudriere/issues/1277, but then realized otherwise.

Well, to me it is the python part that should be fixed. FreeBSD guarantees ABI compatibility between minor releases, so the tag should look like py310-none-freebsd_13_amd64. This is the same how pkg handles our native packages ABI.

Re-tagging is not necessary as they are already correct. Not every wheel will have specific platform tags, in fact most if not all ports specifying NO_ARCH will have py3-none-any which allows consumption on anything with any implementation/distribution. Patch levels are not part of specific platform tags, only minor releases, like cp312-cp312-freebsd_14_3_release_amd64 (denotes compatibility with CPython >= 3.12 on 14.3-RELEASE amd64), cp37-abi3-freebsd_16_0_current_amd64 (CPython >= 3.7 ABI 3 on -CURRENT amd64). (If we enable building ports under other implementations like lang/rustpython, that's another can of worms entirely…) Note that 3.13 and later have differing ABIs wrt free-threaded mode or not, like cp313-cp313t-freebsd_16_0_current_amd64.

Fri, Nov 7, 10:59 AM
michaelo added a comment to D53433: Mk/Uses/python.mk: Build Python wheels next to packages.

USES=distutils is going away because upstream is removing support for this entirely. It had been deprecated for quite some time but they are finally pulling the switch.

I know, this is why I said that with PEP 517 wheels already there, they just need to be in a distinct, explicit place for consumption.

Can you explain why this change needs revision? ATM, I don't see a way to make it even simple than this. Again, I don't expect you do upload anthing to PyPI. It is just a possible usecaes. I am happy if people can host their own indexes with this.

From a meta-/framework perspective, building wheels from USE_PYTHON=distutils (ie direct setup.py invocation) is not reliable unless you don't pass any flags or variables at all. This stems from setuptools themselves continuing to deal with a littany of legacy code and design which is frustrating to rid for modernity and maintenance sakes. Trying to build a binary wheel from built artefacts in this case may result in those artefacts getting wrongly rebuilt. (I had some local modifications where USE_PYTHON=distutils only built binary wheels and eliminated its do-install in favour of the PEP-517 do-install.)

For those ports that still have a setup.py without a corresponding or replacement pyproject.toml that doesn't need to have flags or variables passed into configure or build, PEP-517 already provides that setuptools is implicitly the build backend. Those ports can switch to USE_PYTHON=pep517. For ports that need to pass flags and variables, setuptools still doesn't support config settings passed from a build frontend like devel/py-build.

Fri, Nov 7, 8:46 AM
michaelo added a comment to D53433: Mk/Uses/python.mk: Build Python wheels next to packages.

My ideal longterm goal: The Project hosts canonical poudriere builds and these could produce FreeBSD-specific wheels which could be uploaded to PyPI and would dramatically improve the situation for the Python ecosystem on FreeBSD.

Not happening. We already build artefacts for ports with non-standard flags and such, which are inappropriate to share to PyPI.

Fri, Nov 7, 8:22 AM

Thu, Nov 6

michaelo added a comment to D53433: Mk/Uses/python.mk: Build Python wheels next to packages.

This looks OK to me, but I'm a python hat wearer.

Thu, Nov 6, 3:48 PM
michaelo committed R11:63810125020f: mail/py-offlineimap3: Upgrade port to 8.0.1 (authored by michaelo).
mail/py-offlineimap3: Upgrade port to 8.0.1
Thu, Nov 6, 1:59 PM
michaelo closed D53430: mail/py-offlineimap3: Upgrade port to 8.0.1.
Thu, Nov 6, 1:57 PM