With the right implementation in setuptools, 90% of packages will start cutting releases with reliable dependency metadata without any action needed by their maintainers.
You can ensure that your package will have properly annotated reliable metadata by either:
Specifying install_requires in setup.cfg or by using literals in your http://setup.py. If you have conditional dependencies, use environment markers:
https://www.python.org/dev/peps/pep-0508/#environment-markers
For some background on one problem this solves, see @di_codes@twitter.com ‘s 2018 article “Why PyPI Doesn’t Know Your Project’s Dependencies”: https://dustingram.com/articles/2018/03/05/why-pypi-doesnt-know-dependencies/
PEP 643 can’t 100% fix this, but it makes it possible for a project to indicate that it doesn’t have this failure mode.
I am happy to announce that I have accepted PEP 643: Metadata for Package Source Distributions, which has the potential to dramatically simplify Python package metadata resolution in the future. https://python.org/dev/peps/pep-0643/
Soon you may be able to build reliable dependency graphs!
Finding old summaries of the history of X, then following any archive links (or just believing the summary) helps somewhat.
boost from birdsite, Python, packaging
boosting @`ThePyPA
pyfound.blogspot.com/2020/11/pip-20-3-new-resolver.html pip 20.3 is out. See https://pip.pypa.io/en/latest/user_guide/#changes-to-the-pip-dependency-resolver-in-20-3-2020 for what's new (including the dependency resolver) and how to migrate. Thanks @`ChanZuckerberg and @`mozilla for funding!
As an interesting aside, it seems that Python itself was on PyPI at the time (2004-04-13): https://web.archive.org/web/20040413032446/http://www.python.org/pypi?:action=display&name=Python&version=2.3.2
PyPI went online in late 2002, but easy_install wasn’t released until 2004.
Does anyone know how people installed stuff from PyPI before then? Did you download an sdist and unzip it manually?
I don’t even see a download link on this wayback snapshot: https://web.archive.org/web/20031101220800/http://www.python.org/pypi?:action=display&name=docutils&version=0.3
Lately, I’ve been increasingly using Super + ↑↓→← to move my windows on a grid, but I’ve been frustrated by the lack of keyboard shortcuts to move them between monitors. Turns out you just need to do Shift + Super + ← / →:
You’ll know you’ve made it when you overhear this in a café:
“People were able to Photoshop teeth onto stuff in the past, this is nothing new! Heck, image editing has been around almost as long as images!”
“It’s a matter of scale! Kids today can see anything with human teeth!”
Northern Flicker at my feeder the other day.
These are beautiful birds — and they are even more colorful in flight, because they have yellow-shafted feathers and a yellow underside.
I’ve only seen them at my feeder twice, and they got scared off pretty quickly when they saw me both times.
Apparently this guy is watching his cholesterol — doesn’t want to eat any of these hard-boiled egg yolks…
In about three hours I'll present a few Python tips, and chat about my strange career, to a PyLadies meetup https://www.meetup.com/PyLadies-SWFL/events/274417833/ and you can swing by if you like
Apparently CVS Minute Clinics will do it, but not in CT or some other states. We may just go get it done in Massachusetts to minimize the fuss, as annoying as that is.
Would be nice to know why Minute Clinics have this rule in CT, so that I can (I assume) call the relevant legislator.
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.