pytest-html icon indicating copy to clipboard operation
pytest-html copied to clipboard

Publish new release to PyPI?

Open cgoldberg opened this issue 3 months ago • 10 comments

There hasn't been a release of pytest-html in almost 2 years. Several fixes and dependency updates have been merged since then. All CI tests are currently passing against master branch.

cgoldberg avatar Sep 18 '25 18:09 cgoldberg

Didn't manage to upgrade Chai (https://github.com/pytest-dev/pytest-html/pull/939), so this is probably a blocker.

Pierre-Sassoulas avatar Sep 18 '25 18:09 Pierre-Sassoulas

I'm not sure why that matters, but here is a PR that updates chai to the latest version without making the import changes that were breaking tests in the dependabot PR: #951

All JS tests pass for me locally. Can you approve the PR workflow to run?

cgoldberg avatar Sep 18 '25 19:09 cgoldberg

Yeah, the fail in CI prompted me to try some import change for chai 5.3.1 without success (js is not my main language). Maybe we'll avoid the issue entirely by upgrading directly to the new major of chai.

Pierre-Sassoulas avatar Sep 18 '25 19:09 Pierre-Sassoulas

@BeyondEvil how do you feel about releasing ? (the upgrade of chai was done in #951 )

Pierre-Sassoulas avatar Sep 20 '25 08:09 Pierre-Sassoulas

Sorry for being a ghost here. I simply haven't been able to prioritize it. I've tried at least twice via the pytest-dev channels to get additional maintainers, but haven't gotten any responses.

@Pierre-Sassoulas What TZ are you in? Maybe we could coordinate a release. Happy to do it, but don't have time to deal with any issues that might arise. I could set aside like 60 minutes and we can go through any open PRs etc. and then do a release.

I'm in Europe/Stockholm TZ.

I would love to see PRs to implement semantic release and strict convential-commit checking.

That way, releases would be automatic on merge to main/master.

BeyondEvil avatar Sep 20 '25 10:09 BeyondEvil

Sounds good ! Europe/Paris, let me know. Maybe settting up a release doc (via tag ?) would be best for the long term. We don't have to merge all pending MRs before release either.

Pierre-Sassoulas avatar Sep 20 '25 11:09 Pierre-Sassoulas

Sent you a connect request on LinkedIn. We can exchange emails etc. there and put something on the calendar for next week perhaps? @Pierre-Sassoulas

BeyondEvil avatar Sep 20 '25 11:09 BeyondEvil

i'll be traveling for work until the 28th - afterward i can help setup release and maintenance automation + using the pypi org to ease things

RonnyPfannschmidt avatar Sep 21 '25 08:09 RonnyPfannschmidt

Has there been any progress on this?

scottdmcc avatar Oct 27 '25 17:10 scottdmcc

If it's not too late, I'd really like to request for this feature to be merged in: https://github.com/pytest-dev/pytest-html/pull/934

We generate quite a few environment variables to display here.

srodriguez91 avatar Oct 31 '25 01:10 srodriguez91