Skip to content

Commit bd10ac1

Browse files
committed
wip
1 parent 3f891be commit bd10ac1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

2020/day16/day16.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
fields = []
1818
for line in fields_data.splitlines():
19-
name, a, b, c, d = re.match("^([\w ]+): (\d+)-(\d+) or (\d+)-(\d+)$", line).groups()
19+
name, a, b, c, d = re.match(r"^([\w ]+): (\d+)-(\d+) or (\d+)-(\d+)$", line).groups()
2020
a, b, c, d = map(int, (a, b, c, d))
2121
fields.append((name, a, b, c, d))
2222

scripts/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN apt-get install -y z3
1313
RUN apt-get install -y libssl-dev liblzma-dev
1414

1515
# seems to be mandatory to compile Python 3.13
16-
RUN apt-get install -y libreadline-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev
16+
RUN apt-get install -y libreadline-dev libncursesw5-dev libsqlite3-dev tk-dev libgdbm-dev libgdbm-compat-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev
1717

1818
# required to build shapely and numpy, if needed
1919
RUN apt-get install -y libgeos-dev libopenblas-dev

scripts/runall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def load_data(filter_year, filter_user, filter_yearday):
239239
inputs = defaultdict(dict)
240240
solutions = defaultdict(dict)
241241

242-
for f in Path("data").rglob("*.in"):
242+
for f in sorted(Path("data").rglob("*.in")):
243243
if f.name.startswith("._"):
244244
continue
245245

0 commit comments

Comments
 (0)