Skip to content

Instantly share code, notes, and snippets.

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
https://gist.github.com/jaraco/87305e041d480e1ea5fa65e72ddcba2c
https://github.com/slingdata-io/sling-cli/issues/130
@ docker run -it jaraco/multipy-tox
# import os
... def is_docker():
... def text_in_file(text, filename):
... try:
... with open(filename, encoding='utf-8') as lines:
... return any(text in line for line in lines)
... except OSError:
... return False
... cgroup = '/proc/self/cgroup'
--- a/mercurial/dirstate.py
+++ b/mercurial/dirstate.py
@@ -70,68 +70,23 @@ class rootcache(filecache):
def check_invalidated(func):
- """check that the func is called with a non-invalidated dirstate
-
- The dirstate is in an "invalidated state" after an error occured during its
- modification and remains so until we exited the top level scope that framed