Accepting request 1219348 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1219348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-proton-vpn-api-core?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2024-10-30 16:38:22 +00:00 committed by Git OBS Bridge
commit fb68fb3e35
4 changed files with 63 additions and 11 deletions

View File

@ -1,3 +1,55 @@
-------------------------------------------------------------------
Thu Oct 24 00:35:05 UTC 2024 - Yunhe Guo <i@guoyunhe.me>
- Conflicts python-proton-vpn-connection
- Conflicts python-proton-vpn-killswitch
- Conflicts python-proton-vpn-logger
- Update to 0.35.5
* Fix regression sending errors to sentry.
* Fix to rpm package.spec, added accidentally removed Obsoletes statement.
* Send all errors to sentry, but swallow api errors.
* Merge logger package into this one.
* Fix refregresion (logout user on 401 API error).
* Catch and send LA errors to sentry.
* Import refreshers from app.
* Ensure there is a way to disable IPv6.
* Change IPv6 default value and move out of the features dict.
* Properly configure OpenVPN with IPv6 value.
* Pass IPv6 value.
* Put changes to fetching with timestamp (If-Modified-Since), behind a feature flag.
* Fixes support for 'If-Modified-Since', expiration times.
* Fixes support for 'If-Modified-Since' header in server list requests.
* This adds support for 'If-Modified-Since' header in server list requests.
* Make sure features cant be request after connection as well.
* Expose property in VPNConnection to know if features can be applied on active connections.
* Tier 0 level users can't control the features they have. So don't send any feature requests for them.
* Fix crash after logout
* Get rid of VPNConnectorWrapper.
* Enable wireguard feature flag by default.
* Handle UnicodeDecodeError when loading persisted VPN connection.
* Update connection features via local agent if available.
* Disconnect and notify the user when the maximum number of sessions is reached.
* Handle ExpiredCertificate events.
* Update default feature flags and update feature flags interface.
* Update credentials in the background
* Fix crash initializing VPN connector.
* Update VPN credentials when an active VPN connection is found at startup.
* Merge connection and kill switch packages into this one.
* Improve testing to capture when default value is being passed.
* Implement and expose feature flags.
* Move local agent management into wireguard backend.
* Send CPU architecture following semver's specs.
* Switched over to async local agent api.
* Attempt to use external local agent package, otherwise fallback to existent one.
* Add the architecture in the appversion field for ProtonSSO.
* Switch over to automatically generated changelogs for debian and rpm.
* Fix sentry error sanitization crash.
* Fix certificate duration regression.
* Send wireguard certificate to server via local agent.
* Increase certificate duration.
* Refactor of Settings to ensure settings are only saved when they are changed.
* Stop raising exceptions when getting wireguard certificate and it is expired.
-------------------------------------------------------------------
Wed May 22 11:28:37 UTC 2024 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>

View File

@ -18,21 +18,19 @@
%{?sle15_python_module_pythons}
Name: python-proton-vpn-api-core
Version: 0.24.4
Version: 0.35.5
Release: 0
Summary: Proton VPN API library
License: GPL-3.0-or-later
Group: Development/Languages/Python
URL: https://github.com/ProtonVPN/python-proton-vpn-api-core
Source: https://github.com/ProtonVPN/python-proton-vpn-api-core/archive/refs/tags/v%{version}.tar.gz
BuildRequires: %{python_module Jinja2}
BuildRequires: %{python_module PyNaCl}
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module distro}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module proton-core}
BuildRequires: %{python_module proton-vpn-connection}
BuildRequires: %{python_module proton-vpn-killswitch}
BuildRequires: %{python_module proton-vpn-logger}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
@ -41,14 +39,15 @@ BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
Requires: python-Jinja2
Requires: python-PyNaCl
Requires: python-cryptography
Requires: python-distro
Requires: python-proton-core
Requires: python-proton-vpn-connection
Requires: python-proton-vpn-killswitch
Requires: python-proton-vpn-logger
Requires: python-sentry-sdk
Conflicts: python-proton-vpn-connection
Conflicts: python-proton-vpn-killswitch
Conflicts: python-proton-vpn-logger
BuildArch: noarch
%python_subpackages
@ -66,7 +65,8 @@ This package contains a facade to the other Proton VPN components, exposing a un
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest tests
# See https://github.com/ProtonVPN/python-proton-vpn-api-core/issues/4
%pytest tests --deselect="tests/connection/test_vpnconfiguration.py"
%files %{python_files}
%license LICENSE

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ef39e9134d0945b466dfe324df67a216742fc7b431689b4955ed58117703f8c6
size 63736

3
v0.35.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f81968376b4dff850497a79cf6b858e5a4aff4976538663eef95d64db47fbd43
size 115028