Skip to content

Commit 34f3072

Browse files
author
Ben Dickinson
authored
Make sure /app is always in sys.path (#234)
* Make sure /app is always in sys.path * Add CHANGELOG entry
1 parent 09ef4d4 commit 34f3072

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
## [Unreleased]
44

5+
### Fixed
6+
57
- Switch to the `poetry-core` build backend ([#232](https://github.com/torchbox/django-pattern-library/pull/232))
8+
- Ensure the project root is on `sys.path` so tests etc. can be run in by Docker Compose ([#233](https://github.com/torchbox/django-pattern-library/issues/233), [#234](https://github.com/torchbox/django-pattern-library/pull/234))
69

710
## [1.0.1](https://github.com/torchbox/django-pattern-library/releases/tag/v1.0.1) - 2023-08-19
811

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ RUN useradd --create-home dpl && \
77
chown -R dpl:dpl /venv/ /app/
88

99
ENV PATH=/venv/bin:/home/dpl/.local/bin:$PATH \
10+
PYTHONPATH=/app/ \
1011
VIRTUAL_ENV=/venv/ \
1112
DJANGO_SETTINGS_MODULE=tests.settings.dev
1213

0 commit comments

Comments
 (0)