miketheman, to python
@miketheman@hachyderm.io avatar
ThePSF, to python
@ThePSF@fosstodon.org avatar

The PSF is looking for a PyPI Support Specialist to join the team! This is a remote position with 2-4 hours/week overlap with US Eastern/Central work hours. Please share this posting with your colleagues and networks. #python #pypi https://pythonsoftwarefoundation.applytojob.com/apply/nyYHuOha9h/PyPI-Support-Specialist
https://pythonsoftwarefoundation.applytojob.com/apply/nyYHuOha9h/PyPI-Support-Specialist

miketheman, to python
@miketheman@hachyderm.io avatar

Happy New Year! 🎉

As of today, is now required on @pypi :python_logo:

Read more here: https://blog.pypi.org/posts/2024-01-01-2fa-enforced/

hugovk, to python
@hugovk@mastodon.social avatar

🥚 ❌
🛞 ✅

Following PEP 715, @pypi has deprecated the old egg format, use wheel instead.

https://blog.pypi.org/posts/2023-06-26-deprecate-egg-uploads/

https://pythonwheels.com
#Python #egg #wheel #PEP715 #bdist_egg #bdist_wheel #PyPI

sethmlarson, to python
@sethmlarson@fosstodon.org avatar

@pypi now requires #2FA for new user registrations in order to publish or create new projects. This is part of a broader effort to require 2FA for all users of #PyPI by the end of 2023.

#Python #Security #Opensource

https://blog.pypi.org/posts/2023-08-08-2fa-enforcement-for-new-users/

miketheman, to python
@miketheman@hachyderm.io avatar

Thanks @github for the docs update!
New page on how to enable #GitHubActions trusted publishing to @pypi

https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-pypi

More detailed (with pictures 🖼️ ) authored by @yossarian and other contributors!
https://docs.pypi.org/trusted-publishers/

#Python #PyPI #security #oidc

Yhg1s, to programming
@Yhg1s@social.coop avatar

I've mentioned it before, but in case you missed it and are interested in working for @ThePSF to improve PyPI...

https://blog.pypi.org/posts/2023-05-09-announcing-pypi-safety-and-security-engr-role/

#PyPI #Python #Hiring

sethmlarson, to python
@sethmlarson@fosstodon.org avatar

Everyone loves a PR that deletes code!

🟩🟥🟥🟥→🥳

But what about deleting code AND increasing your package's security? 🤯

That's exactly what Trusted Publishers are for. If your project uses then consider adopting them today! 🚀

https://docs.pypi.org/trusted-publishers/

dvzrv, to archlinux

It seems we'll have a lot of "fun" with the decision to remove signatures for sdist tarballs (https://blog.pypi.org/posts/2023-05-23-removing-pgp/) going forward.

To scream into the void: Yes, PyPi, someone was using those signatures. Distro package maintainers secured user supply chains with it!

I'm not looking forward to asking dozens of upstreams to host their signatures elsewhere (just stumbled across one case). Meanwhile reproducibility is now broken for those packages.

pypi, to python

PyPI package maintainers can now publish via Trusted Publishing from three additional providers:

  • GitLab
  • Google Cloud
  • ActiveState

They join GitHub Actions to support publishing without long-lived passwords or API tokens.


https://blog.pypi.org/posts/2024-04-17-expanding-trusted-publisher-support/

sethmlarson, to python
@sethmlarson@fosstodon.org avatar

🚨 PSA: is requiring in 2024 to publish new releases. If you're a developer of packages then you need to enable 2FA in addition to adopting either Trusted Publishers or API tokens before publishing new releases.

Data from today shows less than 10% of PyPI's accounts have 2FA enabled: https://p.datadoghq.com/sb/7dc8b3250-389f47d638b967dbb8f7edfd4c46acb1

miketheman, to security
@miketheman@hachyderm.io avatar
sethmlarson, (edited ) to python
@sethmlarson@fosstodon.org avatar

xz/liblzma backdoor (CVE-2024-3094) is trending.

https://openwall.com/lists/oss-security/2024/03/29/4

#Python bundles xz v5.2.5 and earlier which don't contain the backdoored binary files. #PyPI is also not affected due to using Debian Bookworm, not Sid.

