From 024b0ead1b0839d3591bad3bdd3a6ab6bd20c381 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Thu, 27 Aug 2026 12:10:55 +0200 Subject: Migrate to uv and Python 3.14 and add MNIST downloader to make the project runnable Context / Problem: setup.py + requirements.txt (Python 3.5) no longer install on modern Python, matplotlib missing from deps, main.py save/load broke on numpy 2.x (inhomogeneous array / allow_pickle), and demo required manual mnist.npy/data files. What: replace setup.py/requirements.txt with pyproject.toml (hatchling, PEP 621, requires-python >=3.10, classifiers 3.10-3.14), add .python-version 3.14 and uv.lock, add MultiLayerPerceptron/download.py (mlp-download) to fetch MNIST from storage.googleapis and generate data/train.npy, data/test.npy, mnist.npy, fix MultiLayerPerceptron/main.py layers class var and pickle handling with minimal changes, ignore .venv and track uv.lock, update README with uv workflow. QA: verified uv sync --all-groups, uv run mlp-download, uv run python -m MultiLayerPerceptron.main loads and trains, ruff check passes. --- MultiLayerPerceptron/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MultiLayerPerceptron/__init__.py') diff --git a/MultiLayerPerceptron/__init__.py b/MultiLayerPerceptron/__init__.py index 0b2f4ea..63c9c50 100644 --- a/MultiLayerPerceptron/__init__.py +++ b/MultiLayerPerceptron/__init__.py @@ -1 +1 @@ -name="multilayer-perceptron" \ No newline at end of file +name="multilayer-perceptron" -- cgit v1.3