Skip to content

Commit 5a8569b

Browse files
committed
Add test-release target and dependency fixes
1 parent e57d40d commit 5a8569b

File tree

5 files changed

+19
-1
lines changed

5 files changed

+19
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: install test build dist sdist bdist_wheel upload upload-test clean
1+
.PHONY: install test build dist sdist bdist_wheel upload upload-test test-release clean
22

33
install:
44
pip install -r requirements.txt
@@ -24,5 +24,8 @@ upload: build
2424
upload-test: build
2525
twine upload --repository testpypi dist/*
2626

27+
test-release: clean build
28+
twine upload --repository testpypi dist/*
29+
2730
clean:
2831
rm -rf build/ dist/ *.egg-info **/*.egg-info

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ Use the provided `Makefile` to build and distribute the package. Typical tasks:
156156
make build # create sdist and wheel
157157
make dist # alias for make build
158158
make upload-test # upload the distribution to Test PyPI
159+
make test-release # clean, build, and upload to Test PyPI
159160
```
160161

161162

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"agents": ["🧠 Mia", "🎸 JamAI"],
3+
"narrative": "Added a test-release target to automate cleaning, building, and uploading to TestPyPI. Updated docs and dependencies so builds succeed.",
4+
"routing": {
5+
"files": ["Makefile", "README.md", "requirements.txt"],
6+
"branch": "work"
7+
},
8+
"timestamp": "2506151422",
9+
"user_input": "make the necessary make test-release\nthat would wrap all needed to publish to the pypi test release",
10+
"scene": "Before: only manual upload-test existed. After: running `make test-release` cleans, builds, and uploads to TestPyPI (fails without credentials).",
11+
"glyph_sequence": "⚡🧠🎸"
12+
}

narrative-map.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
- Fixed configuration loading and tests.
55
- Added TestPyPI upload target and updated docs.
66
- Added `dist` Makefile target and documented distribution steps.
7+
- Introduced `test-release` Makefile target for full build and TestPyPI upload.

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ charset-normalizer
99
async_timeout
1010
PyYAML
1111
twine
12+
wheel

0 commit comments

Comments
 (0)