openSUSE Commits
Threads by month
- ----- 2024 -----
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
August 2023
- 1 participants
- 1988 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package gst123 for openSUSE:Factory checked in at 2023-08-31 13:46:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gst123 (Old)
and /work/SRC/openSUSE:Factory/.gst123.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gst123"
Thu Aug 31 13:46:00 2023 rev:2 rq:1108144 version:0.4.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/gst123/gst123.changes 2018-02-07 18:40:39.798290380 +0100
+++ /work/SRC/openSUSE:Factory/.gst123.new.1766/gst123.changes 2023-08-31 13:52:06.993945303 +0200
@@ -1,0 +2,14 @@
+Wed Aug 30 14:29:13 UTC 2023 - Luigi Baldoni <aloisio(a)gmx.com>
+
+- Update to version 0.4.1
+ * Avoid depending using .git / git during build (remove
+ ChangeLog).
+ version 0.4.0:
+ * Use gtk3 instead of gtk2.
+ * Change config file location to ~/.config/gst123rc
+ * Decode URIs to print proper media name.
+ * Support "audio/mpegurl" mime type for m3u playlist parser as
+ well.
+ * Various bugfixes.
+
+-------------------------------------------------------------------
Old:
----
gst123-0.3.5.tar.bz2
New:
----
gst123-0.4.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gst123.spec ++++++
--- /var/tmp/diff_new_pack.qqq5JS/_old 2023-08-31 13:52:07.997981190 +0200
+++ /var/tmp/diff_new_pack.qqq5JS/_new 2023-08-31 13:52:08.001981332 +0200
@@ -1,7 +1,7 @@
#
# spec file for package gst123
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2012-2013 Pascal Bleser <pascal.bleser(a)opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@@ -13,18 +13,18 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: gst123
-Version: 0.3.5
+Version: 0.4.1
Release: 0
Summary: GStreamer based Command Line Music Player
-License: LGPL-2.0+
+License: LGPL-2.0-or-later
Group: Productivity/Multimedia/Sound/Players
-URL: http://space.twc.de/~stefan/gst123.php
-Source: http://space.twc.de/~stefan/gst123/%{name}-%{version}.tar.bz2
+URL: https://space.twc.de/~stefan/gst123.php
+Source: https://github.com/swesterfeld/gst123/releases/download/%{version}/%{name}-…
Source1: gst123.desktop
BuildRequires: gcc-c++
BuildRequires: pkgconfig
@@ -32,12 +32,8 @@
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-base-1.0)
BuildRequires: pkgconfig(gstreamer-video-1.0)
-BuildRequires: pkgconfig(gtk+-2.0)
-%if 0%{?suse_version} >= 1500
+BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(ncurses) >= 5
-%else
-BuildRequires: ncurses-devel
-%endif
%description
The gst123 program is a command line player akin to ogg123 or mpg123,
@@ -45,11 +41,11 @@
knows.
%prep
-%setup -q
+%autosetup -p1
%build
%configure
-make %{?_smp_mflags} V=1
+%make_build
%install
%make_install
@@ -57,18 +53,11 @@
%suse_update_desktop_file -r "%{name}" AudioVideo Player
%find_lang "%{name}" || echo -n >"%{name}.lang"
-%if 0%{?suse_version} < 1500
-%post
-%desktop_database_post
-
-%postun
-%desktop_database_postun
-%endif
-
%files -f "%{name}.lang"
-%doc AUTHORS COPYING NEWS
+%license COPYING
+%doc AUTHORS NEWS
%{_bindir}/%{name}
-%{_mandir}/man1/%{name}.1%{ext_man}
+%{_mandir}/man1/%{name}.1%{?ext_man}
%{_datadir}/applications/%{name}.desktop
%changelog
++++++ gst123-0.3.5.tar.bz2 -> gst123-0.4.1.tar.bz2 ++++++
++++ 9186 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package opi for openSUSE:Factory checked in at 2023-08-31 13:45:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/opi (Old)
and /work/SRC/openSUSE:Factory/.opi.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opi"
Thu Aug 31 13:45:59 2023 rev:47 rq:1108126 version:3.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/opi/opi.changes 2023-07-28 22:20:41.105315708 +0200
+++ /work/SRC/openSUSE:Factory/.opi.new.1766/opi.changes 2023-08-31 13:52:05.797902554 +0200
@@ -1,0 +2,10 @@
+Wed Aug 30 13:32:33 UTC 2023 - Dominik Heidler <dheidler(a)suse.de>
+
+- Version 3.4.0
+- Add unofficial Teams-for-linux client
+- Improve non interactive tests
+- Strip test module name
+- chore: fix indentation
+- docs: add config options, update opi help page
+
+-------------------------------------------------------------------
Old:
----
opi-3.3.0.tar.gz
New:
----
opi-3.4.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ opi.spec ++++++
--- /var/tmp/diff_new_pack.BCC6T4/_old 2023-08-31 13:52:06.801938441 +0200
+++ /var/tmp/diff_new_pack.BCC6T4/_new 2023-08-31 13:52:06.805938583 +0200
@@ -17,7 +17,7 @@
Name: opi
-Version: 3.3.0
+Version: 3.4.0
Release: 0
Summary: OBS Package Installer (CLI)
License: GPL-3.0-only
++++++ opi-3.3.0.tar.gz -> opi-3.4.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-3.3.0/README.md new/opi-3.4.0/README.md
--- old/opi-3.3.0/README.md 2023-07-28 12:01:38.000000000 +0200
+++ new/opi-3.4.0/README.md 2023-08-30 15:32:26.000000000 +0200
@@ -57,10 +57,13 @@
![Screenshot](demo.gif)
-### Using DNF instead of Zypper
+### Config options
+
+Change the config by editing the content of `/etc/opi.cfg`.
+
+#### Using DNF instead of Zypper
If you want to, you can use [DNF](https://en.opensuse.org/SDB:DNF) instead of Zypper.
-To do this, change the content of `/etc/opi.cfg`:
```cfg
backend = dnf
@@ -68,6 +71,16 @@
If you want to go back to Zypper, just change the value of `backend` back to `zypp`.
+#### Disabling auto-refresh for new repositories
+
+If you want to, you can disable auto-refreshing of new repositories.
+
+```cfg
+new_repo_auto_refresh = false
+```
+
+If you want to reactivate auto-refreshing for new repositories, just change the value of `new_repo_auto_refresh` back to `true`.
+
### Packages from Other Repositories
**Packman Codecs** (enable you to play MP4 videos and YouTube)
@@ -81,7 +94,7 @@
```
```
-usage: opi [-h] [-v] [-r] [query [query ...]]
+usage: opi [-h] [-v] [-n] [query ...]
openSUSE Package Installer
==========================
@@ -92,17 +105,15 @@
3. Popular packages for various vendors
positional arguments:
- query can be any package name or part of it and will be
- searched for both at the openSUSE Build Service and
- Packman.
- If multiple query arguments are provided only results
- matching all of them are returned.
-
-optional arguments:
- -h, --help show this help message and exit
- -v, --version show program's version number and exit
- -r, --reversed-output
- print the search results in reverse
+ query can be any package name or part of it and will be searched
+ for both at the openSUSE Build Service and Packman.
+ If multiple query arguments are provided only results
+ matching all of them are returned.
+
+options:
+ -h, --help show this help message and exit
+ -v, --version show program's version number and exit
+ -n Run in non interactive mode
Also these queries can be used to install packages from various other vendors:
anydesk AnyDesk remote access
@@ -112,6 +123,7 @@
codecs Media Codecs from Packman and official repo
dotnet Microsoft .NET
jami Jami p2p messenger
+ maptool Virtual Tabletop for playing roleplaying games
megasync Mega Desktop App
msedge Microsoft Edge
plex Plex Media Server
@@ -119,6 +131,7 @@
skype Microsoft Skype
slack Slack messenger
sublime Editor for code, markup and prose
+ teams-for-linux unofficial Microsoft Teams for Linux
teamviewer TeamViewer remote access
vivaldi Vivaldi web browser
vscode Microsoft Visual Studio Code
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-3.3.0/opi/plugins/teams-for-linux.py new/opi-3.4.0/opi/plugins/teams-for-linux.py
--- old/opi-3.3.0/opi/plugins/teams-for-linux.py 1970-01-01 01:00:00.000000000 +0100
+++ new/opi-3.4.0/opi/plugins/teams-for-linux.py 2023-08-30 15:32:26.000000000 +0200
@@ -0,0 +1,22 @@
+import opi
+from opi.plugins import BasePlugin
+
+class TeamsForLinux(BasePlugin):
+ main_query = 'teams-for-linux'
+ description = 'Unofficial Microsoft Teams for Linux client'
+ queries = ['teams-for-linux','teams']
+
+ @classmethod
+ def run(cls, query):
+ if not opi.ask_yes_or_no('Do you want to install teams-for-linux from teamsforlinux.de repository?'):
+ return
+
+ opi.add_repo(
+ filename = 'teams-for-linux',
+ name = 'Unofficial Teams for Linux',
+ url = 'https://repo.teamsforlinux.de/rpm/',
+ gpgkey = 'https://repo.teamsforlinux.de/teams-for-linux.asc'
+ )
+
+ opi.install_packages(['teams-for-linux'])
+ opi.ask_keep_repo('teams-for-linux')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-3.3.0/opi/version.py new/opi-3.4.0/opi/version.py
--- old/opi-3.3.0/opi/version.py 2023-07-28 12:01:38.000000000 +0200
+++ new/opi-3.4.0/opi/version.py 2023-08-30 15:32:26.000000000 +0200
@@ -1 +1 @@
-__version__ = '3.3.0'
+__version__ = '3.4.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-3.3.0/opi.changes new/opi-3.4.0/opi.changes
--- old/opi-3.3.0/opi.changes 2023-07-28 12:01:38.000000000 +0200
+++ new/opi-3.4.0/opi.changes 2023-08-30 15:32:26.000000000 +0200
@@ -1,4 +1,14 @@
-------------------------------------------------------------------
+Wed Aug 30 13:32:14 UTC 2023 - Dominik Heidler <dheidler(a)suse.de>
+
+- Version 3.4.0
+- Add unofficial Teams-for-linux client
+- Improve non interactive tests
+- Strip test module name
+- chore: fix indentation
+- docs: add config options, update opi help page
+
+-------------------------------------------------------------------
Fri Jul 28 10:01:21 UTC 2023 - Dominik Heidler <dheidler(a)suse.de>
- Version 3.3.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-3.3.0/test/06_install_non_interactive.py new/opi-3.4.0/test/06_install_non_interactive.py
--- old/opi-3.3.0/test/06_install_non_interactive.py 2023-07-28 12:01:38.000000000 +0200
+++ new/opi-3.4.0/test/06_install_non_interactive.py 2023-08-30 15:32:26.000000000 +0200
@@ -10,7 +10,7 @@
c.expect('Pick a number')
c.expect(r'([0-9]+)\. [^ ]*(openSUSE-Tumbleweed-Oss|Main Repository)', timeout=10)
c.expect('Installing from existing repo', timeout=10)
-c.expect('Continue?', timeout=10)
+c.expect('Continue?', timeout=20)
c.interact()
c.wait()
c.close()
@@ -25,7 +25,7 @@
c.expect('Pick a number')
c.expect(r'([0-9]+)\. [^ ]*(filesystems)', timeout=10)
c.expect('Adding repo \'filesystems\'', timeout=10)
-c.expect('Continue?', timeout=10)
+c.expect('Continue?', timeout=20)
c.interact()
c.wait()
c.close()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-3.3.0/test/run_container_test.sh new/opi-3.4.0/test/run_container_test.sh
--- old/opi-3.3.0/test/run_container_test.sh 2023-07-28 12:01:38.000000000 +0200
+++ new/opi-3.4.0/test/run_container_test.sh 2023-08-30 15:32:26.000000000 +0200
@@ -22,5 +22,6 @@
opi_dir="$(dirname $(pwd)/$0)/../"
-podman run -ti --rm --volume "${opi_dir}:/opi/" $opi_base_image /opi/test/run.sh $1
+test_module=$(basename $1)
+podman run -ti --rm --volume "${opi_dir}:/opi/" $opi_base_image /opi/test/run.sh $test_module
exit $?
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package stress-ng for openSUSE:Factory checked in at 2023-08-31 13:45:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/stress-ng (Old)
and /work/SRC/openSUSE:Factory/.stress-ng.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "stress-ng"
Thu Aug 31 13:45:58 2023 rev:117 rq:1108129 version:0.16.04
Changes:
--------
--- /work/SRC/openSUSE:Factory/stress-ng/stress-ng.changes 2023-03-19 16:17:06.479476590 +0100
+++ /work/SRC/openSUSE:Factory/.stress-ng.new.1766/stress-ng.changes 2023-08-31 13:52:02.545786315 +0200
@@ -1,0 +2,7 @@
+Wed Aug 30 13:23:37 UTC 2023 - Andrea Manzini <andrea.manzini(a)suse.com>
+
+- Update to version 0.16.4
+ * see https://github.com/ColinIanKing/stress-ng/blob/V0.16.04/debian/changelog
+ for the full changelog
+
+-------------------------------------------------------------------
Old:
----
V0.15.06.tar.gz
New:
----
V0.16.04.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ stress-ng.spec ++++++
--- /var/tmp/diff_new_pack.E7l8XL/_old 2023-08-31 13:52:04.369851511 +0200
+++ /var/tmp/diff_new_pack.E7l8XL/_new 2023-08-31 13:52:04.429853656 +0200
@@ -18,7 +18,7 @@
Name: stress-ng
-Version: 0.15.06
+Version: 0.16.04
Release: 0
Summary: Tool to load and stress a computer
License: GPL-2.0-only
++++++ V0.15.06.tar.gz -> V0.16.04.tar.gz ++++++
++++ 84546 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package budgie-desktop for openSUSE:Factory checked in at 2023-08-31 13:45:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/budgie-desktop (Old)
and /work/SRC/openSUSE:Factory/.budgie-desktop.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "budgie-desktop"
Thu Aug 31 13:45:57 2023 rev:43 rq:1108125 version:10.8+0
Changes:
--------
--- /work/SRC/openSUSE:Factory/budgie-desktop/budgie-desktop.changes 2023-05-17 10:53:55.287602716 +0200
+++ /work/SRC/openSUSE:Factory/.budgie-desktop.new.1766/budgie-desktop.changes 2023-08-31 13:52:00.905727695 +0200
@@ -1,0 +2,18 @@
+Tue Aug 29 19:23:54 UTC 2023 - gmbr3(a)opensuse.org
+
+- Update to version 10.8+0:
+ * Drop libmutter-12 support in favor of magpie-0
+ * Polkit dialog will now show the action description
+ and action ID when graphical privilege escalation is requested
+ * Status applet now provides the ability to control the
+ Performance / Power profile modes offered by
+ power-profiles-daemon.
+ * System Tray has adopted the Status Notifier specification
+ * Application Indexer's fuzzy scoring function has been
+ ported to C
+ * Default colour is now green
+ * Kvantum and Murrine themes are now hidden in
+ Budgie Desktop Settings
+ * We now search for plugins in both /usr and /usr/local
+
+-------------------------------------------------------------------
Old:
----
budgie-desktop-10.7.2+0.obscpio
New:
----
budgie-desktop-10.8+0.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ budgie-desktop.spec ++++++
--- /var/tmp/diff_new_pack.HZiXhx/_old 2023-08-31 13:52:02.237775307 +0200
+++ /var/tmp/diff_new_pack.HZiXhx/_new 2023-08-31 13:52:02.245775592 +0200
@@ -21,8 +21,13 @@
%if 0%{?suse_version} < 1550
%define _distconfdir %{_sysconfdir}
%endif
+%if 0%{?suse_version} < 1599
+%bcond_with magpie
+%else
+%bcond_without magpie
+%endif
Name: budgie-desktop
-Version: 10.7.2+0
+Version: 10.8+0
Release: 0
Summary: GTK3 Desktop Environment
License: GPL-2.0-or-later AND LGPL-2.1-or-later
@@ -49,7 +54,11 @@
BuildRequires: pkgconfig(gtk-doc)
BuildRequires: pkgconfig(ibus-1.0)
BuildRequires: pkgconfig(libgnome-menu-3.0)
-BuildRequires: (pkgconfig(libmutter-12) or pkgconfig(libmutter-11) or pkgconfig(libmutter-10))
+%if %{with magpie}
+BuildRequires: pkgconfig(libmagpie-0)
+%else
+BuildRequires: (pkgconfig(libmutter-11) or pkgconfig(libmutter-10))
+%endif
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libpeas-gtk-1.0)
BuildRequires: pkgconfig(libpulse)
@@ -74,7 +83,8 @@
Requires: typelib-1_0-Budgie-1_0 >= %{version}
Requires: typelib-1_0-BudgieRaven-1_0 >= %{version}
Requires: budgie-desktop-branding >= 20220627.1
-Requires: budgie-control-center >= 1.2.0+0
+Requires: budgie-control-center >= 1.3.0+0
+Requires: budgie-backgrounds >= 2.0+0
#
# unchanged SOVER but new APIs
Requires: libraven0 >= %{version}
++++++ _service ++++++
--- /var/tmp/diff_new_pack.HZiXhx/_old 2023-08-31 13:52:02.281776879 +0200
+++ /var/tmp/diff_new_pack.HZiXhx/_new 2023-08-31 13:52:02.285777022 +0200
@@ -2,7 +2,7 @@
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/BuddiesOfBudgie/budgie-desktop.git</param>
- <param name="revision">be7698b656134b4575fe5b543f90371541c21223</param>
+ <param name="revision">1d4f822458fc2efa3673f25d7477fb301eceac73</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.HZiXhx/_old 2023-08-31 13:52:02.305777737 +0200
+++ /var/tmp/diff_new_pack.HZiXhx/_new 2023-08-31 13:52:02.305777737 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/BuddiesOfBudgie/budgie-desktop.git</param>
- <param name="changesrevision">be7698b656134b4575fe5b543f90371541c21223</param></service></servicedata>
+ <param name="changesrevision">1d4f822458fc2efa3673f25d7477fb301eceac73</param></service></servicedata>
(No newline at EOF)
++++++ budgie-desktop-10.7.2+0.obscpio -> budgie-desktop-10.8+0.obscpio ++++++
/work/SRC/openSUSE:Factory/budgie-desktop/budgie-desktop-10.7.2+0.obscpio /work/SRC/openSUSE:Factory/.budgie-desktop.new.1766/budgie-desktop-10.8+0.obscpio differ: char 49, line 1
++++++ budgie-desktop.obsinfo ++++++
--- /var/tmp/diff_new_pack.HZiXhx/_old 2023-08-31 13:52:02.341779023 +0200
+++ /var/tmp/diff_new_pack.HZiXhx/_new 2023-08-31 13:52:02.345779166 +0200
@@ -1,5 +1,5 @@
name: budgie-desktop
-version: 10.7.2+0
-mtime: 1682537892
-commit: be7698b656134b4575fe5b543f90371541c21223
+version: 10.8+0
+mtime: 1692526810
+commit: 1d4f822458fc2efa3673f25d7477fb301eceac73
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package budgie-backgrounds for openSUSE:Factory checked in at 2023-08-31 13:45:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/budgie-backgrounds (Old)
and /work/SRC/openSUSE:Factory/.budgie-backgrounds.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "budgie-backgrounds"
Thu Aug 31 13:45:55 2023 rev:3 rq:1108122 version:2.0+0
Changes:
--------
--- /work/SRC/openSUSE:Factory/budgie-backgrounds/budgie-backgrounds.changes 2023-02-10 14:34:11.605516499 +0100
+++ /work/SRC/openSUSE:Factory/.budgie-backgrounds.new.1766/budgie-backgrounds.changes 2023-08-31 13:51:59.113663644 +0200
@@ -1,0 +2,15 @@
+Tue Aug 29 19:26:11 UTC 2023 - gmbr3(a)opensuse.org
+
+- Update to version 2.0+0:
+ * Add picture of Orange Hallway from Wikimedia Commons
+ * Add picture of Singaporean Cityscape from Flickr
+ * Add picture of Ocean Waves from rawpixel
+ * Add picture of Extreme Desert Hike from Wikimedia Commons
+ * Add picture of Casa Milá from Wikimedia Commons
+ * Add picture of Dragonfly on Lavender from Wikimedia Commons
+ * Add picture of Motherboard Circuits from Negative Space
+ * Add picture of Blue Periwinkle from Wikimedia Commons
+ * Add picture of Solaris Grapes from Wikimedia Commons
+ * Avoid to install bash for build stage
+
+-------------------------------------------------------------------
Old:
----
budgie-backgrounds-1.0+0.obscpio
New:
----
budgie-backgrounds-2.0+0.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ budgie-backgrounds.spec ++++++
--- /var/tmp/diff_new_pack.Yn8vAq/_old 2023-08-31 13:52:00.513713684 +0200
+++ /var/tmp/diff_new_pack.Yn8vAq/_new 2023-08-31 13:52:00.521713970 +0200
@@ -17,7 +17,7 @@
Name: budgie-backgrounds
-Version: 1.0+0
+Version: 2.0+0
Release: 0
Summary: The default background set for the Budgie Desktop
License: CC0-1.0
++++++ _service ++++++
--- /var/tmp/diff_new_pack.Yn8vAq/_old 2023-08-31 13:52:00.553715114 +0200
+++ /var/tmp/diff_new_pack.Yn8vAq/_new 2023-08-31 13:52:00.557715257 +0200
@@ -2,7 +2,7 @@
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/BuddiesOfBudgie/budgie-backgrounds.git</param>
- <param name="revision">d39dd6ef458e8fdc2fa7f12467f9008e8fa97a65</param>
+ <param name="revision">75bae2296451cc8ec9c94047f26312190da78e37</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.Yn8vAq/_old 2023-08-31 13:52:00.581716114 +0200
+++ /var/tmp/diff_new_pack.Yn8vAq/_new 2023-08-31 13:52:00.585716258 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/BuddiesOfBudgie/budgie-backgrounds.git</param>
- <param name="changesrevision">d39dd6ef458e8fdc2fa7f12467f9008e8fa97a65</param></service></servicedata>
+ <param name="changesrevision">75bae2296451cc8ec9c94047f26312190da78e37</param></service></servicedata>
(No newline at EOF)
++++++ budgie-backgrounds-1.0+0.obscpio -> budgie-backgrounds-2.0+0.obscpio ++++++
/work/SRC/openSUSE:Factory/budgie-backgrounds/budgie-backgrounds-1.0+0.obscpio /work/SRC/openSUSE:Factory/.budgie-backgrounds.new.1766/budgie-backgrounds-2.0+0.obscpio differ: char 48, line 1
++++++ budgie-backgrounds.obsinfo ++++++
--- /var/tmp/diff_new_pack.Yn8vAq/_old 2023-08-31 13:52:00.629717830 +0200
+++ /var/tmp/diff_new_pack.Yn8vAq/_new 2023-08-31 13:52:00.629717830 +0200
@@ -1,5 +1,5 @@
name: budgie-backgrounds
-version: 1.0+0
-mtime: 1673045524
-commit: d39dd6ef458e8fdc2fa7f12467f9008e8fa97a65
+version: 2.0+0
+mtime: 1692028226
+commit: 75bae2296451cc8ec9c94047f26312190da78e37
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package budgie-control-center for openSUSE:Factory checked in at 2023-08-31 13:45:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/budgie-control-center (Old)
and /work/SRC/openSUSE:Factory/.budgie-control-center.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "budgie-control-center"
Thu Aug 31 13:45:52 2023 rev:7 rq:1108119 version:1.3.0+0
Changes:
--------
--- /work/SRC/openSUSE:Factory/budgie-control-center/budgie-control-center.changes 2023-02-10 14:34:09.249502421 +0100
+++ /work/SRC/openSUSE:Factory/.budgie-control-center.new.1766/budgie-control-center.changes 2023-08-31 13:51:55.457532965 +0200
@@ -1,0 +2,31 @@
+Tue Aug 29 19:29:01 UTC 2023 - gmbr3(a)opensuse.org
+
+- Update to version 1.3.0+0:
+ * shell: fix visibility check for rows and avoid empty searches
+ * shell: avoid activating panel from an empty search
+ * Set last-panel only for noncrashing panels
+ * network: Increase maximum MTU value from 10000 to 65536
+ * display: Removed the loop from the snapping function
+ * display: Try snapping all the displays after a config change
+ * sound: Prevent duplicate sound device entries
+ * common: hostname-entry: Update hostname only after apply is
+ clicked
+ * usage: Fix confirmation dialog when clearing history
+ * thunderbold: Don't cast CcBoltPanel when cancelled
+ * user-accounts: close CcAvatarChooser before showing
+ GtkFileChooser
+ * user-accounts: disallow commas in real name
+ * printers: Use CUPS dest API for printing test page
+ instead CUPS IPP API
+ * keyboard: country matches should not be shown under a
+ language name.
+ * display: Add 32:9 to known aspect ratios
+ * sound: Add a "None" option to the alert chooser
+ * sound: Update sounds directory mtime when changing alert
+ * sound: Don't flip the balance and fade sliders in RTL
+ * Rework cc-usage-panel.c to display dialog on history
+ clearance
+ * Update POT for the latest translatables
+ * Add support for switching the file manager
+
+-------------------------------------------------------------------
Old:
----
budgie-control-center-1.2.0+0.obscpio
New:
----
budgie-control-center-1.3.0+0.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ budgie-control-center.spec ++++++
--- /var/tmp/diff_new_pack.8fQpXx/_old 2023-08-31 13:51:56.941586008 +0200
+++ /var/tmp/diff_new_pack.8fQpXx/_new 2023-08-31 13:51:56.945586151 +0200
@@ -17,7 +17,7 @@
Name: budgie-control-center
-Version: 1.2.0+0
+Version: 1.3.0+0
Release: 0
Summary: Fork of GNOME Control Center for Budgie 10
License: GPL-2.0-or-later
++++++ _service ++++++
--- /var/tmp/diff_new_pack.8fQpXx/_old 2023-08-31 13:51:56.973587152 +0200
+++ /var/tmp/diff_new_pack.8fQpXx/_new 2023-08-31 13:51:56.977587295 +0200
@@ -2,7 +2,7 @@
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/BuddiesOfBudgie/budgie-control-center.git</param>
- <param name="revision">5087342d03d6a0c414bc63b81597b9d803ec5330</param>
+ <param name="revision">1d24cd2c5b3a6c7f679538a66f090d0868d8d1d2</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.8fQpXx/_old 2023-08-31 13:51:57.005588296 +0200
+++ /var/tmp/diff_new_pack.8fQpXx/_new 2023-08-31 13:51:57.005588296 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/BuddiesOfBudgie/budgie-control-center.git</param>
- <param name="changesrevision">5087342d03d6a0c414bc63b81597b9d803ec5330</param></service></servicedata>
+ <param name="changesrevision">1d24cd2c5b3a6c7f679538a66f090d0868d8d1d2</param></service></servicedata>
(No newline at EOF)
++++++ budgie-control-center-1.2.0+0.obscpio -> budgie-control-center-1.3.0+0.obscpio ++++++
/work/SRC/openSUSE:Factory/budgie-control-center/budgie-control-center-1.2.0+0.obscpio /work/SRC/openSUSE:Factory/.budgie-control-center.new.1766/budgie-control-center-1.3.0+0.obscpio differ: char 48, line 1
++++++ budgie-control-center.obsinfo ++++++
--- /var/tmp/diff_new_pack.8fQpXx/_old 2023-08-31 13:51:57.049589869 +0200
+++ /var/tmp/diff_new_pack.8fQpXx/_new 2023-08-31 13:51:57.053590011 +0200
@@ -1,5 +1,5 @@
name: budgie-control-center
-version: 1.2.0+0
-mtime: 1674987792
-commit: 5087342d03d6a0c414bc63b81597b9d803ec5330
+version: 1.3.0+0
+mtime: 1690916940
+commit: 1d24cd2c5b3a6c7f679538a66f090d0868d8d1d2
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-cftime for openSUSE:Factory checked in at 2023-08-31 13:45:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cftime (Old)
and /work/SRC/openSUSE:Factory/.python-cftime.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cftime"
Thu Aug 31 13:45:51 2023 rev:9 rq:1108098 version:1.6.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cftime/python-cftime.changes 2022-10-29 20:18:42.114720600 +0200
+++ /work/SRC/openSUSE:Factory/.python-cftime.new.1766/python-cftime.changes 2023-08-31 13:51:53.745471772 +0200
@@ -1,0 +2,5 @@
+Wed Aug 30 11:03:06 UTC 2023 - Markéta Machová <mmachova(a)suse.com>
+
+- add upstream cython3.patch
+
+-------------------------------------------------------------------
New:
----
cython3.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cftime.spec ++++++
--- /var/tmp/diff_new_pack.40H6QU/_old 2023-08-31 13:51:54.873512091 +0200
+++ /var/tmp/diff_new_pack.40H6QU/_new 2023-08-31 13:51:54.881512377 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-cftime
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,6 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-# no numpy for Python 3.6
-%define skip_python36 1
Name: python-cftime
Version: 1.6.2
Release: 0
@@ -26,14 +24,16 @@
License: MIT
URL: https://github.com/Unidata/cftime
Source: https://files.pythonhosted.org/packages/source/c/cftime/cftime-%{version}.t…
-BuildRequires: %{python_module Cython}
+#PATCH-FIX-UPSTREAM https://github.com/Unidata/cftime/pull/305 Set c_api_binop_methods Cython compiler directive to True
+Patch: cython3.patch
+BuildRequires: %{python_module Cython >= 0.29.20}
BuildRequires: %{python_module numpy-devel}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 18.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-Cython
+Requires: python-Cython >= 0.29.20
Requires: python-numpy
%python_subpackages
@@ -42,7 +42,7 @@
Was split out from netcfd4-python in 2016.
%prep
-%setup -q -n cftime-%{version}
+%autosetup -p1 -n cftime-%{version}
# do not require cov/xdist/etc
rm setup.cfg
++++++ cython3.patch ++++++
From 31f782aed3de56300886dd7350f1faff657e14dd Mon Sep 17 00:00:00 2001
From: Spencer Clark <spencerkclark(a)gmail.com>
Date: Sat, 29 Jul 2023 09:51:10 -0400
Subject: [PATCH] Set c_api_binop_methods compiler directive to True
This retains Cython 0.x behavior for arithmetic operators for
Cython >= 3.0.0.
---
Changelog | 2 ++
pyproject.toml | 2 +-
requirements-dev.txt | 2 +-
setup.py | 9 ++++++++-
4 files changed, 12 insertions(+), 3 deletions(-)
Index: cftime-1.6.2/pyproject.toml
===================================================================
--- cftime-1.6.2.orig/pyproject.toml
+++ cftime-1.6.2/pyproject.toml
@@ -1,3 +1,3 @@
[build-system]
-requires = ["setuptools>=41.2", "cython", "wheel", "oldest-supported-numpy"]
+requires = ["setuptools>=41.2", "cython>=0.29.20", "wheel", "oldest-supported-numpy"]
build-backend = "setuptools.build_meta"
Index: cftime-1.6.2/requirements-dev.txt
===================================================================
--- cftime-1.6.2.orig/requirements-dev.txt
+++ cftime-1.6.2/requirements-dev.txt
@@ -1,7 +1,7 @@
check-manifest
coverage
coveralls
-cython>0.26.1
+cython>=0.29.20
pytest
pytest-cov
sphinx
Index: cftime-1.6.2/setup.py
===================================================================
--- cftime-1.6.2.orig/setup.py
+++ cftime-1.6.2/setup.py
@@ -16,7 +16,14 @@ except ImportError:
BASEDIR = os.path.abspath(os.path.dirname(__file__))
SRCDIR = os.path.join(BASEDIR,'src')
CMDS_NOCYTHONIZE = ['clean','clean_cython','sdist']
-COMPILER_DIRECTIVES = {}
+COMPILER_DIRECTIVES = {
+ # Cython 3.0.0 changes the default of the c_api_binop_methods directive to
+ # False, resulting in errors in datetime and timedelta arithmetic:
+ # https://github.com/Unidata/cftime/issues/271. We explicitly set it to
+ # True to retain Cython 0.x behavior for future Cython versions. This
+ # directive was added in Cython version 0.29.20.
+ "c_api_binop_methods": True
+}
DEFINE_MACROS = [("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION")]
FLAG_COVERAGE = '--cython-coverage' # custom flag enabling Cython line tracing
NAME = 'cftime'
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-google-cloud-kms for openSUSE:Factory checked in at 2023-08-31 13:45:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-cloud-kms (Old)
and /work/SRC/openSUSE:Factory/.python-google-cloud-kms.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-cloud-kms"
Thu Aug 31 13:45:50 2023 rev:14 rq:1108093 version:2.19.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-google-cloud-kms/python-google-cloud-kms.changes 2023-07-18 22:09:27.603437026 +0200
+++ /work/SRC/openSUSE:Factory/.python-google-cloud-kms.new.1766/python-google-cloud-kms.changes 2023-08-31 13:51:52.533428450 +0200
@@ -1,0 +2,8 @@
+Wed Aug 30 10:57:59 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz(a)suse.com>
+
+- Update to 2.19.1
+ * Minor formatting (#411)
+- from version 2.19.0
+ * Add interoperable symmetric encryption system (#403)
+
+-------------------------------------------------------------------
Old:
----
google-cloud-kms-2.18.0.tar.gz
New:
----
google-cloud-kms-2.19.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-google-cloud-kms.spec ++++++
--- /var/tmp/diff_new_pack.qlwKC6/_old 2023-08-31 13:51:53.493462764 +0200
+++ /var/tmp/diff_new_pack.qlwKC6/_new 2023-08-31 13:51:53.501463050 +0200
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-google-cloud-kms
-Version: 2.18.0
+Version: 2.19.1
Release: 0
Summary: Cloud Key Management Service (KMS) API API client library
License: Apache-2.0
++++++ google-cloud-kms-2.18.0.tar.gz -> google-cloud-kms-2.19.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/MANIFEST.in new/google-cloud-kms-2.19.1/MANIFEST.in
--- old/google-cloud-kms-2.18.0/MANIFEST.in 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/MANIFEST.in 2023-08-03 16:34:36.000000000 +0200
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2020 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/PKG-INFO new/google-cloud-kms-2.19.1/PKG-INFO
--- old/google-cloud-kms-2.18.0/PKG-INFO 2023-07-05 21:26:03.766366000 +0200
+++ new/google-cloud-kms-2.19.1/PKG-INFO 2023-08-03 16:36:45.850709700 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: google-cloud-kms
-Version: 2.18.0
+Version: 2.19.1
Summary: Google Cloud Kms API client library
Home-page: https://github.com/googleapis/python-kms
Author: Google LLC
@@ -60,21 +60,24 @@
Installation
~~~~~~~~~~~~
-Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to
-create isolated Python environments. The basic problem it addresses is one of
-dependencies and versions, and indirectly permissions.
+Install this library in a virtual environment using `venv`_. `venv`_ is a tool that
+creates isolated Python environments. These isolated environments can have separate
+versions of Python packages, which allows you to isolate one project's dependencies
+from the dependencies of other projects.
-With `virtualenv`_, it's possible to install this library without needing system
+With `venv`_, it's possible to install this library without needing system
install permissions, and without clashing with the installed system
dependencies.
-.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
+.. _`venv`: https://docs.python.org/3/library/venv.html
Code samples and snippets
~~~~~~~~~~~~~~~~~~~~~~~~~
-Code samples and snippets live in the `samples/` folder.
+Code samples and snippets live in the `samples/`_ folder.
+
+.. _samples/: https://github.com/googleapis/python-kms/tree/main/samples
Supported Python Versions
@@ -101,10 +104,9 @@
.. code-block:: console
- pip install virtualenv
- virtualenv <your-env>
+ python3 -m venv <your-env>
source <your-env>/bin/activate
- <your-env>/bin/pip install google-cloud-kms
+ pip install google-cloud-kms
Windows
@@ -112,10 +114,9 @@
.. code-block:: console
- pip install virtualenv
- virtualenv <your-env>
- <your-env>\Scripts\activate
- <your-env>\Scripts\pip.exe install google-cloud-kms
+ py -m venv <your-env>
+ .\<your-env>\Scripts\activate
+ pip install google-cloud-kms
Next Steps
~~~~~~~~~~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/README.rst new/google-cloud-kms-2.19.1/README.rst
--- old/google-cloud-kms-2.18.0/README.rst 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/README.rst 2023-08-03 16:34:36.000000000 +0200
@@ -36,21 +36,24 @@
Installation
~~~~~~~~~~~~
-Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to
-create isolated Python environments. The basic problem it addresses is one of
-dependencies and versions, and indirectly permissions.
+Install this library in a virtual environment using `venv`_. `venv`_ is a tool that
+creates isolated Python environments. These isolated environments can have separate
+versions of Python packages, which allows you to isolate one project's dependencies
+from the dependencies of other projects.
-With `virtualenv`_, it's possible to install this library without needing system
+With `venv`_, it's possible to install this library without needing system
install permissions, and without clashing with the installed system
dependencies.
-.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
+.. _`venv`: https://docs.python.org/3/library/venv.html
Code samples and snippets
~~~~~~~~~~~~~~~~~~~~~~~~~
-Code samples and snippets live in the `samples/` folder.
+Code samples and snippets live in the `samples/`_ folder.
+
+.. _samples/: https://github.com/googleapis/python-kms/tree/main/samples
Supported Python Versions
@@ -77,10 +80,9 @@
.. code-block:: console
- pip install virtualenv
- virtualenv <your-env>
+ python3 -m venv <your-env>
source <your-env>/bin/activate
- <your-env>/bin/pip install google-cloud-kms
+ pip install google-cloud-kms
Windows
@@ -88,10 +90,9 @@
.. code-block:: console
- pip install virtualenv
- virtualenv <your-env>
- <your-env>\Scripts\activate
- <your-env>\Scripts\pip.exe install google-cloud-kms
+ py -m venv <your-env>
+ .\<your-env>\Scripts\activate
+ pip install google-cloud-kms
Next Steps
~~~~~~~~~~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms/__init__.py new/google-cloud-kms-2.19.1/google/cloud/kms/__init__.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms/gapic_version.py new/google-cloud-kms-2.19.1/google/cloud/kms/gapic_version.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms/gapic_version.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms/gapic_version.py 2023-08-03 16:34:36.000000000 +0200
@@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-__version__ = "2.18.0" # {x-release-please-version}
+__version__ = "2.19.1" # {x-release-please-version}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/__init__.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/__init__.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/gapic_version.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/gapic_version.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/gapic_version.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/gapic_version.py 2023-08-03 16:34:36.000000000 +0200
@@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-__version__ = "2.18.0" # {x-release-please-version}
+__version__ = "2.19.1" # {x-release-please-version}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/__init__.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/__init__.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/__init__.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/__init__.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/async_client.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/async_client.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/async_client.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/async_client.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/client.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/client.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/client.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/client.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/pagers.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/pagers.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/pagers.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/pagers.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/transports/__init__.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/transports/__init__.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/transports/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/transports/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/transports/base.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/transports/base.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/transports/base.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/transports/base.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/transports/grpc.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/transports/grpc.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/transports/grpc.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/transports/grpc.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/transports/grpc_asyncio.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/transports/grpc_asyncio.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/transports/grpc_asyncio.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/transports/grpc_asyncio.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/transports/rest.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/transports/rest.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/transports/rest.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/transports/rest.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/__init__.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/__init__.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/async_client.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/async_client.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/async_client.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/async_client.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/client.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/client.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/client.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/client.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/pagers.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/pagers.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/pagers.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/pagers.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/transports/__init__.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/transports/__init__.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/transports/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/transports/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/transports/base.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/transports/base.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/transports/base.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/transports/base.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/transports/grpc.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/transports/grpc.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/transports/grpc.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/transports/grpc.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/transports/grpc_asyncio.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/transports/grpc_asyncio.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/transports/grpc_asyncio.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/transports/grpc_asyncio.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/transports/rest.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/transports/rest.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/transports/rest.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/transports/rest.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/types/__init__.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/types/__init__.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/types/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/types/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/types/ekm_service.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/types/ekm_service.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/types/ekm_service.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/types/ekm_service.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/types/resources.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/types/resources.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/types/resources.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/types/resources.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -553,40 +553,40 @@
[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
[ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
- Algorithms beginning with "RSA_SIGN\_" are usable with
+ Algorithms beginning with ``RSA_SIGN_`` are usable with
[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
[ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN].
- The fields in the name after "RSA_SIGN\_" correspond to the following
- parameters: padding algorithm, modulus bit length, and digest
- algorithm.
+ The fields in the name after ``RSA_SIGN_`` correspond to the
+ following parameters: padding algorithm, modulus bit length, and
+ digest algorithm.
For PSS, the salt length used is equal to the length of digest
algorithm. For example,
[RSA_SIGN_PSS_2048_SHA256][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_2048_SHA256]
will use PSS with a salt length of 256 bits or 32 bytes.
- Algorithms beginning with "RSA_DECRYPT\_" are usable with
+ Algorithms beginning with ``RSA_DECRYPT_`` are usable with
[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
[ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT].
- The fields in the name after "RSA_DECRYPT\_" correspond to the
+ The fields in the name after ``RSA_DECRYPT_`` correspond to the
following parameters: padding algorithm, modulus bit length, and
digest algorithm.
- Algorithms beginning with "EC_SIGN\_" are usable with
+ Algorithms beginning with ``EC_SIGN_`` are usable with
[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
[ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN].
- The fields in the name after "EC_SIGN\_" correspond to the following
- parameters: elliptic curve, digest algorithm.
+ The fields in the name after ``EC_SIGN_`` correspond to the
+ following parameters: elliptic curve, digest algorithm.
- Algorithms beginning with "HMAC\_" are usable with
+ Algorithms beginning with ``HMAC_`` are usable with
[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
[MAC][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.MAC].
- The suffix following "HMAC\_" corresponds to the hash algorithm being
- used (eg. SHA256).
+ The suffix following ``HMAC_`` corresponds to the hash algorithm
+ being used (eg. SHA256).
For more information, see [Key purposes and algorithms]
(https://cloud.google.com/kms/docs/algorithms).
@@ -602,6 +602,16 @@
AES_256_GCM (19):
AES-GCM (Galois Counter Mode) using 256-bit
keys.
+ AES_128_CBC (42):
+ AES-CBC (Cipher Block Chaining Mode) using
+ 128-bit keys.
+ AES_256_CBC (43):
+ AES-CBC (Cipher Block Chaining Mode) using
+ 256-bit keys.
+ AES_128_CTR (44):
+ AES-CTR (Counter Mode) using 128-bit keys.
+ AES_256_CTR (45):
+ AES-CTR (Counter Mode) using 256-bit keys.
RSA_SIGN_PSS_2048_SHA256 (2):
RSASSA-PSS 2048 bit key with a SHA256 digest.
RSA_SIGN_PSS_3072_SHA256 (3):
@@ -672,6 +682,10 @@
GOOGLE_SYMMETRIC_ENCRYPTION = 1
AES_128_GCM = 41
AES_256_GCM = 19
+ AES_128_CBC = 42
+ AES_256_CBC = 43
+ AES_128_CTR = 44
+ AES_256_CTR = 45
RSA_SIGN_PSS_2048_SHA256 = 2
RSA_SIGN_PSS_3072_SHA256 = 3
RSA_SIGN_PSS_4096_SHA256 = 4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/types/service.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/types/service.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/types/service.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/types/service.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google_cloud_kms.egg-info/PKG-INFO new/google-cloud-kms-2.19.1/google_cloud_kms.egg-info/PKG-INFO
--- old/google-cloud-kms-2.18.0/google_cloud_kms.egg-info/PKG-INFO 2023-07-05 21:26:03.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google_cloud_kms.egg-info/PKG-INFO 2023-08-03 16:36:45.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: google-cloud-kms
-Version: 2.18.0
+Version: 2.19.1
Summary: Google Cloud Kms API client library
Home-page: https://github.com/googleapis/python-kms
Author: Google LLC
@@ -60,21 +60,24 @@
Installation
~~~~~~~~~~~~
-Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to
-create isolated Python environments. The basic problem it addresses is one of
-dependencies and versions, and indirectly permissions.
+Install this library in a virtual environment using `venv`_. `venv`_ is a tool that
+creates isolated Python environments. These isolated environments can have separate
+versions of Python packages, which allows you to isolate one project's dependencies
+from the dependencies of other projects.
-With `virtualenv`_, it's possible to install this library without needing system
+With `venv`_, it's possible to install this library without needing system
install permissions, and without clashing with the installed system
dependencies.
-.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
+.. _`venv`: https://docs.python.org/3/library/venv.html
Code samples and snippets
~~~~~~~~~~~~~~~~~~~~~~~~~
-Code samples and snippets live in the `samples/` folder.
+Code samples and snippets live in the `samples/`_ folder.
+
+.. _samples/: https://github.com/googleapis/python-kms/tree/main/samples
Supported Python Versions
@@ -101,10 +104,9 @@
.. code-block:: console
- pip install virtualenv
- virtualenv <your-env>
+ python3 -m venv <your-env>
source <your-env>/bin/activate
- <your-env>/bin/pip install google-cloud-kms
+ pip install google-cloud-kms
Windows
@@ -112,10 +114,9 @@
.. code-block:: console
- pip install virtualenv
- virtualenv <your-env>
- <your-env>\Scripts\activate
- <your-env>\Scripts\pip.exe install google-cloud-kms
+ py -m venv <your-env>
+ .\<your-env>\Scripts\activate
+ pip install google-cloud-kms
Next Steps
~~~~~~~~~~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/setup.py new/google-cloud-kms-2.19.1/setup.py
--- old/google-cloud-kms-2.18.0/setup.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/setup.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/tests/__init__.py new/google-cloud-kms-2.19.1/tests/__init__.py
--- old/google-cloud-kms-2.18.0/tests/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/tests/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/tests/unit/__init__.py new/google-cloud-kms-2.19.1/tests/unit/__init__.py
--- old/google-cloud-kms-2.18.0/tests/unit/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/tests/unit/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/tests/unit/gapic/__init__.py new/google-cloud-kms-2.19.1/tests/unit/gapic/__init__.py
--- old/google-cloud-kms-2.18.0/tests/unit/gapic/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/tests/unit/gapic/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/tests/unit/gapic/kms_v1/__init__.py new/google-cloud-kms-2.19.1/tests/unit/gapic/kms_v1/__init__.py
--- old/google-cloud-kms-2.18.0/tests/unit/gapic/kms_v1/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/tests/unit/gapic/kms_v1/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/tests/unit/gapic/kms_v1/test_ekm_service.py new/google-cloud-kms-2.19.1/tests/unit/gapic/kms_v1/test_ekm_service.py
--- old/google-cloud-kms-2.18.0/tests/unit/gapic/kms_v1/test_ekm_service.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/tests/unit/gapic/kms_v1/test_ekm_service.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/tests/unit/gapic/kms_v1/test_key_management_service.py new/google-cloud-kms-2.19.1/tests/unit/gapic/kms_v1/test_key_management_service.py
--- old/google-cloud-kms-2.18.0/tests/unit/gapic/kms_v1/test_key_management_service.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/tests/unit/gapic/kms_v1/test_key_management_service.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package nodejs-electron for openSUSE:Factory checked in at 2023-08-31 13:45:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-electron (Old)
and /work/SRC/openSUSE:Factory/.nodejs-electron.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-electron"
Thu Aug 31 13:45:49 2023 rev:76 rq:1108107 version:22.3.22
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-electron/nodejs-electron.changes 2023-08-20 00:15:18.435363930 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-electron.new.1766/nodejs-electron.changes 2023-08-31 13:51:39.188951487 +0200
@@ -1,0 +2,9 @@
+Mon Aug 28 15:59:52 UTC 2023 - Bruno Pitrus <brunopitrus(a)hotmail.com>
+
+- New upstream release 22.3.22
+ * Fixed decorations for tiled windows on Wayland.
+ * Security fixes for V8 (CVE-2023-4355, CVE-2023-4352), Skia (CVE-2023-4354), ANGLE (CVE-2023-4353), and Network (CVE-2023-4351)
+- Clean up third_party/… in tarball.
+ * drop chromium-99-pdfium-system-libtiff.patch which is dead code
+
+-------------------------------------------------------------------
Old:
----
chromium-99-pdfium-system-libtiff.patch
electron-22.3.21.tar.zst
New:
----
electron-22.3.22.tar.zst
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nodejs-electron.spec ++++++
--- /var/tmp/diff_new_pack.6lgH1q/_old 2023-08-31 13:51:51.813402715 +0200
+++ /var/tmp/diff_new_pack.6lgH1q/_new 2023-08-31 13:51:51.817402858 +0200
@@ -76,6 +76,11 @@
# Linker selection. GCC only. Default is BFD.
# You can try different ones if it has problems.
# arm64 reports relocation errors with BFD.
+# obj/third_party/electron_node/deps/uv/uv/threadpool.o: in function `init_once':
+# /home/abuild/rpmbuild/BUILD/src/out/Release/../../third_party/electron_node/deps/uv/src/threadpool.c:254:(.text+0x2bc): relocation truncated to fit: R_AARCH64_CALL26 against symbol `pthread_atfork' defined in .text section in /usr/lib64/libc_nonshared.a(pthread_atfork.oS)
+# obj/third_party/electron_node/node_lib/embed_helpers.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > node::SPrintFImpl<char const*>(char const*, char const*&&)':
+# /home/abuild/rpmbuild/BUILD/src/out/Release/../../third_party/electron_node/src/debug_utils-inl.h:76:(.text.unlikely._ZN4node11SPrintFImplIPKcJEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_OT_DpOT0_[_ZN4node11SPrintFImplIPKcJEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_OT_DpOT0_]+0x50): relocation truncated to fit: R_AARCH64_CALL26 against symbol `node::Assert(node::AssertionInfo const&)' defined in .text section in obj/third_party/electron_node/node_lib/node_errors.o
+
%if 0%{?suse_version}
%ifarch aarch64
%bcond_without gold
@@ -212,7 +217,7 @@
Name: nodejs-electron
-Version: 22.3.21
+Version: 22.3.22
Release: 0
Summary: Build cross platform desktop apps with JavaScript, HTML, and CSS
License: AFL-2.0 AND Apache-2.0 AND blessing AND BSD-2-Clause AND BSD-3-Clause AND BSD-Protection AND BSD-Source-Code AND bzip2-1.0.6 AND IJG AND ISC AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND MIT AND MIT-CMU AND MIT-open-group AND (MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later) AND MPL-2.0 AND OpenSSL AND SGI-B-2.0 AND SUSE-Public-Domain AND X11
@@ -284,8 +289,6 @@
Patch1041: system-zlib.patch
Patch1044: replace_gn_files-system-libs.patch
Patch1045: angle-system-xxhash.patch
-# https://svnweb.mageia.org/packages/cauldron/chromium-browser-stable/current…
-Patch1046: chromium-99-pdfium-system-libtiff.patch
Patch1047: cares_public_headers.patch
Patch1048: chromium-remove-bundled-roboto-font.patch
Patch1053: swiftshader-use-system-llvm.patch
@@ -900,25 +903,19 @@
%limit_build -m 2600
%endif
-%if %{with lto} && %{without clang}
-# reduce the threads for linking even more due to LTO eating ton of memory
-_link_threads=$(((%{jobs} - 2)))
+%if %{with lto} && %{without clang}
%ifarch aarch64
-_link_threads=1
+# reduce the threads for linking even more due to LTO eating ton of memory
+# [This is not used currently — these settings still get us OOM on 20GB memory]
+_link_threads=$(((%{jobs} - 6)))
-%if %{without mold}
-%if %{with gold}
-export LDFLAGS="${LDFLAGS} -Wl,--no-map-whole-files -Wl,--no-keep-memory -Wl,--no-keep-files-mapped"
+test "$_link_threads" -le 0 && _link_threads=1
+export LDFLAGS="$LDFLAGS -flto=$_link_threads --param lto-max-streaming-parallelism=1 -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
%else
-export LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory -Wl,--hash-size=30 -Wl,--reduce-memory-overheads"
-%endif
+# x64 is fine with the the default settings (the machines have 30GB+ ram)
+export LDFLAGS="$LDFLAGS -flto=auto"
%endif
-export LDFLAGS="$LDFLAGS --param ggc-min-expand=30 --param ggc-min-heapsize=4096"
-
-%endif
-test "$_link_threads" -le 0 && _link_threads=1
-export LDFLAGS="$LDFLAGS -flto=$_link_threads --param lto-max-streaming-parallelism=1"
%endif
gn_system_libraries=(
@@ -1388,10 +1385,6 @@
ln -srv third_party/angle/src/compiler/translator/glslang.l -t out/Release
ln -srv third_party/angle/src/compiler/preprocessor/preprocessor.l -t out/Release
ln -srv third_party -t out/Release
-ln -srv third_party/libvpx -t third_party/libvpx/source/libvpx/third_party
-ln -srv third_party -t third_party/libvpx/source/libvpx/vp8
-ln -srv third_party -t third_party/libvpx/source/libvpx/vp9
-ln -srv third_party -t third_party/libvpx/source
%files
%license electron/LICENSE out/Release/LICENSES.chromium.html
++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.6lgH1q/_old 2023-08-31 13:51:51.905406003 +0200
+++ /var/tmp/diff_new_pack.6lgH1q/_new 2023-08-31 13:51:51.909406146 +0200
@@ -1,35 +1,46 @@
<?xml version="1.0"?>
<constraints>
- <hardware>
- <disk>
- <size unit="G">24</size>
- </disk>
- <memory>
- <size unit="G">8</size>
- </memory>
- <jobs>6</jobs>
- </hardware>
- <overwrite>
- <conditions>
- <arch>x86_64</arch>
- <arch>i586</arch>
- </conditions>
- <hardware>
- <memory>
- <size unit="G">27</size>
- </memory>
- <jobs>12</jobs>
- </hardware>
- </overwrite>
- <overwrite>
- <conditions>
- <arch>aarch64</arch>
- </conditions>
- <hardware>
- <cpu>
- <flag>asimdrdm</flag> <!-- prevent scheduling on old machines -->
- </cpu>
- </hardware>
- </overwrite>
+ <hardware>
+ <disk>
+ <size unit="G">24</size>
+ </disk>
+ <memory>
+ <size unit="G">8</size>
+ </memory>
+ <jobs>6</jobs>
+ </hardware>
+ <overwrite>
+ <conditions>
+ <arch>aarch64</arch>
+ </conditions>
+ <hardware>
+ <memory>
+ <size unit="G">20</size>
+ </memory>
+ </hardware>
+ </overwrite>
+ <overwrite>
+ <conditions>
+ <arch>x86_64</arch>
+ </conditions>
+ <hardware>
+ <memory>
+ <size unit="G">30</size>
+ </memory>
+ <jobs>8</jobs>
+ </hardware>
+ </overwrite>
+ <overwrite>
+ <conditions>
+ <arch>aarch64</arch>
+ <arch>armv7l</arch>
+ <arch>armv6l</arch>
+ </conditions>
+ <hardware>
+ <cpu>
+ <flag>asimdrdm</flag> <!-- prevent scheduling on old machines -->
+ </cpu>
+ </hardware>
+ </overwrite>
</constraints>
++++++ create_tarball.sh ++++++
--- /var/tmp/diff_new_pack.6lgH1q/_old 2023-08-31 13:51:52.029410435 +0200
+++ /var/tmp/diff_new_pack.6lgH1q/_new 2023-08-31 13:51:52.033410579 +0200
@@ -230,7 +230,7 @@
third_party/libaom/source/libaom/third_party/vector
third_party/libaom/source/libaom/third_party/x86inc
third_party/libavif #leap too old
- third_party/libgav1 #Usage of private headers (ObuFrameHeader from utils/types.h)
+ #third_party/libgav1 #Usage of private headers (ObuFrameHeader from utils/types.h) in VAAPI code only
third_party/libjxl #not in Leap
third_party/libphonenumber #Depends on protobuf which cannot be unbundled
third_party/libsrtp #Use of private headers. they were public in libsrtp1
@@ -238,8 +238,8 @@
third_party/libudev #Headers for a optional delay-loaded dependency
third_party/liburlpattern #Derived code, not vendored dep.
third_party/libva_protected_content #ChromeOS header not available separately. needed for build.
- third_party/libvpx #Use of private headers in VAAPI code only.
- third_party/libvpx/source/libvpx/third_party/x86inc
+ #third_party/libvpx #Use of private headers in VAAPI code only.
+ #third_party/libvpx/source/libvpx/third_party/x86inc
third_party/libwebm #Usage of private headers (mkvparser/mkvmuxer)
third_party/libx11 #Derived code, not vendored dep
third_party/libxcb-keysyms #Derived code, not vendored dep
@@ -257,14 +257,15 @@
third_party/one_euro_filter #not in any distro
third_party/openscreen #Integral part of chrome, needed even if you're building without.
third_party/openscreen/src/third_party/mozilla #derived code, not vendored dependency
- third_party/openscreen/src/third_party/tinycbor/src/src #not in any distro
+ third_party/openscreen/src/third_party/tinycbor #not in any distro
third_party/ots #not available as a shared library. Fedora has the cli version as opentype-sanitizer
- third_party/pdfium #Integral part of chrome
- third_party/pdfium/third_party/agg23 #Heavily patched version. Fedora has it as agg
- third_party/pdfium/third_party/base #derived code, not vendored dependency
- third_party/pdfium/third_party/bigint #not on any distro
- third_party/pdfium/third_party/freetype #Copy of private headers
- third_party/pdfium/third_party/skia_shared #Skia is not available as a shared library yet.
+ #we don't build pdf support, removing it from tarball to save space
+ #third_party/pdfium #Part of chrome, not available separately.
+ #third_party/pdfium/third_party/agg23 #Heavily patched version. Fedora has it as agg
+ #third_party/pdfium/third_party/base #derived code, not vendored dependency
+ #third_party/pdfium/third_party/bigint #not on any distro
+ #third_party/pdfium/third_party/freetype #Copy of private headers
+ #third_party/pdfium/third_party/skia_shared #Skia is not available as a shared library yet.
third_party/perfetto #Seems not to be available as a shared library, despite the presence of a `debian` directory.
third_party/perfetto/protos/third_party/chromium #derived code, not vendored dep
third_party/pffft #not in any distro, also heavily patched
@@ -355,6 +356,7 @@
rm -rf third_party/catapult/tracing/test_data # 200MB
rm -rf third_party/sqlite/src/test #86MB
find chrome/test/data -type f ! -name "*.gn" -a ! -name "*.gni" -delete #249MB, thanks Mageia
+find third_party/hunspell_dictionaries -type f ! -name "*.gn" -a ! -name "*.gni" -delete #262MB
#see electron/.circleci/config/base.yml
rm -rf android_webview
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pynetbox for openSUSE:Factory checked in at 2023-08-31 13:45:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pynetbox (Old)
and /work/SRC/openSUSE:Factory/.python-pynetbox.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pynetbox"
Thu Aug 31 13:45:48 2023 rev:34 rq:1108076 version:7.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pynetbox/python-pynetbox.changes 2023-01-24 20:32:54.936560332 +0100
+++ /work/SRC/openSUSE:Factory/.python-pynetbox.new.1766/python-pynetbox.changes 2023-08-31 13:51:33.256739456 +0200
@@ -1,0 +2,11 @@
+Wed Aug 30 09:18:50 UTC 2023 - Matej Cepl <mcepl(a)suse.com>
+
+- Clean up the SPEC file
+
+-------------------------------------------------------------------
+Tue Aug 29 15:03:55 UTC 2023 - Martin Hauke <mardnh(a)gmx.de>
+
+- Update to version 7.1.0
+ * Add support for NetBox v3.5.
+
+-------------------------------------------------------------------
Old:
----
pynetbox-7.0.1.tar.gz
New:
----
pynetbox-7.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pynetbox.spec ++++++
--- /var/tmp/diff_new_pack.plyhDd/_old 2023-08-31 13:51:34.244774770 +0200
+++ /var/tmp/diff_new_pack.plyhDd/_new 2023-08-31 13:51:34.248774913 +0200
@@ -18,7 +18,7 @@
%define skip_python2 1
Name: python-pynetbox
-Version: 7.0.1
+Version: 7.1.0
Release: 0
Summary: NetBox API client library
License: Apache-2.0
@@ -27,13 +27,14 @@
Source: https://files.pythonhosted.org/packages/source/p/pynetbox/pynetbox-%{versio…
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module netaddr}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools_scm}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-netaddr
+Requires: python-packaging
Requires: python-requests >= 2.20.0
BuildArch: noarch
%python_subpackages
@@ -42,13 +43,13 @@
Python API client library for NetBox.
%prep
-%setup -q -n pynetbox-%{version}
+%autosetup -p1 -n pynetbox-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# remove testsuite from sitelib
%python_expand rm -rf %{buildroot}%{$python_sitelib}/tests
@@ -59,6 +60,7 @@
%files %{python_files}
%doc README.md CHANGELOG.md
%license LICENSE
-%{python_sitelib}/pynetbox*
+%{python_sitelib}/pynetbox
+%{python_sitelib}/pynetbox-%{version}*-info
%changelog
++++++ pynetbox-7.0.1.tar.gz -> pynetbox-7.1.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/.github/workflows/py3.yml new/pynetbox-7.1.0/.github/workflows/py3.yml
--- old/pynetbox-7.0.1/.github/workflows/py3.yml 2023-01-23 21:38:54.000000000 +0100
+++ new/pynetbox-7.1.0/.github/workflows/py3.yml 2023-08-25 23:32:09.000000000 +0200
@@ -13,7 +13,7 @@
strategy:
matrix:
python: ["3.8", "3.9", "3.10"]
- netbox: ["3.3"]
+ netbox: ["3.3", "3.4", "3.5"]
steps:
- uses: actions/checkout@v2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/PKG-INFO new/pynetbox-7.1.0/PKG-INFO
--- old/pynetbox-7.0.1/PKG-INFO 2023-01-23 21:39:05.135211500 +0100
+++ new/pynetbox-7.1.0/PKG-INFO 2023-08-25 23:32:21.930426100 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pynetbox
-Version: 7.0.1
+Version: 7.1.0
Summary: NetBox API client library
Home-page: https://github.com/netbox-community/pynetbox
Author: Zach Moody
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/README.md new/pynetbox-7.1.0/README.md
--- old/pynetbox-7.0.1/README.md 2023-01-23 21:38:54.000000000 +0100
+++ new/pynetbox-7.1.0/README.md 2023-08-25 23:32:09.000000000 +0200
@@ -57,3 +57,11 @@
threading=True,
)
```
+
+## Alternative Library
+
+> **Note:** For those interested in a different approach, there is an alternative Python API client library available for NetBox called [netbox-python](https://github.com/netbox-community/netbox-python). This library provides a thin Python wrapper over the NetBox API.
+
+[netbox-python](https://github.com/netbox-community/netbox-python) offers a minimalistic interface to interact with NetBox's API. While it may not provide all the features available in pynetbox, it offers a lightweight and straightforward option for interfacing with NetBox.
+
+To explore further details and access the documentation, please visit the [netbox-python](https://github.com/netbox-community/netbox-python).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/pynetbox/__init__.py new/pynetbox-7.1.0/pynetbox/__init__.py
--- old/pynetbox-7.0.1/pynetbox/__init__.py 2023-01-23 21:38:54.000000000 +0100
+++ new/pynetbox-7.1.0/pynetbox/__init__.py 2023-08-25 23:32:09.000000000 +0200
@@ -1,9 +1,6 @@
-from pkg_resources import get_distribution, DistributionNotFound
+from importlib.metadata import metadata
from pynetbox.core.query import RequestError, AllocationError, ContentError
from pynetbox.core.api import Api as api
-try:
- __version__ = get_distribution(__name__).version
-except DistributionNotFound:
- pass
+__version__ = metadata(__name__).get("Version")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/pynetbox/core/api.py new/pynetbox-7.1.0/pynetbox/core/api.py
--- old/pynetbox-7.0.1/pynetbox/core/api.py 2023-01-23 21:38:54.000000000 +0100
+++ new/pynetbox-7.1.0/pynetbox/core/api.py 2023-08-25 23:32:09.000000000 +0200
@@ -27,6 +27,7 @@
you can specify which app and endpoint you wish to interact with.
Valid attributes currently are:
+ * core (NetBox 3.5+)
* dcim
* ipam
* circuits
@@ -74,6 +75,7 @@
self.base_url = base_url
self.http_session = requests.Session()
self.threading = threading
+ self.core = App(self, "core")
self.dcim = App(self, "dcim")
self.ipam = App(self, "ipam")
self.circuits = App(self, "circuits")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/pynetbox/core/endpoint.py new/pynetbox-7.1.0/pynetbox/core/endpoint.py
--- old/pynetbox-7.0.1/pynetbox/core/endpoint.py 2023-01-23 21:38:54.000000000 +0100
+++ new/pynetbox-7.1.0/pynetbox/core/endpoint.py 2023-08-25 23:32:09.000000000 +0200
@@ -458,7 +458,9 @@
series = []
if not isinstance(objects, list):
raise ValueError(
- "Objects passed must be list[dict|Record] - was " + type(objects)
+ "Objects passed must be list[dict|Record] - was {}".format(
+ type(objects)
+ )
)
for o in objects:
if isinstance(o, Record):
@@ -472,7 +474,7 @@
series.append(o)
else:
raise ValueError(
- "Object passed must be dict|Record - was " + type(objects)
+ "Object passed must be dict|Record - was {}".format(type(objects))
)
req = Request(
base=self.url,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/pynetbox/core/query.py new/pynetbox-7.1.0/pynetbox/core/query.py
--- old/pynetbox-7.0.1/pynetbox/core/query.py 2023-01-23 21:38:54.000000000 +0100
+++ new/pynetbox-7.1.0/pynetbox/core/query.py 2023-08-25 23:32:09.000000000 +0200
@@ -15,6 +15,7 @@
"""
import concurrent.futures as cf
import json
+from packaging import version
def calc_pages(limit, count):
@@ -153,12 +154,22 @@
def get_openapi(self):
"""Gets the OpenAPI Spec"""
headers = {
- "Content-Type": "application/json;",
+ "Accept": "application/json",
+ "Content-Type": "application/json",
}
- req = self.http_session.get(
- "{}docs/?format=openapi".format(self.normalize_url(self.base)),
- headers=headers,
- )
+
+ current_version = version.parse(self.get_version())
+ if current_version >= version.parse("3.5"):
+ req = self.http_session.get(
+ "{}schema/".format(self.normalize_url(self.base)),
+ headers=headers,
+ )
+ else:
+ req = self.http_session.get(
+ "{}docs/?format=openapi".format(self.normalize_url(self.base)),
+ headers=headers,
+ )
+
if req.ok:
return req.json()
else:
@@ -175,7 +186,7 @@
present in the headers.
"""
headers = {
- "Content-Type": "application/json;",
+ "Content-Type": "application/json",
}
req = self.http_session.get(
self.normalize_url(self.base),
@@ -192,7 +203,7 @@
:Returns: Dictionary as returned by NetBox.
:Raises: RequestError if request is not successful.
"""
- headers = {"Content-Type": "application/json;"}
+ headers = {"Content-Type": "application/json"}
if self.token:
headers["authorization"] = "Token {}".format(self.token)
req = self.http_session.get(
@@ -213,9 +224,9 @@
def _make_call(self, verb="get", url_override=None, add_params=None, data=None):
if verb in ("post", "put") or verb == "delete" and data:
- headers = {"Content-Type": "application/json;"}
+ headers = {"Content-Type": "application/json"}
else:
- headers = {"accept": "application/json;"}
+ headers = {"accept": "application/json"}
if self.token:
headers["authorization"] = "Token {}".format(self.token)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/pynetbox/models/dcim.py new/pynetbox-7.1.0/pynetbox/models/dcim.py
--- old/pynetbox-7.0.1/pynetbox/models/dcim.py 2023-01-23 21:38:54.000000000 +0100
+++ new/pynetbox-7.1.0/pynetbox/models/dcim.py 2023-08-25 23:32:09.000000000 +0200
@@ -17,7 +17,7 @@
from pynetbox.core.query import Request
from pynetbox.core.response import Record, JsonField
-from pynetbox.core.endpoint import RODetailEndpoint
+from pynetbox.core.endpoint import RODetailEndpoint, DetailEndpoint
from pynetbox.models.ipam import IpAddresses
from pynetbox.models.circuits import Circuits
@@ -121,6 +121,23 @@
"""
return RODetailEndpoint(self, "napalm")
+ @property
+ def render_config(self):
+ """
+ Represents the ``render-config`` detail endpoint.
+
+ Returns a DetailEndpoint object that is the interface for
+ viewing response from the render-config endpoint.
+
+ :returns: :py:class:`.DetailEndpoint`
+
+ :Examples:
+
+ >>> device = nb.ipam.devices.get(123)
+ >>> device.render_config.create()
+ """
+ return DetailEndpoint(self, "render-config")
+
class InterfaceConnections(Record):
def __str__(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/pynetbox/models/ipam.py new/pynetbox-7.1.0/pynetbox/models/ipam.py
--- old/pynetbox-7.0.1/pynetbox/models/ipam.py 2023-01-23 21:38:54.000000000 +0100
+++ new/pynetbox-7.1.0/pynetbox/models/ipam.py 2023-08-25 23:32:09.000000000 +0200
@@ -162,3 +162,33 @@
NewVLAN (10)
"""
return DetailEndpoint(self, "available-vlans", custom_return=Vlans)
+
+
+class AsnRanges(Record):
+ @property
+ def available_asns(self):
+ """
+ Represents the ``available-asns`` detail endpoint.
+
+ Returns a DetailEndpoint object that is the interface for
+ viewing and creating ASNs inside an ASN range.
+
+ :returns: :py:class:`.DetailEndpoint`
+
+ :Examples:
+
+ >>> asn_range = nb.ipam.asn_ranges.get(1)
+ >>> asn_range.available_asns.list()
+ [64512, 64513, 64514]
+
+ To create a new ASN:
+
+ >>> asn_range.available_asns.create()
+ 64512
+
+ To create multiple ASNs:
+
+ >>> asn_range.available_asns.create([{} for i in range(2)])
+ [64513, 64514]
+ """
+ return DetailEndpoint(self, "available-asns")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/pynetbox/models/mapper.py new/pynetbox-7.1.0/pynetbox/models/mapper.py
--- old/pynetbox-7.0.1/pynetbox/models/mapper.py 2023-01-23 21:38:54.000000000 +0100
+++ new/pynetbox-7.1.0/pynetbox/models/mapper.py 2023-08-25 23:32:09.000000000 +0200
@@ -59,7 +59,7 @@
"dcim.poweroutlet": PowerOutlets,
"dcim.poweroutlettemplate": None,
"dcim.powerpanel": None,
- "dcim.powerport": ConsolePorts,
+ "dcim.powerport": PowerPorts,
"dcim.powerporttemplate": None,
"dcim.rack": Racks,
"dcim.rackreservation": RackReservations,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/pynetbox.egg-info/PKG-INFO new/pynetbox-7.1.0/pynetbox.egg-info/PKG-INFO
--- old/pynetbox-7.0.1/pynetbox.egg-info/PKG-INFO 2023-01-23 21:39:05.000000000 +0100
+++ new/pynetbox-7.1.0/pynetbox.egg-info/PKG-INFO 2023-08-25 23:32:21.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pynetbox
-Version: 7.0.1
+Version: 7.1.0
Summary: NetBox API client library
Home-page: https://github.com/netbox-community/pynetbox
Author: Zach Moody
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/pynetbox.egg-info/requires.txt new/pynetbox-7.1.0/pynetbox.egg-info/requires.txt
--- old/pynetbox-7.0.1/pynetbox.egg-info/requires.txt 2023-01-23 21:39:05.000000000 +0100
+++ new/pynetbox-7.1.0/pynetbox.egg-info/requires.txt 2023-08-25 23:32:21.000000000 +0200
@@ -1 +1,2 @@
requests<3.0,>=2.20.0
+packaging<24.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/requirements-dev.txt new/pynetbox-7.1.0/requirements-dev.txt
--- old/pynetbox-7.0.1/requirements-dev.txt 2023-01-23 21:38:54.000000000 +0100
+++ new/pynetbox-7.1.0/requirements-dev.txt 2023-08-25 23:32:09.000000000 +0200
@@ -1,4 +1,4 @@
black~=22.10
pytest==7.1.*
pytest-docker==1.0.*
-PyYAML==6.0
+PyYAML==6.0.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/requirements.txt new/pynetbox-7.1.0/requirements.txt
--- old/pynetbox-7.0.1/requirements.txt 2023-01-23 21:38:54.000000000 +0100
+++ new/pynetbox-7.1.0/requirements.txt 2023-08-25 23:32:09.000000000 +0200
@@ -1 +1,2 @@
requests>=2.20.0,<3.0
+packaging<24.0
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/setup.py new/pynetbox-7.1.0/setup.py
--- old/pynetbox-7.0.1/setup.py 2023-01-23 21:38:54.000000000 +0100
+++ new/pynetbox-7.1.0/setup.py 2023-08-25 23:32:09.000000000 +0200
@@ -13,6 +13,7 @@
packages=find_packages(exclude=["tests", "tests.*"]),
install_requires=[
"requests>=2.20.0,<3.0",
+ "packaging<24.0"
],
zip_safe=False,
keywords=["netbox"],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/tests/integration/conftest.py new/pynetbox-7.1.0/tests/integration/conftest.py
--- old/pynetbox-7.0.1/tests/integration/conftest.py 2023-01-23 21:38:54.000000000 +0100
+++ new/pynetbox-7.1.0/tests/integration/conftest.py 2023-08-25 23:32:09.000000000 +0200
@@ -28,7 +28,11 @@
major, minor = netbox_version.major, netbox_version.minor
if (major, minor) == (3, 3):
- tag = "2.2.0"
+ tag = "2.3.0"
+ elif (major, minor) == (3, 4):
+ tag = "2.5.3"
+ elif (major, minor) == (3, 5):
+ tag = "2.6.1"
else:
raise NotImplementedError(
"Version %s is not currently supported" % netbox_version
@@ -48,7 +52,7 @@
try:
subp.check_call(["which", "git"])
except subp.CalledProcessError:
- pytest.skip(msg="git executable was not found on the host")
+ pytest.skip(reason="git executable was not found on the host")
return (
subp.check_output(["git", "rev-parse", "--show-toplevel"])
.decode("utf-8")
@@ -73,7 +77,7 @@
try:
subp.check_call(["which", "docker"])
except subp.CalledProcessError:
- pytest.skip(msg="docker executable was not found on the host")
+ pytest.skip(reason="docker executable was not found on the host")
netbox_versions_by_repo_dirpaths = {}
for netbox_version in pytestconfig.option.netbox_versions:
repo_version_tag = get_netbox_docker_version_tag(netbox_version=netbox_version)
@@ -248,6 +252,14 @@
"netboxcommunity/netbox:v%s" % netbox_version
)
+ new_services[new_service_name]["environment"] = {
+ "SKIP_SUPERUSER": "false",
+ "SUPERUSER_API_TOKEN": "0123456789abcdef0123456789abcdef01234567",
+ "SUPERUSER_EMAIL": "admin(a)example.com",
+ "SUPERUSER_NAME": "admin",
+ "SUPERUSER_PASSWORD": "admin",
+ }
+
if service_name == "netbox":
# ensure the netbox container listens on a random port
new_services[new_service_name]["ports"] = ["8080"]
@@ -341,7 +353,7 @@
def netbox_is_responsive(url):
- """Chack if the HTTP service is up and responsive."""
+ """Check if the HTTP service is up and responsive."""
try:
response = requests.get(url)
if response.status_code == 200:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/tests/test_circuits.py new/pynetbox-7.1.0/tests/test_circuits.py
--- old/pynetbox-7.0.1/tests/test_circuits.py 2023-01-23 21:38:54.000000000 +0100
+++ new/pynetbox-7.1.0/tests/test_circuits.py 2023-08-25 23:32:09.000000000 +0200
@@ -11,7 +11,7 @@
nb = api.circuits
-HEADERS = {"accept": "application/json;"}
+HEADERS = {"accept": "application/json"}
class Generic:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/tests/test_tenancy.py new/pynetbox-7.1.0/tests/test_tenancy.py
--- old/pynetbox-7.0.1/tests/test_tenancy.py 2023-01-23 21:38:54.000000000 +0100
+++ new/pynetbox-7.1.0/tests/test_tenancy.py 2023-08-25 23:32:09.000000000 +0200
@@ -11,7 +11,7 @@
nb = api.tenancy
-HEADERS = {"accept": "application/json;"}
+HEADERS = {"accept": "application/json"}
class Generic:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/tests/test_users.py new/pynetbox-7.1.0/tests/test_users.py
--- old/pynetbox-7.0.1/tests/test_users.py 2023-01-23 21:38:54.000000000 +0100
+++ new/pynetbox-7.1.0/tests/test_users.py 2023-08-25 23:32:09.000000000 +0200
@@ -11,7 +11,7 @@
nb = api.users
-HEADERS = {"accept": "application/json;"}
+HEADERS = {"accept": "application/json"}
class Generic:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/tests/test_virtualization.py new/pynetbox-7.1.0/tests/test_virtualization.py
--- old/pynetbox-7.0.1/tests/test_virtualization.py 2023-01-23 21:38:54.000000000 +0100
+++ new/pynetbox-7.1.0/tests/test_virtualization.py 2023-08-25 23:32:09.000000000 +0200
@@ -11,7 +11,7 @@
nb = api.virtualization
-HEADERS = {"accept": "application/json;"}
+HEADERS = {"accept": "application/json"}
class Generic:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/tests/test_wireless.py new/pynetbox-7.1.0/tests/test_wireless.py
--- old/pynetbox-7.0.1/tests/test_wireless.py 2023-01-23 21:38:54.000000000 +0100
+++ new/pynetbox-7.1.0/tests/test_wireless.py 2023-08-25 23:32:09.000000000 +0200
@@ -9,7 +9,7 @@
nb_app = api.wireless
-HEADERS = {"accept": "application/json;"}
+HEADERS = {"accept": "application/json"}
class Generic:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/tests/unit/test_query.py new/pynetbox-7.1.0/tests/unit/test_query.py
--- old/pynetbox-7.0.1/tests/unit/test_query.py 2023-01-23 21:38:54.000000000 +0100
+++ new/pynetbox-7.1.0/tests/unit/test_query.py 2023-08-25 23:32:09.000000000 +0200
@@ -20,7 +20,7 @@
expected = call(
"http://localhost:8001/api/dcim/devices/",
params={"q": "abcd", "limit": 1},
- headers={"accept": "application/json;"},
+ headers={"accept": "application/json"},
)
test_obj.http_session.get.ok = True
test = test_obj.get_count()
@@ -28,7 +28,7 @@
test_obj.http_session.get.assert_called_with(
"http://localhost:8001/api/dcim/devices/",
params={"q": "abcd", "limit": 1},
- headers={"accept": "application/json;"},
+ headers={"accept": "application/json"},
json=None,
)
@@ -49,7 +49,7 @@
test_obj.http_session.get.assert_called_with(
"http://localhost:8001/api/dcim/devices/",
params={"limit": 1},
- headers={"accept": "application/json;"},
+ headers={"accept": "application/json"},
json=None,
)
@@ -69,7 +69,7 @@
expected = call(
"http://localhost:8001/api/dcim/devices/",
params={"offset": 20, "limit": 10},
- headers={"accept": "application/json;"},
+ headers={"accept": "application/json"},
)
test_obj.http_session.get.ok = True
generator = test_obj.get()
@@ -77,6 +77,6 @@
test_obj.http_session.get.assert_called_with(
"http://localhost:8001/api/dcim/devices/",
params={"offset": 20, "limit": 10},
- headers={"accept": "application/json;"},
+ headers={"accept": "application/json"},
json=None,
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynetbox-7.0.1/tests/unit/test_request.py new/pynetbox-7.1.0/tests/unit/test_request.py
--- old/pynetbox-7.0.1/tests/unit/test_request.py 2023-01-23 21:38:54.000000000 +0100
+++ new/pynetbox-7.1.0/tests/unit/test_request.py 2023-08-25 23:32:09.000000000 +0200
@@ -5,10 +5,32 @@
class RequestTestCase(unittest.TestCase):
- def test_get_openapi(self):
+ def test_get_openapi_version_less_than_3_5(self):
test = Request("http://localhost:8080/api", Mock())
+ test.get_version = Mock(return_value="3.4")
+
+ # Mock the HTTP response
+ response_mock = Mock()
+ response_mock.ok = True
+ test.http_session.get.return_value = response_mock
+
test.get_openapi()
test.http_session.get.assert_called_with(
"http://localhost:8080/api/docs/?format=openapi",
- headers={"Content-Type": "application/json;"},
+ headers={"Accept": "application/json", "Content-Type": "application/json"},
+ )
+
+ def test_get_openapi_version_3_5_or_greater(self):
+ test = Request("http://localhost:8080/api", Mock())
+ test.get_version = Mock(return_value="3.5")
+
+ # Mock the HTTP response
+ response_mock = Mock()
+ response_mock.ok = True
+ test.http_session.get.return_value = response_mock
+
+ test.get_openapi()
+ test.http_session.get.assert_called_with(
+ "http://localhost:8080/api/schema/",
+ headers={"Accept": "application/json", "Content-Type": "application/json"},
)
1
0