From c98c5df63c9e008124ed56fbe7609dd6b8fb359a Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Thu, 6 Nov 2025 13:24:27 +0900 Subject: [PATCH] Update datetime parse helper Allow non T in isotime format, add non T normal datetime parsing --- README.md | 10 ++-- pyproject.toml | 5 +- .../datetime_handling/datetime_helpers.py | 6 ++- tests/integration/fixtures/__init__.py | 0 .../test_datetime_helpers.py | 47 +++++++++++++++++++ 5 files changed, 60 insertions(+), 8 deletions(-) create mode 100644 tests/integration/fixtures/__init__.py diff --git a/README.md b/README.md index 00457c0..5515ccf 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ Have the following setup in `project.toml` ```toml [[tool.uv.index]] -name = "egra-gitea" +name = "opj-pypi" url = "https://git.egplusww.jp/api/packages/PyPI/pypi/simple/" publish-url = "https://git.egplusww.jp/api/packages/PyPI/pypi" explicit = true @@ -60,15 +60,15 @@ explicit = true ```sh uv build -uv publish --index egra-gitea --token +uv publish --index opj-pypi --token ``` -## Test package +## Use package We must set the full index URL here because we run with "--no-project" ```sh -uv run --with corelibs --index egra-gitea=https://git.egplusww.jp/api/packages/PyPI/pypi/simple/ --no-project -- python -c "import corelibs" +uv run --with corelibs --index opj-pypi=https://git.egplusww.jp/api/packages/PyPI/pypi/simple/ --no-project -- python -c "import corelibs" ``` ### Python tests @@ -101,7 +101,7 @@ uv run test-run/