Querying PyPI packages and Python Dockerhub images doesn't show any xz 5.6.x binaries.

From what I've gathered from others, the backdoor appears to target sshd (SSH server) on glibc-based distros, so if you're using Ubuntu or Fedora check that you aren't affected.

sethmlarson, to random
@sethmlarson@fosstodon.org avatar

The #PSF has received funding for Malware Detection on #PyPI from #CSET! This will mean getting closer to near-instant takedowns of malware on PyPI without needing to infinitely scale up manual triaging of reports all while remaining open! 🎉

https://discuss.python.org/t/pypi-malware-detection-project/28222

hugovk, to python
@hugovk@mastodon.social avatar

Some findings from the annual survey by @ThePSF &

93% use Python 3.

The latest Python is used by most people (3.10 at the time of they survey), with each older release the next most popular: 3.10, 3.9, 3.8, 3.7, 3.6...

This is interesting as current download stats show 3.8, 3.7, 3.9, 3.10, 3.11... There's a big skew for 3.7 from certain Linux distros (https://dev.to/hugovk/why-are-there-still-so-many-downloads-for-eol-python-37-30cp).

@pillow remains around ~30%.

Python 3 versions 3.10 45% 3.9 23% 3.8 9% 3.6 4% 3.5 and lower 2% Please note that the survey took place October 14 – November 14, 2022, and Python 3.11 was only released on October 24, 2022.
Other frameworks and libraries Requests 48% Pillow 29% Asyncio 25% ... Though the top-3 frameworks have not changed compared to 2021, Requests has ceded 4 percentage points to httpx.

pypi, to python

Looking back at 2023 @miketheman uncovered some impressive metrics that we want to share! A big thanks to Fastly- And also @awsopen for making Mike’s job possible! #thankyou #PyPI #python

miketheman, to github
@miketheman@hachyderm.io avatar
miketheman, to python
@miketheman@hachyderm.io avatar

Total Release count on @pypi just passed 5 million!

#Python #Packaging #PyPI

brettcannon, to random
@brettcannon@fosstodon.org avatar

Trusted publishing on #PyPI is great! https://docs.pypi.org/trusted-publishers/

Not worrying about API tokens is very nice (I used to create a temporary token to upload via twine)! Now a release is a 3 step process:

  1. Bump version (and I'm using CalVer for everything I push to PyPI, so that's easy to figure out)
  2. Run the release workflow (example: https://github.com/brettcannon/microvenv/blob/main/.github/workflows/release.yml)
  3. Create a GitHub release

I plan to automate away step 1 via PDM or Hatch. 😁 And I can automate drafting GH releases.

xahteiwi, (edited ) to random
@xahteiwi@mastodon.social avatar

How do you personally pronounce #PyPI?

(Boosts OK. Also, this is not a question about the "correct" pronunciation.)

ThePSF, to python
@ThePSF@fosstodon.org avatar

On this #PiDay, we want to remind you that our love for #python is infinite! Give the unique and unrepeatable love of Python* to yourself or a friend 💙💛 grab the @nostarch Humble Bundle today!

sethmlarson, to python
@sethmlarson@fosstodon.org avatar

50,000 folks have enabled 2FA on #PyPI! 👏👏👏 Thanks everyone who's done their part to keep the #Python ecosystem safe.

Have you done your part and enabled 2FA? 🤔

Read how: https://blog.pypi.org/posts/2023-05-25-securing-pypi-with-2fa/

ethauvin, to programming
@ethauvin@mastodon.social avatar
miketheman, to python
@miketheman@hachyderm.io avatar

New Blog:

PyPI Requires 2FA for New User Registrations

https://blog.pypi.org/posts/2023-08-08-2fa-enforcement-for-new-users/

#pypi #python #security

mistersql, to random
@mistersql@mastodon.social avatar

#pyconus #pypi has gotten so much better security-wise over the last year. Trusted Publisher is the best

https://docs.pypi.org/trusted-publishers/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • GTA5RPClips
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • megavids
  • Leos
  • cisconetworking
  • lostlight
  • All magazines