adventofcode 25.11__tar.gz → 25.12__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {adventofcode-25.11 → adventofcode-25.12}/.pre-commit-config.yaml +1 -1
- {adventofcode-25.11 → adventofcode-25.12}/CHANGELOG.md +6 -0
- {adventofcode-25.11 → adventofcode-25.12}/PKG-INFO +1 -1
- adventofcode-25.12/src/adventofcode/__about__.py +1 -0
- {adventofcode-25.11 → adventofcode-25.12}/src/adventofcode/cli.py +5 -1
- adventofcode-25.11/src/adventofcode/__about__.py +0 -1
- {adventofcode-25.11 → adventofcode-25.12}/.github/workflows/publish.yml +0 -0
- {adventofcode-25.11 → adventofcode-25.12}/.gitignore +0 -0
- {adventofcode-25.11 → adventofcode-25.12}/LICENSE +0 -0
- {adventofcode-25.11 → adventofcode-25.12}/README.md +0 -0
- {adventofcode-25.11 → adventofcode-25.12}/pyproject.toml +0 -0
- {adventofcode-25.11 → adventofcode-25.12}/screenshot.png +0 -0
- {adventofcode-25.11 → adventofcode-25.12}/src/__init__.py +0 -0
- {adventofcode-25.11 → adventofcode-25.12}/src/adventofcode/__init__.py +0 -0
- {adventofcode-25.11 → adventofcode-25.12}/src/adventofcode/utils.py +0 -0
- {adventofcode-25.11 → adventofcode-25.12}/tests/__init__.py +0 -0
- {adventofcode-25.11 → adventofcode-25.12}/tests/test_adventofcode.py +0 -0
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Calendar Versioning](https://calver.org).
|
|
7
7
|
|
|
8
|
+
## [25.12]
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
* Fixed running last day with no part 2.
|
|
13
|
+
|
|
8
14
|
## [25.11]
|
|
9
15
|
|
|
10
16
|
### Fixed
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: adventofcode
|
|
3
|
-
Version: 25.
|
|
3
|
+
Version: 25.12
|
|
4
4
|
Summary: Helper utilities for solving Advent of Code puzzles
|
|
5
5
|
Project-URL: Documentation, https://github.com/anze3db/adventofcode#readme
|
|
6
6
|
Project-URL: Issues, https://github.com/anze3db/adventofcode/issues
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "25.12"
|
|
@@ -613,10 +613,11 @@ def run(filepath: Path, benchmark: bool = False) -> None: # noqa: FBT001, FBT00
|
|
|
613
613
|
match = re.match(r"(\d\d)", filepath.stem)
|
|
614
614
|
if not match:
|
|
615
615
|
return
|
|
616
|
+
day = int(match.group(1))
|
|
616
617
|
aoc = AoC(
|
|
617
618
|
part_1=module.part1,
|
|
618
619
|
part_2=module.part2,
|
|
619
|
-
day=
|
|
620
|
+
day=day,
|
|
620
621
|
year=AOC_YEAR,
|
|
621
622
|
)
|
|
622
623
|
if hasattr(module, "part1_asserts"):
|
|
@@ -629,6 +630,9 @@ def run(filepath: Path, benchmark: bool = False) -> None: # noqa: FBT001, FBT00
|
|
|
629
630
|
aoc.submit_p1_benchmark()
|
|
630
631
|
else:
|
|
631
632
|
aoc.submit_p1()
|
|
633
|
+
if (AOC_YEAR < 2025 and day == 25) or (AOC_YEAR >= 2025 and day == 12):
|
|
634
|
+
console.log("[green]No part 2 for Day 25 ⭐[/green]\n")
|
|
635
|
+
return
|
|
632
636
|
if hasattr(module, "part2_asserts"):
|
|
633
637
|
for test_input, expected in module.part2_asserts:
|
|
634
638
|
aoc.assert_p2(test_input, expected)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "25.11"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|