GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Tags · CorrelAid/pystatis
Tags
v0.5.5Enhance setup_credentials interactivity and update dependencies (#207) * make setup_credentials interactive per db; fix empty credential check - Replace db_names parameter approach with a y/N prompt per database in the setup loop, removing the need for list validation - Guard check_credentials_are_valid with check_credentials_are_set to avoid a live API call when credentials are empty - Add tests for skipping a db, empty credential guard, and invalid credential error * add justfile with common dev commands * add Python 3.14 to CI test matrix and classifiers * replace mypy with ty for type checking * fix ty type errors: raise TimeoutError on job timeout, add types-requests stubs, remove unused type: ignore * update codecov/codecov-action to v5.5.2 * update astral-sh/setup-uv to v7 * update actions/upload-artifact to v7 * update actions/checkout to v6 * update pytest-cov to v7 * update pylint to v4 * update pytest to v9 * update tabulate to >=0.10,<0.11 * move notebook deps to separate group to fix Python 3.14 Windows CI jupyter/notebook pull in pywin32 which has no wheels for cp314. Move jupyter, jupytext, notebook, nbsphinx from dev to a new notebooks group. Docs jobs install both groups; test and code-quality jobs use dev only. * replace mypy with ty in pre-commit, add hook helpers to justfile Switch pre-commit type checking from mirrors-mypy to a local ty hook (astral-sh/ty has no pre-commit-hooks.yaml yet). Update ruff pre-commit rev to v0.11.2 and pre-commit-hooks to v5.0.0. Add install-hooks and run-hooks recipes to justfile. * fix ty pre-commit hook to only check src directory Scope ty hook to src/ to match CI, avoiding false positives from notebooks and tests. * add db_names param to setup_credentials for non-interactive use Introduce SupportedDb = Literal[...] as single source of truth, derive SUPPORTED_DB from it via get_args. setup_credentials now accepts *db_names to skip the per-database prompt, enabling fully non-interactive setup when credentials are set via env vars. Add test covering the new explicit db_names path. * format * update all tests and re-record all cassettes * prepare v0.5.5 * add documentation for new param in setup_credentials * test before push; use just commands * adjust version in library * improve tests according to review comments * test: filter volatile VCR headers and re-enable fixed test case Strip Date and Content-Disposition from recorded cassettes to reduce re-record noise. Re-enable 52411-02-01-4 test that was previously broken. * fix: rollback invalid credentials on setup_credentials failure Collect inputs before writing to config, save previous values, and restore them if credential validation fails so in-memory state stays clean on error. * deps,ci: add python-dotenv to notebooks group, add contents:read to release workflow python-dotenv is required by nb/00_setup.ipynb but was only in dev group. Add contents:read permission to release workflow for explicit checkout access. * docs: clarify timeout behavior change in 0.5.5 changelog Split the timeout entry into its own bullet to make the user-visible behavior change (TimeoutError instead of silent exit) more prominent. * switch to just command * add test for TimeoutError in get_data_from_resultfile * make setup_credentials transactional and validate db_names Roll back all in-memory config mutations atomically on any error during credential setup. Validate explicit db_names against SUPPORTED_DB before use to raise PystatisConfigError instead of cryptic NoSectionError. * exclude Python 3.14 + Windows from CI matrix numpy has no stable Windows wheel for Python 3.14 yet, causing a fatal access violation on import. Re-add once numpy ships support. --------- Co-authored-by: Michael Aydinbas <[email protected]> PreviousNext
|
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |