Skip to content

Instantly share code, notes, and snippets.

draft $ gh repo create --public issue1717562-2 --clone
✓ Created repository jaraco/issue1717562-2 on GitHub
Initialized empty Git repository in /Users/jaraco/draft/issue1717562-2/.git/
draft $ cd issue1717562-2
issue1717562-2 main $ touch README.md
issue1717562-2 main $ git add README.md
issue1717562-2 main $ git commit -a -m "Add README"
[main (root-commit) 4536963] Add README
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 README.md
draft $ gh repo create --public issue1717562 --clone
✓ Created repository jaraco/issue1717562 on GitHub
Initialized empty Git repository in /Users/jaraco/draft/issue1717562/.git/
draft $ cd issue1717562/
issue1717562 main $ touch README.md
issue1717562 main $ git add README.md
issue1717562 main $ git commit -a -m "Add README"
[main (root-commit) 09c719e] Add README
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 README.md
Received: from DM5PR06MB2714.namprd06.prod.outlook.com (::1) by
CO3PR06MB8608.namprd06.prod.outlook.com with HTTPS; Fri, 24 Jun 2022 20:08:03
+0000
Received: from DM6PR17CA0035.namprd17.prod.outlook.com (2603:10b6:5:1b3::48)
by DM5PR06MB2714.namprd06.prod.outlook.com (2603:10b6:3:47::19) with
Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.17; Fri, 24 Jun
2022 20:08:00 +0000
Received: from DM6NAM04FT003.eop-NAM04.prod.protection.outlook.com
(2603:10b6:5:1b3:cafe::aa) by DM6PR17CA0035.outlook.office365.com
@jaraco
jaraco / gist:0979d634f4269781132f55c0721e7ce3
Last active June 22, 2022 18:40
empty string is the null specifier set
~ $ pip-run -q packaging -- -c 'from packaging import requirements; print(repr(requirements.Requirement("example").specifier))'
<SpecifierSet('')>
test_formats (distutils.tests.test_bdist.BuildTestCase) ... ok
test_skip_build (distutils.tests.test_bdist.BuildTestCase) ... ok
test_class (distutils.tests.test_text_file.TextFileTestCase) ... ok
test_cmp (distutils.tests.test_version.VersionTestCase) ... ok
test_cmp_strict (distutils.tests.test_version.VersionTestCase) ... ok
test_prerelease (distutils.tests.test_version.VersionTestCase) ... ok
test_byte_compile (distutils.tests.test_install_lib.InstallLibTestCase) ... ok
test_dont_write_bytecode (distutils.tests.test_install_lib.InstallLibTestCase) ... ok
test_finalize_options (distutils.tests.test_install_lib.InstallLibTestCase) ... ok
test_get_inputs (distutils.tests.test_install_lib.InstallLibTestCase) ... ok

Python Vendor Configuration

Currently, several Python distributors modify the Python install layout. Making such modifications requires distributors to patch multiple standard library modules. The install layout is currently not meant to be a configurable option in a Python installation, but Python developers, distro packagers and module authors all have conflicting assumptions in this area. The resulting outcome is problematic because Python distributors, understandably, fail to correctly modify all places required to satisfy all these assumptions, resulting in incoherent or outright broken Python distributions being shipped to millions

~ $ ping 192.168.107.175
PING 192.168.107.175 (192.168.107.175): 56 data bytes
Request timeout for icmp_seq 0
64 bytes from 192.168.107.175: icmp_seq=0 ttl=64 time=1096.404 ms
64 bytes from 192.168.107.175: icmp_seq=1 ttl=64 time=92.475 ms
64 bytes from 192.168.107.175: icmp_seq=2 ttl=64 time=12.017 ms
64 bytes from 192.168.107.175: icmp_seq=3 ttl=64 time=5.744 ms
64 bytes from 192.168.107.175: icmp_seq=4 ttl=64 time=5.631 ms
64 bytes from 192.168.107.175: icmp_seq=5 ttl=64 time=14.786 ms
64 bytes from 192.168.107.175: icmp_seq=6 ttl=64 time=6.262 ms
$ ping 192.168.107.147
PING 192.168.107.147 (192.168.107.147): 56 data bytes
64 bytes from 192.168.107.147: icmp_seq=0 ttl=255 time=84.178 ms
64 bytes from 192.168.107.147: icmp_seq=1 ttl=255 time=18.423 ms
64 bytes from 192.168.107.147: icmp_seq=2 ttl=255 time=65.569 ms
64 bytes from 192.168.107.147: icmp_seq=3 ttl=255 time=136.458 ms
64 bytes from 192.168.107.147: icmp_seq=4 ttl=255 time=8.176 ms
64 bytes from 192.168.107.147: icmp_seq=5 ttl=255 time=34.045 ms
64 bytes from 192.168.107.147: icmp_seq=6 ttl=255 time=12.747 ms
64 bytes from 192.168.107.147: icmp_seq=7 ttl=255 time=120.082 ms
$ ping 192.168.107.211
PING 192.168.107.211 (192.168.107.211): 56 data bytes
64 bytes from 192.168.107.211: icmp_seq=0 ttl=64 time=242.343 ms
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
64 bytes from 192.168.107.211: icmp_seq=1 ttl=64 time=2209.524 ms
64 bytes from 192.168.107.211: icmp_seq=2 ttl=64 time=1208.365 ms
64 bytes from 192.168.107.211: icmp_seq=3 ttl=64 time=205.347 ms
64 bytes from 192.168.107.211: icmp_seq=6 ttl=64 time=10.068 ms
Request timeout for icmp_seq 7
This file has been truncated, but you can view the full file.
warehouse main $ docker-compose -v
Docker Compose version v2.1.1
warehouse main $ make build
/bin/sh: .state/env/bin/python: No such file or directory
/bin/sh: .state/env/bin/python: No such file or directory
make[1]: Circular requirements/docs.txt <- .state/env/pyvenv.cfg dependency dropped.
make[1]: Circular requirements/lint.txt <- .state/env/pyvenv.cfg dependency dropped.
# Create our Python 3.8 virtual environment
rm -rf .state/env