Skip to content

Instantly share code, notes, and snippets.

~ @ docker run python:3.12 ls /.dockerenv
Unable to find image 'python:3.12' locally
3.12: Pulling from library/python
1e92f3a395ff: Pull complete
374850c6db17: Pull complete
421c44fab18b: Pull complete
b9717a38adec: Pull complete
51795e508cf7: Pull complete
bc54e015d093: Pull complete
3822d8fd7491: Pull complete
cpython gh-117348/import-perf @ ./python.exe -X importtime -c 'import configparser' 2>1 | grep -E '(cumul|configparser)'
import time: self [us] | cumulative | imported package
import time: 7573 | 15790 | configparser
cpython gh-117348/import-perf @ ./python.exe -X importtime -c 'import configparser' 2>1 | grep -E '(cumul|configparser)'
import time: self [us] | cumulative | imported package
import time: 1760 | 10852 | configparser
cpython gh-117348/import-perf @ git stash pop
On branch gh-117348/import-perf
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
skeleton
All checks passed!
oathtool
All checks passed!
pytest-perf
All checks passed!
keyrings.alt
jaraco.collections
All checks passed!
jaraco.xkcd
All checks passed!
keyring
All checks passed!
pytest-perf
pip-run jaraco.develop -- -m jaraco.develop.projects-run -t 'not fork' -- bash -c 'sed -i -e /ignore_missing_imports/d mypy.ini; tox -- -p no
:cov -k mypy'
librarypaste
.pkg: install_requires> python -I -m pip install 'setuptools>=56' 'setuptools_scm[toml]>=3.4.1'
.pkg: _optional_hooks> python '/Users/jaraco/Library/Application Support/pipx/venvs/tox/lib/python3.12/site-packages/pyproject_api/_backend.py' True setuptools.build_meta
.pkg: get_requires_for_build_editable> python '/Users/jaraco/Library/Application Support/pipx/venvs/tox/lib/python3.12/site-packages/pyproject_api/_backend.py' True setuptools.build_meta
py: packaging backend failed (code=error: Multiple top-level packages discovered in a flat-layout: ['uptests', 'librarypaste'].
To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.
jaraco.zstd
All checks passed!
jaraco.net
conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/devices/__init__.py:9:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/devices/darwin.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/devices/win32.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/dns.py:3:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/dns.py:85:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
airflow 72d19565d8 @ py -m pytest ./dev/breeze/tests -k test_get_provider_requirements --pdb
============================================================== test session starts ===============================================================
platform darwin -- Python 3.8.18, pytest-7.4.4, pluggy-1.4.0 -- /Users/jaraco/draft/airflow/.venv/bin/python
cachedir: .pytest_cache
rootdir: /Users/jaraco/draft/airflow/dev/breeze
configfile: pyproject.toml
plugins: anyio-4.3.0, xdist-3.5.0
collected 271 items / 270 deselected / 1 selected
dev/breeze/tests/test_packages.py::test_get_provider_requirements FAILED [100%]
#0 building with "multi" instance using docker-container driver
#1 [airflow-webserver internal] load build definition from Dockerfile
#1 transferring dockerfile: 3.50kB done
#1 DONE 0.0s
#2 [airflow-webserver internal] load metadata for docker.io/apache/airflow:slim-2.8.1-python3.11
#2 DONE 0.2s
#3 [airflow-webserver internal] load .dockerignore
#0 building with "multi" instance using docker-container driver
#1 [airflow-webserver internal] load build definition from Dockerfile
#1 transferring dockerfile: 3.50kB done
#1 DONE 0.0s
#2 [airflow-webserver internal] load metadata for docker.io/apache/airflow:slim-2.8.1-python3.11
#2 DONE 0.2s
#3 [airflow-webserver internal] load .dockerignore
diff --git a/airflow/Dockerfile b/airflow/Dockerfile
index 1dffaba..a109ca1 100644
--- a/airflow/Dockerfile
+++ b/airflow/Dockerfile
@@ -2,7 +2,7 @@
FROM apache/airflow:slim-2.8.1-python3.11
ARG DUCKDB_VERSION=0.9.2
-ARG SLING_VERSION=1.0.73
+ARG SLING_VERSION=1.1.2