Repository navigation
Done
Labels
enhancementNew feature or request
Description
🤖 eegprep-console cont and eegprep-console epoch load the two sample recordings only from a source checkout. Arno asked that they also come with the full install, and pull request #837 does not do that part.
- Where it stands: after [GUI] Load the continuous or epoched sample at console startup #837 the two recordings (
eeglab_dataandeeglab_data_epochs_ica, each a.setand a.fdtfile, 8.4 MB together, 7.3 MB once compressed) are out of the wheel. In an installed package,eegprep-console contstarts without a dataset and prints where to get the files. - What Arno asked (November 28 and 29, 2026): "Yes, it only installs with a
pip install --full, not by default. Make the necessary change then merge." and "It's fine, we should only be added with --full." - Why [GUI] Load the continuous or epoched sample at console startup #837 could not do it: the command is
pip install "eegprep[full]", and an extra can only add other packages. It cannot add files of the same wheel, so the recordings are either in every install or in none. - Related: eegprep-console: start with the sample epoched or continuous dataset, like
eeglab epochandeeglab cont#824 (the request to start the console with the sample datasets), [GUI] Load the continuous or epoched sample at console startup #837 (the pull request that loads them from a source checkout).
Needs Arno
One question needs your answer. You can reply with the letter, for example "1a".
- How the
fullinstall should bring the two sample recordings. Issue eegprep-console: start with the sample epoched or continuous dataset, likeeeglab epochandeeglab cont#824 eegprep-console: start with the sample epoched or continuous dataset, likeeeglab epochandeeglab contand pull request [GUI] Load the continuous or epoched sample at console startup #837 [GUI] Load the continuous or epoched sample at console startup. Today they load from a source checkout only, and nothing is implemented until you choose.- (a) A small separate package on PyPI (for example
eegprep-sample-data, 7.3 MB) that thefullextra requires. This is the only option that does exactly what you wrote: the recordings come withpip install "eegprep[full]"and not by default, and they work offline. It costs a second project on PyPI that someone must create and publish once (you or Suraj, who handles the PyPI packaging), and again only if the recordings change. The main wheel keeps its size. The browser version is not touched as long as it does not installfull. Recommended. - (b) A download at first use.
eegprep-console contorepochfetches the two files from GitHub into a cache folder the first time, checks them, and reuses them afterwards. Nobody publishes anything and the wheel keeps its size. It needs the network the first time, it adds download code to maintain, and an installed package cannot reliably tell that it was installed withfull, so in practice the download would work for every install. The browser version is not concerned, since it has no console. - (c) Leave them to the source checkout, as after [GUI] Load the continuous or epoched sample at console startup #837. It costs nothing. People who install from PyPI keep the message that tells them to clone the repository or to download the two files by hand.
- (a) A small separate package on PyPI (for example
— orchestrator
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
claude commentedon Nov 29, 2026
🤖 Plan:
Not actionable yet, so no PR. The issue has no definition of done until question 1 is answered, and #837, which this builds on, is still open and unmerged. Each option needs different work: (a) a new PyPI project plus a
fullextra entry inpyproject.tomland a lookup in the console startup path; (b) a cached download with checksum in the console startup path; (c) nothing.Needed to proceed: Arno's letter for question 1, #837 merged, and for (a) the PyPI package name and who publishes it.
arnodelorme commentedon Nov 29, 2026
Arno chose option (a) in his email of November 29, 2026: "Yes, this is fine. ... Create and release that package."
eegprep-sample-data(the name is free on PyPI, checked today) that holds the two sample recordings (continuous and epoched,.setand.fdt, about 7.3 MB) and exposes their folder, for exampleeegprep_sample_data.path().fullextra of EEGPrep, and makeeegprep-console cont|epochlook for it first when the source checkout'ssample_data/is absent; keep the current message when neither is there.~/.pypirc, user__token__); never print it. If upload is refused, say so here under "## Needs Arno" with the exact error.developfor the EEGPrep side (branchagent/issue-866), with a test that installs the built wheel in a fresh environment and starts the console with both datasets.#837 was merged today, so nothing blocks this any more.
— orchestrator
arnodelorme commentedon Nov 29, 2026
Arno confirmed on November 29, 2026 that the AI publishes to PyPI itself. His words: "I mean, you, the AI, should have access. There is code, for example, in EEGPrep to push to PyPi. Check and create project/release."
pypi(variableTWINE_PASSWORD), not~/.pypirc, which holds no password on this Mac. Run the upload through the runner of the skillinfisical-secrets:python3 ~/.agents/skills/infisical-secrets/scripts/runner.py run-profile --cwd <repo> pypi -- <upload command>. Never print the token.eegprep-sample-dataon its first upload.scripts/release_packages.py --publish(it expectsUV_PUBLISH_TOKENorUV_PUBLISH_PASSWORD); for the new package,uv buildthenuvx twine upload dist/*with the profile'sTWINE_PASSWORDandTWINE_USERNAME=__token__is enough. Runtwine check --strictfirst.fullextra, the console lookup, one pull request ondevelopfromagent/issue-866. Report the PyPI project link here once it is live.— orchestrator
arnodelorme commentedon Nov 29, 2026
🤖 # Research
run_consoleloadscont/epochonly fromSAMPLE_DATA_DIR, the checkout'ssample_data/, and only whensrc/eegprepsits beside it. An installed package never has that folder, and thefullextra lists only the four library extras.Relevant code
src/eegprep/functions/adminfunc/console.py#L46-L55: checkout path and missing messagesrc/eegprep/functions/adminfunc/console.py#L793-L803: sample lookup at startuppyproject.toml#L87-L92:fullextratests/test_optional_extras.py#L86: pins thefullcontentspackages/eegprep-lean/pyproject.toml: precedent for a second package in this repositoryProposed Fix
New project
packages/eegprep-sample-data/(setuptools, no dependencies, version 1.0.0) holding byte-identical copies ofeeglab_data.set/.fdtandeeglab_data_epochs_ica.set/.fdt(same git blobs, so the repository does not grow) andeegprep_sample_data.path(). Build,twine check --strict, upload with the Infisicalpypiprofile. Then"eegprep-sample-data>=1.0.0"goes infull(and inall, which already lists every part offull),uv.lockis refreshed, andrun_consoletries the checkout first, theneegprep_sample_data.path(), then logs the current message pluspip install "eegprep[full]". Test: build both wheels, install them withuvinto a fresh environment, and start the console incontandepoch.arnodelorme commentedon Nov 29, 2026
🤖 Published and ready for review.
twine check --strictpassed, uploaded with the Infisicalpypiprofile). The SHA-256 hashes on PyPI match the local build.agent/issue-866. Every CI check passed: tests on Ubuntu with Python 3.12 and 3.13, macOS, and Windows, plus base install, Pyodide, docs, ruff and ty, and pre-commit. The automated review found nothing blocking.test_installed_wheels_open_both_sample_recordings_from_eegprep_sample_databuilds both wheels, installs them in a freshuv venv(no source checkout), and starts the console incont(32 × 30504) andepoch(32 × 384 × 80), with both loaded from the package. It also fails if the package's copies differ fromsample_data/.allgets the package too, since it already listed every part offull. The message for missing recordings now namespip install "eegprep[full]"andpip install eegprep-sample-databefore the clone instructions..gitignoreignores*.setand*.fdt, so two negation lines let the package's four files be tracked. They are the same git blobs as insample_data/, so the repository does not grow.uv.lockgains only the new package (13 lines).arnodelorme commentedon Nov 29, 2026
Done: Published eegprep-sample-data 1.0.0 on PyPI (https://pypi.org/project/eegprep-sample-data/1.0.0/) and opened pull request 883, which adds it to the full extra so eegprep-console cont and epoch open the sample recordings from an installed EEGPrep. All CI checks pass, waiting for review.
Pull request: #883
— agent, reported with orch done