Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linode-cli for openSUSE:Factory checked in at 2026-03-03 15:31:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/linode-cli (Old) and /work/SRC/openSUSE:Factory/.linode-cli.new.29461 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "linode-cli" Tue Mar 3 15:31:43 2026 rev:7 rq:1335922 version:5.65.0 Changes: -------- --- /work/SRC/openSUSE:Factory/linode-cli/linode-cli.changes 2025-11-06 18:13:35.092377304 +0100 +++ /work/SRC/openSUSE:Factory/.linode-cli.new.29461/linode-cli.changes 2026-03-03 15:32:33.733083821 +0100 @@ -1,0 +2,57 @@ +Wed Feb 18 03:37:38 UTC 2026 - Steve Kowalik <[email protected]> + +- Update to 5.65.0: + * Built from Linode API spec 4.215.0-patch.1 + ## New Features + * Use generic cli args for get-kubeconfig plugin + * Add --raw-body argument for POST and PUT requests + * Configure Python `logging` level when debug flag is specified; add debug + logs to bake command + * Consume linode-api-docs/openapi.json rather than openapi.yaml + * Sort options in configuration prompts + * Override placement group view to display members + * Add support for loading JSON OpenAPI spec files + * Improve the readability of CLI help page and table outputs + * Move build configuration from setup.py to pyproject.toml + * Add support for user-defined prefixes in file uploads, enabling obj + subdirectory uploads through command: linode obj put + * new: Display full path in the header for nested columns + * ref: Remove logic for resolving version from tag; failover to v0.0.0 + * Replace terminaltables with rich + * migrate unittest to pytest + * Migrate the obj plugin to boto3 + * Added linode and lin aliases + * Add completion support for the FISH shel + * Add interactive firewall rule editor plugin + * Add `--page-size` argument for list modules + ## Bug Fixes + * Don't show custom_aliases as a user + * Fix support for deeply nested oneOfs; group nested oneOf options on help + pages + * Allow specifying explicitly empty dicts and lists for object arguments + * Fix failure on OBJ plugin when CLI is not configured + * Address incompatibility between boto3 >= 1.36.x and third-party + S3-compatible storage providers + * Add Paginator to Recursively Delete All Objects Before Delete Bucket + * new: Address breaking change in MDS plugin sshkeys command + * Resolve issues with nested explicit list and null value serialization + * Resolve issue when not specifying all keys for object list entries + * Disable attribute depth limit for JSON outputs + * Resolve issue with formatting on nested fields in JSON mode + * Add default values for database engines + * Add packaging to install_requires and drop version specifier + * Remove usage of deprecated distutils version system + * Support inheriting shared arguments in plugins + * Move consistent fixtures to conftest.py + * fix: Add support for --help pages on aliased commands + * Check for unrestricted account access during configuration step + * Resolve issue that caused CLI to be built with an outdated OpenAPI spec + version +- Use the shiny new create-version Makefile rule. +- We only need to bake once. +- Run the testsuite. +- Switch to the JSON openapi specification. +- Refreshed patch 0001-Remove-shebang-from-non-executable-files.patch +- Remove Python 2 leftovers. + +------------------------------------------------------------------- Old: ---- linode-cli-5.25.0.tar.gz openapi.yaml New: ---- linode-cli-5.65.0.tar.gz openapi.json ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ linode-cli.spec ++++++ --- /var/tmp/diff_new_pack.SeMWwc/_old 2026-03-03 15:32:34.585119115 +0100 +++ /var/tmp/diff_new_pack.SeMWwc/_new 2026-03-03 15:32:34.589119281 +0100 @@ -1,7 +1,7 @@ # # spec file for package linode-cli # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,37 +17,40 @@ %define cli_name linode-cli -%bcond_without python2 Name: linode-cli -Version: 5.25.0 +Version: 5.65.0 Release: 0 Summary: The Linode command-line interface License: BSD-3-Clause URL: https://github.com/linode/linode-cli -Source: https://github.com/linode/linode-cli/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz -Source1: openapi.yaml +Source: https://github.com/linode/linode-cli/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1: openapi.json # PATCH-FIX-OPENSUSE 0001-Remove-shebang-from-non-executable-files.patch Patch0: 0001-Remove-shebang-from-non-executable-files.patch BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module boto3} +BuildRequires: %{python_module linode-metadata >= 0.3} +BuildRequires: %{python_module openapi3} +BuildRequires: %{python_module packaging} BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest-mock} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytimeparse} +BuildRequires: %{python_module requests-mock} BuildRequires: %{python_module requests} +BuildRequires: %{python_module rich} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module terminaltables} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with python2} -BuildRequires: python-enum34 -BuildRequires: python2-future -%endif Requires: python-PyYAML +Requires: python-linode-metadata >= 0.3 +Requires: python-openapi3 +Requires: python-packaging +Requires: python-pytimeparse Requires: python-requests -Requires: python-terminaltables -%ifpython2 -Requires: python-enum34 -Requires: python2-future -%endif +Requires: python-rich Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch @@ -70,13 +73,13 @@ %autosetup -p1 %build -# harcode version to prevent calling out to git during build -echo "#!/bin/sh -echo %version" > version - -# bake data files, output with different name based on the python version -%python_exec -m linodecli bake "%{SOURCE1}" --skip-config -cp data-* linodecli/ +LINODE_CLI_VERSION="%{version}" make create-version + +# bake data file +python3 -m linodecli bake "%{SOURCE1}" --skip-config +cp data-3 linodecli/ +# generate bash completion +python3 -m linodecli completion bash > completion.bash # run the actual build %pyproject_wheel @@ -84,25 +87,38 @@ %install %pyproject_install %python_clone -a %{buildroot}%{_bindir}/%{cli_name} +%python_clone -a %{buildroot}%{_bindir}/lin +%python_clone -a %{buildroot}%{_bindir}/linode -# move installed bash completions to proper location +# install generated bash completion to proper location install -d %{buildroot}%{_datarootdir}/bash-completion/completions -mv %{buildroot}%{python_sitelib}%{_sysconfdir}/bash_completion.d/%{cli_name}.sh %{buildroot}%{_datarootdir}/bash-completion/completions/%{cli_name} -%python_expand rm -r %{buildroot}%{$python_sitelib}%{_sysconfdir} +mv completion.bash %{buildroot}%{_datarootdir}/bash-completion/completions/%{cli_name} + %python_expand %fdupes %{buildroot}%{$python_sitelib} %post %python_install_alternative %{cli_name} +%python_install_alternative lin +%python_install_alternative linode %postun %python_uninstall_alternative %{cli_name} +%python_uninstall_alternative lin +%python_uninstall_alternative linode + +%check +export LINODE_CLI_TEST_MODE=1 +# requires network +%pytest tests/unit -k 'not test_nonexisting_id' %files %{python_files} %python_alternative %{_bindir}/%{cli_name} +%python_alternative %{_bindir}/lin +%python_alternative %{_bindir}/linode %{python_sitelib}/linodecli %{python_sitelib}/linode_cli-%{version}.dist-info %files -n %{name}-bash-completion %dir %{_datarootdir}/bash-completion/completions/ -%{_datarootdir}/bash-completion/completions/%{cli_name} +%{_datarootdir}/bash-completion/completions/%{name} ++++++ 0001-Remove-shebang-from-non-executable-files.patch ++++++ --- /var/tmp/diff_new_pack.SeMWwc/_old 2026-03-03 15:32:34.617120441 +0100 +++ /var/tmp/diff_new_pack.SeMWwc/_new 2026-03-03 15:32:34.621120607 +0100 @@ -1,10 +1,10 @@ -diff --color -ur linode-cli-5.25.0.orig/linodecli/__init__.py linode-cli-5.25.0/linodecli/__init__.py ---- linode-cli-5.25.0.orig/linodecli/__init__.py 2022-10-31 21:37:30.000000000 +0100 -+++ linode-cli-5.25.0/linodecli/__init__.py 2022-11-14 15:09:51.404846258 +0100 -@@ -1,5 +1,3 @@ +Index: linode-cli-5.65.0/linodecli/__init__.py +=================================================================== +--- linode-cli-5.65.0.orig/linodecli/__init__.py ++++ linode-cli-5.65.0/linodecli/__init__.py +@@ -1,4 +1,3 @@ -#!/usr/local/bin/python3 -- - import argparse - import os - from importlib import import_module + """ + Argument parser for the linode CLI + """ ++++++ linode-cli-5.25.0.tar.gz -> linode-cli-5.65.0.tar.gz ++++++ ++++ 38934 lines of diff (skipped) ++++++ openapi.json ++++++ ++++ 151597 lines (skipped)
