commit python-ruff for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-ruff for openSUSE:Factory checked in at 2023-11-20 21:19:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ruff (Old) and /work/SRC/openSUSE:Factory/.python-ruff.new.2521 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-ruff" Mon Nov 20 21:19:17 2023 rev:8 rq:1127488 version:0.1.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ruff/python-ruff.changes 2023-11-14 21:42:20.483084786 +0100 +++ /work/SRC/openSUSE:Factory/.python-ruff.new.2521/python-ruff.changes 2023-11-20 21:19:54.075582922 +0100 @@ -1,0 +2,65 @@ +Sun Nov 19 03:53:46 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com> + +- switch to libalternatives +- drop cargo_config +- update _service for new cargo-vendor service +- update to 0.1.6 + * Preview features + * [flake8-boolean-trap] Extend boolean-type-hint-positional-argument (FBT001) to include booleans in unions + * [flake8-pie] Extend reimplemented-list-builtin (PIE807) to dict reimplementations + * [flake8-pie] Extend unnecessary-pass (PIE790) to include ellipses (...) + * [flake8-pie] Implement fix for unnecessary-spread (PIE800) + * [flake8-quotes] Implement unnecessary-escaped-quote (Q004) + * [pycodestyle] Implement fix for multiple-spaces-after-keyword (E271) and multiple-spaces-before-keyword (E272) + * [pycodestyle] Implement fix for multiple-spaces-after-operator (E222) and multiple-spaces-before-operator (E221) + * [pyflakes] Extend is-literal (F632) to include comparisons against mutable initializers + * [pylint] Implement redefined-argument-from-local (PLR1704) + * [pylint] Implement fix for unnecessary-lambda (PLW0108) + * [refurb] Implement if-expr-min-max (FURB136) + * [refurb] Implement math-constant (FURB152) + * Rule changes + * [flake8-annotations] Add autotyping-like return type inference for annotation rules + * [flake8-future-annotations] Implement fix for future-required-type-annotation (FA102) + * [flake8-implicit-namespace-package] Avoid missing namespace violations in scripts with shebangs + * [pydocstyle] Update over-indentation (D208) to preserve indentation offsets when fixing overindented lines + * [pyupgrade] Refine timeout-error-alias (UP041) to remove false positives + * Formatter + * Fix instability in await formatting with fluent style + * Compare formatted and unformatted ASTs during formatter tests + * Preserve trailing semicolon for Notebooks + * CLI + * Improve debug printing for resolving origin of config settings + * Write unchanged, excluded files to stdout when read via stdin + * Configuration + * [isort] Support disabling sections with no-sections = true + * [pep8-naming] Support local and dynamic class- and static-method decorators + * [pydocstyle] Allow overriding pydocstyle convention rules + * Bug fixes + * Avoid syntax error via importing trio.lowlevel + * Omit unrolled augmented assignments in PIE794 + * Slice source code instead of generating it for EM fixes + * Allow whitespace around colon in slices for whitespace-before-punctuation (E203) + * Use function range for no-self-use + * F-strings doesn't contain bytes literal for PLW0129 + * Improve detection of TYPE_CHECKING blocks imported from typing_extensions or _typeshed + * Treat display as a builtin in IPython + * Avoid FURB113 autofix if comments are present + * Consider the new f-string tokens for flake8-commas + * Remove erroneous bad-dunder-name reference + * Avoid recommending Self usages in metaclasses + * Detect runtime-evaluated base classes defined in the current file + * Avoid inserting trailing commas within f-strings + * Remove incorrect deprecation label for stdout and stderr + * Fix unnecessary parentheses in UP007 fix + * Remove repeated and erroneous scoped settings headers in docs + * Trim trailing empty strings when converting to f-strings + * Fix ordering for force-sort-within-sections + * Run unicode prefix rule over tokens + * Update UP032 to unescape curly braces in literal parts of converted strings + * List all ipython builtins + * Documentation + * Document conventions in the FAQ + * Redirect from rule codes to rule pages in docs + * Fix permalink to convention setting + +------------------------------------------------------------------- Old: ---- cargo_config ruff-0.1.5.tar.gz New: ---- ruff-0.1.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ruff.spec ++++++ --- /var/tmp/diff_new_pack.WR0sl9/_old 2023-11-20 21:19:55.539636954 +0100 +++ /var/tmp/diff_new_pack.WR0sl9/_new 2023-11-20 21:19:55.543637102 +0100 @@ -16,23 +16,23 @@ # +%bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-ruff -Version: 0.1.5 +Version: 0.1.6 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT URL: https://docs.astral.sh/ruff Source: https://files.pythonhosted.org/packages/source/r/ruff/ruff-%{version}.tar.gz Source1: vendor.tar.zst -Source2: cargo_config BuildRequires: %{python_module maturin} BuildRequires: %{python_module pip} BuildRequires: cargo-packaging BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires: alts +BuildRequires: alts ExclusiveArch: %{rust_tier1_arches} %python_subpackages @@ -41,8 +41,6 @@ %prep %autosetup -a1 -p1 -n ruff-%{version} -mkdir .cargo -cp %{SOURCE2} .cargo/config %build %pyproject_wheel @@ -51,12 +49,10 @@ %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %python_clone -a %{buildroot}%{_bindir}/ruff +%python_group_libalternatives ruff -%post -%python_install_alternative ruff - -%postun -%python_uninstall_alternative ruff +%pre +%python_libalternatives_reset_alternative ruff %files %{python_files} %python_alternative %{_bindir}/ruff ++++++ _service ++++++ --- /var/tmp/diff_new_pack.WR0sl9/_old 2023-11-20 21:19:55.567637988 +0100 +++ /var/tmp/diff_new_pack.WR0sl9/_new 2023-11-20 21:19:55.571638136 +0100 @@ -1,10 +1,9 @@ <services> <service name="download_files" mode="manual" /> <service name="cargo_vendor" mode="manual"> - <param name="srctar">ruff-0.1.5.tar.gz</param> + <param name="srctar">ruff-0.1.6.tar.gz</param> <param name="compression">zst</param> <param name="update">true</param> </service> - <service name="cargo_audit" mode="manual" /> </services> ++++++ ruff-0.1.5.tar.gz -> ruff-0.1.6.tar.gz ++++++ ++++ 20288 lines of diff (skipped) ++++++ vendor.tar.zst ++++++ Binary files /var/tmp/diff_new_pack.WR0sl9/_old and /var/tmp/diff_new_pack.WR0sl9/_new differ
participants (1)
-
Source-Sync