indico-cli 0.4.2__tar.gz → 0.4.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. indico_cli-0.4.4/.gitlab-ci.yml +50 -0
  2. {indico_cli-0.4.2 → indico_cli-0.4.4}/PKG-INFO +1 -1
  3. {indico_cli-0.4.2 → indico_cli-0.4.4}/indico_cli/_version.py +2 -2
  4. {indico_cli-0.4.2 → indico_cli-0.4.4}/indico_cli/indico_api.py +335 -201
  5. indico_cli-0.4.4/tests/test_write_commands.py +201 -0
  6. indico_cli-0.4.2/.gitlab-ci.yml +0 -18
  7. {indico_cli-0.4.2 → indico_cli-0.4.4}/.gitignore +0 -0
  8. {indico_cli-0.4.2 → indico_cli-0.4.4}/CLAUDE.md +0 -0
  9. {indico_cli-0.4.2 → indico_cli-0.4.4}/LICENSE +0 -0
  10. {indico_cli-0.4.2 → indico_cli-0.4.4}/README.md +0 -0
  11. {indico_cli-0.4.2 → indico_cli-0.4.4}/docs/superpowers/plans/2026-03-24-search-results-and-error-messages.md +0 -0
  12. {indico_cli-0.4.2 → indico_cli-0.4.4}/docs/superpowers/specs/2026-03-24-search-results-and-error-messages-design.md +0 -0
  13. {indico_cli-0.4.2 → indico_cli-0.4.4}/indico_cli/__init__.py +0 -0
  14. {indico_cli-0.4.2 → indico_cli-0.4.4}/indico_cli/cli.py +0 -0
  15. {indico_cli-0.4.2 → indico_cli-0.4.4}/indico_cli/utils.py +0 -0
  16. {indico_cli-0.4.2 → indico_cli-0.4.4}/pyproject.toml +0 -0
  17. {indico_cli-0.4.2 → indico_cli-0.4.4}/skills/indico-skill/SKILL.md +0 -0
  18. {indico_cli-0.4.2 → indico_cli-0.4.4}/tests/__init__.py +0 -0
  19. {indico_cli-0.4.2 → indico_cli-0.4.4}/tests/test_error_messages.py +0 -0
  20. {indico_cli-0.4.2 → indico_cli-0.4.4}/tests/test_format_search_result.py +0 -0
  21. {indico_cli-0.4.2 → indico_cli-0.4.4}/tests/test_get_files.py +0 -0
  22. {indico_cli-0.4.2 → indico_cli-0.4.4}/uv.lock +0 -0
@@ -0,0 +1,50 @@
1
+ # Use the acc-py CI templates documented at
2
+ # https://acc-py.web.cern.ch/gitlab-mono/acc-co/devops/python/acc-py-gitlab-ci-templates/docs/templates/master/
3
+ include:
4
+ - project: acc-co/devops/python/acc-py-gitlab-ci-templates
5
+ file: v2/python.gitlab-ci.yml
6
+
7
+ variables:
8
+ project_name: indico_cli
9
+
10
+ # The acc-py build/publish jobs run on the Acc-Py 2023.06 image (Python 3.11).
11
+ # indico-cli is a pure-Python package, so the 3.11 builder still produces a
12
+ # valid py3-none-any wheel even though the package requires Python >= 3.12 at
13
+ # runtime. We therefore build/publish on 3.11 and skip the install/test jobs,
14
+ # which would trip on the requires-python gate.
15
+ PY_VERSION: '3.11'
16
+ ACC_PY_BASE_IMAGE_TAG: '2023.06'
17
+
18
+ # hatch-vcs derives the version from git tags, so the build/publish jobs need
19
+ # the full history and tags rather than a shallow checkout.
20
+ GIT_DEPTH: 0
21
+
22
+ # Build a source distribution for indico-cli.
23
+ build_sdist:
24
+ extends: .acc_py_build_sdist
25
+
26
+ # Build a wheel for indico-cli.
27
+ build_wheel:
28
+ extends: .acc_py_build_wheel
29
+
30
+ # Release the source distribution and the wheel to the acc-py package index,
31
+ # only on git tag. This is the index used internally (acc-py-repo.cern.ch).
32
+ publish:
33
+ extends: .acc_py_publish
34
+
35
+ # Also release to public PyPI on git tag.
36
+ publish-pypi:
37
+ stage: deploy
38
+ image: python:3.12-slim
39
+ rules:
40
+ - if: $CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+/
41
+ script:
42
+ - apt-get update && apt-get install -y git
43
+ - git fetch --tags
44
+ - pip install build twine
45
+ - python -m build
46
+ - twine upload --skip-existing dist/*
47
+ variables:
48
+ TWINE_USERNAME: __token__
49
+ TWINE_PASSWORD: $PYPI_API_TOKEN
50
+ GIT_DEPTH: 0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: indico-cli
3
- Version: 0.4.2
3
+ Version: 0.4.4
4
4
  Summary: CLI tool for interacting with Indico event management systems
5
5
  Project-URL: Repository, https://gitlab.cern.ch/cern-agent-skills/indico-cli
6
6
  License: MIT
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '0.4.2'
22
- __version_tuple__ = version_tuple = (0, 4, 2)
21
+ __version__ = version = '0.4.4'
22
+ __version_tuple__ = version_tuple = (0, 4, 4)
23
23
 
24
24
  __commit_id__ = commit_id = None