• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

astronomer / astro-cli / 8c2363f6-9845-4ca7-8bda-ebd394dca990
40%
main: 45%

Build:
Build:
LAST BUILD BRANCH: feat/fix-apc-token-login-flow
DEFAULT BRANCH: main
Ran 22 May 2026 02:02PM UTC
Jobs 1
Files 216
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 May 2026 01:54PM UTC coverage: 39.653% (+0.002%) from 39.651%
8c2363f6-9845-4ca7-8bda-ebd394dca990

Pull #2155

circleci

jeremybeard
Standalone: set PYTHONPATH=AIRFLOW_HOME to match the production image

Standalone mode previously set PYTHONPATH=AIRFLOW_HOME/include only, which
diverged from the Astro runtime Docker image. The runtime image sets
PYTHONPATH=AIRFLOW_HOME (see astro-runtime image/Dockerfile), making every
subdirectory of the project root importable as a namespace package — e.g.
`from include.utils import x` and `from dags.my_blueprints import Extract`.

Because standalone only had include/ on PYTHONPATH, imports that work in
production (and pass `astro deploy --parse`) failed when the same project
was tested locally with `astro dev start --standalone` or
`astro dev pytest --standalone`.

This change aligns standalone with production by setting PYTHONPATH to
AIRFLOW_HOME. Existing `from include.<module> import …` imports continue
to work (include/ is still findable as a namespace package under
AIRFLOW_HOME). Users who relied on flat `import <module>` from include/
will need to switch to the prefixed form, which is what the official
docs already teach (https://www.astronomer.io/docs/learn/airflow-importing-custom-hooks-operators).
Pull Request #2155: Standalone: set PYTHONPATH=AIRFLOW_HOME to match runtime image

6 of 7 new or added lines in 1 file covered. (85.71%)

26202 of 66078 relevant lines covered (39.65%)

9.38 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
71.89
0.06% airflow/standalone.go
Jobs
ID Job ID Ran Files Coverage
1 8c2363f6-9845-4ca7-8bda-ebd394dca990.1 22 May 2026 02:02PM UTC 216
39.65
Source Files on build 8c2363f6-9845-4ca7-8bda-ebd394dca990
  • Tree
  • List 216
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #8C2363F6...
  • Pull Request #2155
  • PR Base - main (#977B0397...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc