openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- 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
December 2023
- 1 participants
- 1465 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-hcloud for openSUSE:Factory checked in at 2023-12-28 23:01:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hcloud (Old)
and /work/SRC/openSUSE:Factory/.python-hcloud.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hcloud"
Thu Dec 28 23:01:41 2023 rev:6 rq:1135281 version:1.33.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hcloud/python-hcloud.changes 2023-12-08 22:32:42.717453693 +0100
+++ /work/SRC/openSUSE:Factory/.python-hcloud.new.28375/python-hcloud.changes 2023-12-28 23:03:19.310517739 +0100
@@ -1,0 +2,7 @@
+Wed Dec 27 10:53:21 UTC 2023 - Dirk Müller <dmueller(a)suse.com>
+
+- update to 1.33.0:
+ * add metrics endpoint for load balancers and servers (#331)
+ * fallback to error code when message is unset (#328)
+
+-------------------------------------------------------------------
Old:
----
hcloud-1.32.0.tar.gz
New:
----
hcloud-1.33.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-hcloud.spec ++++++
--- /var/tmp/diff_new_pack.2OBLtv/_old 2023-12-28 23:03:20.022543762 +0100
+++ /var/tmp/diff_new_pack.2OBLtv/_new 2023-12-28 23:03:20.022543762 +0100
@@ -17,7 +17,7 @@
Name: python-hcloud
-Version: 1.32.0
+Version: 1.33.0
Release: 0
Summary: Hetzner Cloud Python library
License: MIT
++++++ hcloud-1.32.0.tar.gz -> hcloud-1.33.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hcloud-1.32.0/CHANGELOG.md new/hcloud-1.33.0/CHANGELOG.md
--- old/hcloud-1.32.0/CHANGELOG.md 2023-11-17 15:09:57.000000000 +0100
+++ new/hcloud-1.33.0/CHANGELOG.md 2023-12-19 17:33:48.000000000 +0100
@@ -1,5 +1,27 @@
# Changelog
+## [1.33.0](https://github.com/hetznercloud/hcloud-python/compare/v1.32.0...v1.… (2023-12-19)
+
+
+### Features
+
+* add metrics endpoint for load balancers and servers ([#331](https://github.com/hetznercloud/hcloud-python/issues/331)) ([ee3c54f](https://github.com/hetznercloud/hcloud-python/commit/ee3c54fd1b696…)
+
+
+### Bug Fixes
+
+* fallback to error code when message is unset ([#328](https://github.com/hetznercloud/hcloud-python/issues/328)) ([1c94153](https://github.com/hetznercloud/hcloud-python/commit/1c94153d93acd…)
+
+
+### Dependencies
+
+* update actions/setup-python action to v5 ([#335](https://github.com/hetznercloud/hcloud-python/issues/335)) ([2ac252d](https://github.com/hetznercloud/hcloud-python/commit/2ac252d18ba60…)
+* update dependency sphinx-rtd-theme to v2 ([#330](https://github.com/hetznercloud/hcloud-python/issues/330)) ([7cc4335](https://github.com/hetznercloud/hcloud-python/commit/7cc4335cacab6…)
+* update pre-commit hook psf/black-pre-commit-mirror to v23.12.0 ([#338](https://github.com/hetznercloud/hcloud-python/issues/338)) ([38e4748](https://github.com/hetznercloud/hcloud-python/commit/38e4748d3d194…)
+* update pre-commit hook pycqa/isort to v5.13.0 ([#336](https://github.com/hetznercloud/hcloud-python/issues/336)) ([3244cfe](https://github.com/hetznercloud/hcloud-python/commit/3244cfef2f90e…)
+* update pre-commit hook pycqa/isort to v5.13.1 ([#337](https://github.com/hetznercloud/hcloud-python/issues/337)) ([020a0ef](https://github.com/hetznercloud/hcloud-python/commit/020a0eff6bc2b…)
+* update pre-commit hook pycqa/isort to v5.13.2 ([#339](https://github.com/hetznercloud/hcloud-python/issues/339)) ([b46df8c](https://github.com/hetznercloud/hcloud-python/commit/b46df8cbb2639…)
+
## [1.32.0](https://github.com/hetznercloud/hcloud-python/compare/v1.31.0...v1.… (2023-11-17)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hcloud-1.32.0/PKG-INFO new/hcloud-1.33.0/PKG-INFO
--- old/hcloud-1.32.0/PKG-INFO 2023-11-17 15:10:09.478945300 +0100
+++ new/hcloud-1.33.0/PKG-INFO 2023-12-19 17:34:00.156214000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: hcloud
-Version: 1.32.0
+Version: 1.33.0
Summary: Official Hetzner Cloud python library
Home-page: https://github.com/hetznercloud/hcloud-python
Author: Hetzner Cloud GmbH
@@ -28,7 +28,7 @@
Requires-Dist: requests>=2.20
Provides-Extra: docs
Requires-Dist: sphinx<7.3,>=7.2.2; extra == "docs"
-Requires-Dist: sphinx-rtd-theme<1.4,>=1.3.0; extra == "docs"
+Requires-Dist: sphinx-rtd-theme<2.1,>=2; extra == "docs"
Requires-Dist: myst-parser<2.1,>=2.0.0; extra == "docs"
Requires-Dist: watchdog<3.1,>=3.0.0; extra == "docs"
Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hcloud-1.32.0/hcloud/__version__.py new/hcloud-1.33.0/hcloud/__version__.py
--- old/hcloud-1.32.0/hcloud/__version__.py 2023-11-17 15:09:57.000000000 +0100
+++ new/hcloud-1.33.0/hcloud/__version__.py 2023-12-19 17:33:48.000000000 +0100
@@ -1,3 +1,3 @@
from __future__ import annotations
-VERSION = "1.32.0" # x-release-please-version
+VERSION = "1.33.0" # x-release-please-version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hcloud-1.32.0/hcloud/_exceptions.py new/hcloud-1.33.0/hcloud/_exceptions.py
--- old/hcloud-1.32.0/hcloud/_exceptions.py 2023-11-17 15:09:57.000000000 +0100
+++ new/hcloud-1.33.0/hcloud/_exceptions.py 2023-12-19 17:33:48.000000000 +0100
@@ -10,8 +10,8 @@
class APIException(HCloudException):
"""There was an error while performing an API Request"""
- def __init__(self, code: int | str, message: str, details: Any):
- super().__init__(message)
+ def __init__(self, code: int | str, message: str | None, details: Any):
+ super().__init__(code if message is None and isinstance(code, str) else message)
self.code = code
self.message = message
self.details = details
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hcloud-1.32.0/hcloud/load_balancers/__init__.py new/hcloud-1.33.0/hcloud/load_balancers/__init__.py
--- old/hcloud-1.32.0/hcloud/load_balancers/__init__.py 2023-11-17 15:09:57.000000000 +0100
+++ new/hcloud-1.33.0/hcloud/load_balancers/__init__.py 2023-12-19 17:33:48.000000000 +0100
@@ -7,6 +7,7 @@
)
from .domain import ( # noqa: F401
CreateLoadBalancerResponse,
+ GetMetricsResponse,
IPv4Address,
IPv6Network,
LoadBalancer,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hcloud-1.32.0/hcloud/load_balancers/client.py new/hcloud-1.33.0/hcloud/load_balancers/client.py
--- old/hcloud-1.32.0/hcloud/load_balancers/client.py 2023-11-17 15:09:57.000000000 +0100
+++ new/hcloud-1.33.0/hcloud/load_balancers/client.py 2023-12-19 17:33:48.000000000 +0100
@@ -1,16 +1,21 @@
from __future__ import annotations
+from datetime import datetime
from typing import TYPE_CHECKING, Any, NamedTuple
+from dateutil.parser import isoparse
+
from ..actions import ActionsPageResult, BoundAction, ResourceActionsClient
from ..certificates import BoundCertificate
from ..core import BoundModelBase, ClientEntityBase, Meta
from ..load_balancer_types import BoundLoadBalancerType
from ..locations import BoundLocation
+from ..metrics import Metrics
from ..networks import BoundNetwork
from ..servers import BoundServer
from .domain import (
CreateLoadBalancerResponse,
+ GetMetricsResponse,
IPv4Address,
IPv6Network,
LoadBalancer,
@@ -23,6 +28,7 @@
LoadBalancerTargetHealthStatus,
LoadBalancerTargetIP,
LoadBalancerTargetLabelSelector,
+ MetricsType,
PrivateNet,
PublicNetwork,
)
@@ -177,6 +183,28 @@
"""
return self._client.delete(self)
+ def get_metrics(
+ self,
+ type: MetricsType,
+ start: datetime | str,
+ end: datetime | str,
+ step: float | None = None,
+ ) -> GetMetricsResponse:
+ """Get Metrics for a LoadBalancer.
+
+ :param type: Type of metrics to get.
+ :param start: Start of period to get Metrics for (in ISO-8601 format).
+ :param end: End of period to get Metrics for (in ISO-8601 format).
+ :param step: Resolution of results in seconds.
+ """
+ return self._client.get_metrics(
+ self,
+ type=type,
+ start=start,
+ end=end,
+ step=step,
+ )
+
def get_actions_list(
self,
status: list[str] | None = None,
@@ -533,6 +561,46 @@
)
return True
+ def get_metrics(
+ self,
+ load_balancer: LoadBalancer | BoundLoadBalancer,
+ type: MetricsType | list[MetricsType],
+ start: datetime | str,
+ end: datetime | str,
+ step: float | None = None,
+ ) -> GetMetricsResponse:
+ """Get Metrics for a LoadBalancer.
+
+ :param load_balancer: The Load Balancer to get the metrics for.
+ :param type: Type of metrics to get.
+ :param start: Start of period to get Metrics for (in ISO-8601 format).
+ :param end: End of period to get Metrics for (in ISO-8601 format).
+ :param step: Resolution of results in seconds.
+ """
+ if not isinstance(type, list):
+ type = [type]
+ if isinstance(start, str):
+ start = isoparse(start)
+ if isinstance(end, str):
+ end = isoparse(end)
+
+ params: dict[str, Any] = {
+ "type": ",".join(type),
+ "start": start.isoformat(),
+ "end": end.isoformat(),
+ }
+ if step is not None:
+ params["step"] = step
+
+ response = self._client.request(
+ url=f"/load_balancers/{load_balancer.id}/metrics",
+ method="GET",
+ params=params,
+ )
+ return GetMetricsResponse(
+ metrics=Metrics(**response["metrics"]),
+ )
+
def get_actions_list(
self,
load_balancer: LoadBalancer | BoundLoadBalancer,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hcloud-1.32.0/hcloud/load_balancers/domain.py new/hcloud-1.33.0/hcloud/load_balancers/domain.py
--- old/hcloud-1.32.0/hcloud/load_balancers/domain.py 2023-11-17 15:09:57.000000000 +0100
+++ new/hcloud-1.33.0/hcloud/load_balancers/domain.py 2023-12-19 17:33:48.000000000 +0100
@@ -1,6 +1,6 @@
from __future__ import annotations
-from typing import TYPE_CHECKING, Any
+from typing import TYPE_CHECKING, Any, Literal
from dateutil.parser import isoparse
@@ -11,6 +11,7 @@
from ..certificates import BoundCertificate
from ..load_balancer_types import BoundLoadBalancerType
from ..locations import BoundLocation
+ from ..metrics import Metrics
from ..networks import BoundNetwork
from ..servers import BoundServer
from .client import BoundLoadBalancer
@@ -508,3 +509,26 @@
):
self.load_balancer = load_balancer
self.action = action
+
+
+MetricsType = Literal[
+ "open_connections",
+ "connections_per_second",
+ "requests_per_second",
+ "bandwidth",
+]
+
+
+class GetMetricsResponse(BaseDomain):
+ """Get a Load Balancer Metrics Response Domain
+
+ :param metrics: The Load Balancer metrics
+ """
+
+ __slots__ = ("metrics",)
+
+ def __init__(
+ self,
+ metrics: Metrics,
+ ):
+ self.metrics = metrics
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hcloud-1.32.0/hcloud/metrics/__init__.py new/hcloud-1.33.0/hcloud/metrics/__init__.py
--- old/hcloud-1.32.0/hcloud/metrics/__init__.py 1970-01-01 01:00:00.000000000 +0100
+++ new/hcloud-1.33.0/hcloud/metrics/__init__.py 2023-12-19 17:33:48.000000000 +0100
@@ -0,0 +1,3 @@
+from __future__ import annotations
+
+from .domain import Metrics, TimeSeries # noqa: F401
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hcloud-1.32.0/hcloud/metrics/domain.py new/hcloud-1.33.0/hcloud/metrics/domain.py
--- old/hcloud-1.32.0/hcloud/metrics/domain.py 1970-01-01 01:00:00.000000000 +0100
+++ new/hcloud-1.33.0/hcloud/metrics/domain.py 2023-12-19 17:33:48.000000000 +0100
@@ -0,0 +1,46 @@
+from __future__ import annotations
+
+from datetime import datetime
+from typing import Dict, List, Literal, Tuple
+
+from dateutil.parser import isoparse
+
+from ..core import BaseDomain
+
+TimeSeries = Dict[str, Dict[Literal["values"], List[Tuple[float, str]]]]
+
+
+class Metrics(BaseDomain):
+ """Metrics Domain
+
+ :param start: Start of period of metrics reported.
+ :param end: End of period of metrics reported.
+ :param step: Resolution of results in seconds.
+ :param time_series: Dict with time series data, using the name of the time series as
+ key. The metrics timestamps and values are stored in a list of tuples
+ ``[(timestamp, value), ...]``.
+ """
+
+ start: datetime
+ end: datetime
+ step: float
+ time_series: TimeSeries
+
+ __slots__ = (
+ "start",
+ "end",
+ "step",
+ "time_series",
+ )
+
+ def __init__(
+ self,
+ start: str,
+ end: str,
+ step: float,
+ time_series: TimeSeries,
+ ):
+ self.start = isoparse(start)
+ self.end = isoparse(end)
+ self.step = step
+ self.time_series = time_series
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hcloud-1.32.0/hcloud/servers/__init__.py new/hcloud-1.33.0/hcloud/servers/__init__.py
--- old/hcloud-1.32.0/hcloud/servers/__init__.py 2023-11-17 15:09:57.000000000 +0100
+++ new/hcloud-1.33.0/hcloud/servers/__init__.py 2023-12-19 17:33:48.000000000 +0100
@@ -4,6 +4,7 @@
from .domain import ( # noqa: F401
CreateServerResponse,
EnableRescueResponse,
+ GetMetricsResponse,
IPv4Address,
IPv6Network,
PrivateNet,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hcloud-1.32.0/hcloud/servers/client.py new/hcloud-1.33.0/hcloud/servers/client.py
--- old/hcloud-1.32.0/hcloud/servers/client.py 2023-11-17 15:09:57.000000000 +0100
+++ new/hcloud-1.33.0/hcloud/servers/client.py 2023-12-19 17:33:48.000000000 +0100
@@ -1,8 +1,11 @@
from __future__ import annotations
import warnings
+from datetime import datetime
from typing import TYPE_CHECKING, Any, NamedTuple
+from dateutil.parser import isoparse
+
from ..actions import ActionsPageResult, BoundAction, ResourceActionsClient
from ..core import BoundModelBase, ClientEntityBase, Meta
from ..datacenters import BoundDatacenter
@@ -10,6 +13,7 @@
from ..floating_ips import BoundFloatingIP
from ..images import BoundImage, CreateImageResponse
from ..isos import BoundIso
+from ..metrics import Metrics
from ..placement_groups import BoundPlacementGroup
from ..primary_ips import BoundPrimaryIP
from ..server_types import BoundServerType
@@ -17,8 +21,10 @@
from .domain import (
CreateServerResponse,
EnableRescueResponse,
+ GetMetricsResponse,
IPv4Address,
IPv6Network,
+ MetricsType,
PrivateNet,
PublicNetwork,
PublicNetworkFirewall,
@@ -210,6 +216,29 @@
"""
return self._client.update(self, name, labels)
+ def get_metrics(
+ self,
+ type: MetricsType | list[MetricsType],
+ start: datetime | str,
+ end: datetime | str,
+ step: float | None = None,
+ ) -> GetMetricsResponse:
+ """Get Metrics for a Server.
+
+ :param server: The Server to get the metrics for.
+ :param type: Type of metrics to get.
+ :param start: Start of period to get Metrics for (in ISO-8601 format).
+ :param end: End of period to get Metrics for (in ISO-8601 format).
+ :param step: Resolution of results in seconds.
+ """
+ return self._client.get_metrics(
+ self,
+ type=type,
+ start=start,
+ end=end,
+ step=step,
+ )
+
def delete(self) -> BoundAction:
"""Deletes a server. This immediately removes the server from your account, and it is no longer accessible.
@@ -742,6 +771,46 @@
)
return BoundServer(self, response["server"])
+ def get_metrics(
+ self,
+ server: Server | BoundServer,
+ type: MetricsType | list[MetricsType],
+ start: datetime | str,
+ end: datetime | str,
+ step: float | None = None,
+ ) -> GetMetricsResponse:
+ """Get Metrics for a Server.
+
+ :param server: The Server to get the metrics for.
+ :param type: Type of metrics to get.
+ :param start: Start of period to get Metrics for (in ISO-8601 format).
+ :param end: End of period to get Metrics for (in ISO-8601 format).
+ :param step: Resolution of results in seconds.
+ """
+ if not isinstance(type, list):
+ type = [type]
+ if isinstance(start, str):
+ start = isoparse(start)
+ if isinstance(end, str):
+ end = isoparse(end)
+
+ params: dict[str, Any] = {
+ "type": ",".join(type),
+ "start": start.isoformat(),
+ "end": end.isoformat(),
+ }
+ if step is not None:
+ params["step"] = step
+
+ response = self._client.request(
+ url=f"/servers/{server.id}/metrics",
+ method="GET",
+ params=params,
+ )
+ return GetMetricsResponse(
+ metrics=Metrics(**response["metrics"]),
+ )
+
def delete(self, server: Server | BoundServer) -> BoundAction:
"""Deletes a server. This immediately removes the server from your account, and it is no longer accessible.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hcloud-1.32.0/hcloud/servers/domain.py new/hcloud-1.33.0/hcloud/servers/domain.py
--- old/hcloud-1.32.0/hcloud/servers/domain.py 2023-11-17 15:09:57.000000000 +0100
+++ new/hcloud-1.33.0/hcloud/servers/domain.py 2023-12-19 17:33:48.000000000 +0100
@@ -1,6 +1,6 @@
from __future__ import annotations
-from typing import TYPE_CHECKING
+from typing import TYPE_CHECKING, Literal
from dateutil.parser import isoparse
@@ -13,6 +13,7 @@
from ..floating_ips import BoundFloatingIP
from ..images import BoundImage
from ..isos import BoundIso
+ from ..metrics import Metrics
from ..networks import BoundNetwork
from ..placement_groups import BoundPlacementGroup
from ..primary_ips import BoundPrimaryIP, PrimaryIP
@@ -427,3 +428,25 @@
self.ipv6 = ipv6
self.enable_ipv4 = enable_ipv4
self.enable_ipv6 = enable_ipv6
+
+
+MetricsType = Literal[
+ "cpu",
+ "disk",
+ "network",
+]
+
+
+class GetMetricsResponse(BaseDomain):
+ """Get a Server Metrics Response Domain
+
+ :param metrics: The Server metrics
+ """
+
+ __slots__ = ("metrics",)
+
+ def __init__(
+ self,
+ metrics: Metrics,
+ ):
+ self.metrics = metrics
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hcloud-1.32.0/hcloud.egg-info/PKG-INFO new/hcloud-1.33.0/hcloud.egg-info/PKG-INFO
--- old/hcloud-1.32.0/hcloud.egg-info/PKG-INFO 2023-11-17 15:10:09.000000000 +0100
+++ new/hcloud-1.33.0/hcloud.egg-info/PKG-INFO 2023-12-19 17:34:00.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: hcloud
-Version: 1.32.0
+Version: 1.33.0
Summary: Official Hetzner Cloud python library
Home-page: https://github.com/hetznercloud/hcloud-python
Author: Hetzner Cloud GmbH
@@ -28,7 +28,7 @@
Requires-Dist: requests>=2.20
Provides-Extra: docs
Requires-Dist: sphinx<7.3,>=7.2.2; extra == "docs"
-Requires-Dist: sphinx-rtd-theme<1.4,>=1.3.0; extra == "docs"
+Requires-Dist: sphinx-rtd-theme<2.1,>=2; extra == "docs"
Requires-Dist: myst-parser<2.1,>=2.0.0; extra == "docs"
Requires-Dist: watchdog<3.1,>=3.0.0; extra == "docs"
Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hcloud-1.32.0/hcloud.egg-info/SOURCES.txt new/hcloud-1.33.0/hcloud.egg-info/SOURCES.txt
--- old/hcloud-1.32.0/hcloud.egg-info/SOURCES.txt 2023-11-17 15:10:09.000000000 +0100
+++ new/hcloud-1.33.0/hcloud.egg-info/SOURCES.txt 2023-12-19 17:34:00.000000000 +0100
@@ -84,6 +84,8 @@
hcloud/locations/__init__.py
hcloud/locations/client.py
hcloud/locations/domain.py
+hcloud/metrics/__init__.py
+hcloud/metrics/domain.py
hcloud/networks/__init__.py
hcloud/networks/client.py
hcloud/networks/domain.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hcloud-1.32.0/hcloud.egg-info/requires.txt new/hcloud-1.33.0/hcloud.egg-info/requires.txt
--- old/hcloud-1.32.0/hcloud.egg-info/requires.txt 2023-11-17 15:10:09.000000000 +0100
+++ new/hcloud-1.33.0/hcloud.egg-info/requires.txt 2023-12-19 17:34:00.000000000 +0100
@@ -3,7 +3,7 @@
[docs]
sphinx<7.3,>=7.2.2
-sphinx-rtd-theme<1.4,>=1.3.0
+sphinx-rtd-theme<2.1,>=2
myst-parser<2.1,>=2.0.0
watchdog<3.1,>=3.0.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hcloud-1.32.0/setup.py new/hcloud-1.33.0/setup.py
--- old/hcloud-1.32.0/setup.py 2023-11-17 15:09:57.000000000 +0100
+++ new/hcloud-1.33.0/setup.py 2023-12-19 17:33:48.000000000 +0100
@@ -46,7 +46,7 @@
extras_require={
"docs": [
"sphinx>=7.2.2,<7.3",
- "sphinx-rtd-theme>=1.3.0,<1.4",
+ "sphinx-rtd-theme>=2,<2.1",
"myst-parser>=2.0.0,<2.1",
"watchdog>=3.0.0,<3.1",
],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hcloud-1.32.0/tests/unit/load_balancers/conftest.py new/hcloud-1.33.0/tests/unit/load_balancers/conftest.py
--- old/hcloud-1.32.0/tests/unit/load_balancers/conftest.py 2023-11-17 15:09:57.000000000 +0100
+++ new/hcloud-1.33.0/tests/unit/load_balancers/conftest.py 2023-12-19 17:33:48.000000000 +0100
@@ -445,6 +445,26 @@
@pytest.fixture()
+def response_get_metrics():
+ return {
+ "metrics": {
+ "start": "2023-12-14T16:55:32+01:00",
+ "end": "2023-12-14T17:25:32+01:00",
+ "step": 9.0,
+ "time_series": {
+ "requests_per_second": {
+ "values": [
+ [1702571114, "0.000000"],
+ [1702571123, "0.000000"],
+ [1702571132, "0.000000"],
+ ]
+ }
+ },
+ }
+ }
+
+
+(a)pytest.fixture()
def response_add_service():
return {
"action": {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hcloud-1.32.0/tests/unit/load_balancers/test_client.py new/hcloud-1.33.0/tests/unit/load_balancers/test_client.py
--- old/hcloud-1.32.0/tests/unit/load_balancers/test_client.py 2023-11-17 15:09:57.000000000 +0100
+++ new/hcloud-1.33.0/tests/unit/load_balancers/test_client.py 2023-12-19 17:33:48.000000000 +0100
@@ -96,6 +96,30 @@
assert delete_success is True
+ def test_get_metrics(
+ self,
+ hetzner_client,
+ response_get_metrics,
+ bound_load_balancer: BoundLoadBalancer,
+ ):
+ hetzner_client.request.return_value = response_get_metrics
+ response = bound_load_balancer.get_metrics(
+ type=["requests_per_second"],
+ start="2023-12-14T16:55:32+01:00",
+ end="2023-12-14T16:55:32+01:00",
+ )
+ hetzner_client.request.assert_called_with(
+ url="/load_balancers/14/metrics",
+ method="GET",
+ params={
+ "type": "requests_per_second",
+ "start": "2023-12-14T16:55:32+01:00",
+ "end": "2023-12-14T16:55:32+01:00",
+ },
+ )
+ assert "requests_per_second" in response.metrics.time_series
+ assert len(response.metrics.time_series["requests_per_second"]["values"]) == 3
+
def test_add_service(
self, hetzner_client, response_add_service, bound_load_balancer
):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hcloud-1.32.0/tests/unit/servers/conftest.py new/hcloud-1.33.0/tests/unit/servers/conftest.py
--- old/hcloud-1.32.0/tests/unit/servers/conftest.py 2023-11-17 15:09:57.000000000 +0100
+++ new/hcloud-1.33.0/tests/unit/servers/conftest.py 2023-12-19 17:33:48.000000000 +0100
@@ -339,6 +339,54 @@
@pytest.fixture()
+def response_get_metrics():
+ return {
+ "metrics": {
+ "start": "2023-12-14T17:40:00+01:00",
+ "end": "2023-12-14T17:50:00+01:00",
+ "step": 3.0,
+ "time_series": {
+ "cpu": {
+ "values": [
+ [1702572594, "0.3746000025854892"],
+ [1702572597, "0.35842215349409734"],
+ [1702572600, "0.7381525488039541"],
+ ]
+ },
+ "disk.0.iops.read": {
+ "values": [
+ [1702572594, "0"],
+ [1702572597, "0"],
+ [1702572600, "0"],
+ ]
+ },
+ "disk.0.bandwidth.read": {
+ "values": [
+ [1702572594, "0"],
+ [1702572597, "0"],
+ [1702572600, "0"],
+ ]
+ },
+ "disk.0.bandwidth.write": {
+ "values": [
+ [1702572594, "24064"],
+ [1702572597, "2048"],
+ [1702572600, "0"],
+ ]
+ },
+ "disk.0.iops.write": {
+ "values": [
+ [1702572594, "4.875"],
+ [1702572597, "0.25"],
+ [1702572600, "0"],
+ ]
+ },
+ },
+ }
+ }
+
+
+(a)pytest.fixture()
def response_simple_servers():
return {
"servers": [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hcloud-1.32.0/tests/unit/servers/test_client.py new/hcloud-1.33.0/tests/unit/servers/test_client.py
--- old/hcloud-1.32.0/tests/unit/servers/test_client.py 2023-11-17 15:09:57.000000000 +0100
+++ new/hcloud-1.33.0/tests/unit/servers/test_client.py 2023-12-19 17:33:48.000000000 +0100
@@ -190,6 +190,32 @@
assert action.id == 1
assert action.progress == 0
+ def test_get_metrics(
+ self,
+ hetzner_client,
+ bound_server: BoundServer,
+ response_get_metrics,
+ ):
+ hetzner_client.request.return_value = response_get_metrics
+ response = bound_server.get_metrics(
+ type=["cpu", "disk"],
+ start="2023-12-14T17:40:00+01:00",
+ end="2023-12-14T17:50:00+01:00",
+ )
+ hetzner_client.request.assert_called_with(
+ url="/servers/14/metrics",
+ method="GET",
+ params={
+ "type": "cpu,disk",
+ "start": "2023-12-14T17:40:00+01:00",
+ "end": "2023-12-14T17:50:00+01:00",
+ },
+ )
+
+ assert "cpu" in response.metrics.time_series
+ assert "disk.0.iops.read" in response.metrics.time_series
+ assert len(response.metrics.time_series["disk.0.iops.read"]["values"]) == 3
+
def test_power_off(self, hetzner_client, bound_server, generic_action):
hetzner_client.request.return_value = generic_action
action = bound_server.power_off()
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-lsprotocol for openSUSE:Factory checked in at 2023-12-28 23:01:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-lsprotocol (Old)
and /work/SRC/openSUSE:Factory/.python-lsprotocol.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-lsprotocol"
Thu Dec 28 23:01:39 2023 rev:2 rq:1135280 version:2023.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-lsprotocol/python-lsprotocol.changes 2023-11-06 21:14:54.388651969 +0100
+++ /work/SRC/openSUSE:Factory/.python-lsprotocol.new.28375/python-lsprotocol.changes 2023-12-28 23:03:17.550453413 +0100
@@ -1,0 +2,7 @@
+Wed Dec 27 10:52:56 UTC 2023 - Dirk Müller <dmueller(a)suse.com>
+
+- update to 2023.0.0:
+ * Update to latest LSP spec
+ * Update package classifiers
+
+-------------------------------------------------------------------
Old:
----
lsprotocol-2023.0.0b1.tar.gz
New:
----
lsprotocol-2023.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-lsprotocol.spec ++++++
--- /var/tmp/diff_new_pack.uBSNc9/_old 2023-12-28 23:03:18.782498441 +0100
+++ /var/tmp/diff_new_pack.uBSNc9/_new 2023-12-28 23:03:18.786498587 +0100
@@ -17,7 +17,7 @@
Name: python-lsprotocol
-Version: 2023.0.0b1
+Version: 2023.0.0
Release: 0
Summary: Python implementation of the Language Server Protocol
License: MIT
++++++ lsprotocol-2023.0.0b1.tar.gz -> lsprotocol-2023.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lsprotocol-2023.0.0b1/PKG-INFO new/lsprotocol-2023.0.0/PKG-INFO
--- old/lsprotocol-2023.0.0b1/PKG-INFO 1970-01-01 01:00:00.000000000 +0100
+++ new/lsprotocol-2023.0.0/PKG-INFO 1970-01-01 01:00:00.000000000 +0100
@@ -1,18 +1,20 @@
Metadata-Version: 2.1
Name: lsprotocol
-Version: 2023.0.0b1
+Version: 2023.0.0
Summary: Python implementation of the Language Server Protocol.
Author-email: Microsoft Corporation <lsprotocol-help(a)microsoft.com>
Maintainer-email: Brett Cannon <brett(a)python.org>, Karthik Nadig <kanadig(a)microsoft.com>
Requires-Python: >=3.7
Description-Content-Type: text/markdown
-Classifier: Development Status :: 3 - Alpha
+Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
+Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Dist: attrs>=21.3.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lsprotocol-2023.0.0b1/lsprotocol/_hooks.py new/lsprotocol-2023.0.0/lsprotocol/_hooks.py
--- old/lsprotocol-2023.0.0b1/lsprotocol/_hooks.py 2023-09-18 21:03:48.332230000 +0200
+++ new/lsprotocol-2023.0.0/lsprotocol/_hooks.py 2023-11-16 19:22:52.418139200 +0100
@@ -1214,7 +1214,7 @@
rename=_to_camel_case(a.name),
omit_if_default=_omit(cls, a.name),
)
- for a in attrs.fields(cls)
+ for a in attrs.fields(cls) # type: ignore
}
return cattrs.gen.make_dict_unstructure_fn(cls, converter, **attributes)
@@ -1224,7 +1224,7 @@
rename=_to_camel_case(a.name),
omit_if_default=_omit(cls, a.name),
)
- for a in attrs.fields(cls)
+ for a in attrs.fields(cls) # type: ignore
}
return cattrs.gen.make_dict_structure_fn(cls, converter, **attributes)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lsprotocol-2023.0.0b1/lsprotocol/types.py new/lsprotocol-2023.0.0/lsprotocol/types.py
--- old/lsprotocol-2023.0.0b1/lsprotocol/types.py 2023-09-18 21:03:48.336230300 +0200
+++ new/lsprotocol-2023.0.0/lsprotocol/types.py 2023-11-16 19:22:52.422139200 +0100
@@ -7056,6 +7056,16 @@
@since 3.17.0."""
# Since: 3.17.0.
+ folding_range: Optional["FoldingRangeWorkspaceClientCapabilities"] = attrs.field(
+ default=None
+ )
+ """Capabilities specific to the folding range requests scoped to the workspace.
+
+ @since 3.18.0
+ @proposed"""
+ # Since: 3.18.0
+ # Proposed
+
@attrs.define
class TextDocumentClientCapabilities:
@@ -7692,6 +7702,34 @@
@attrs.define
+class FoldingRangeWorkspaceClientCapabilities:
+ """Client workspace capabilities specific to folding ranges
+
+ @since 3.18.0
+ @proposed"""
+
+ # Since: 3.18.0
+ # Proposed
+
+ refresh_support: Optional[bool] = attrs.field(
+ validator=attrs.validators.optional(attrs.validators.instance_of(bool)),
+ default=None,
+ )
+ """Whether the client implementation supports a refresh request sent from the
+ server to the client.
+
+ Note that this event is global and will force the client to refresh all
+ folding ranges currently shown. It should be used with absolute care and is
+ useful for situation where a server for example detects a project wide
+ change that requires such a calculation.
+
+ @since 3.18.0
+ @proposed"""
+ # Since: 3.18.0
+ # Proposed
+
+
+(a)attrs.define
class TextDocumentSyncClientCapabilities:
dynamic_registration: Optional[bool] = attrs.field(
validator=attrs.validators.optional(attrs.validators.instance_of(bool)),
@@ -9041,6 +9079,27 @@
@attrs.define
+class WorkspaceFoldingRangeRefreshRequest:
+ """@since 3.18.0
+ @proposed"""
+
+ id: Union[int, str] = attrs.field()
+ """The request id."""
+ params: Optional[None] = attrs.field(default=None)
+ method: str = "workspace/foldingRange/refresh"
+ """The method to be invoked."""
+ jsonrpc: str = attrs.field(default="2.0")
+
+
+(a)attrs.define
+class WorkspaceFoldingRangeRefreshResponse:
+ id: Optional[Union[int, str]] = attrs.field()
+ """The request id."""
+ result: None = attrs.field(default=None)
+ jsonrpc: str = attrs.field(default="2.0")
+
+
+(a)attrs.define
class TextDocumentDeclarationRequest:
"""A request to resolve the type definition locations of a symbol at a given text
document position. The request's parameter is of type {@link TextDocumentPositionParams}
@@ -10814,6 +10873,7 @@
WORKSPACE_DID_DELETE_FILES = "workspace/didDeleteFiles"
WORKSPACE_DID_RENAME_FILES = "workspace/didRenameFiles"
WORKSPACE_EXECUTE_COMMAND = "workspace/executeCommand"
+WORKSPACE_FOLDING_RANGE_REFRESH = "workspace/foldingRange/refresh"
WORKSPACE_INLAY_HINT_REFRESH = "workspace/inlayHint/refresh"
WORKSPACE_INLINE_VALUE_REFRESH = "workspace/inlineValue/refresh"
WORKSPACE_SEMANTIC_TOKENS_REFRESH = "workspace/semanticTokens/refresh"
@@ -11158,6 +11218,12 @@
ExecuteCommandParams,
ExecuteCommandRegistrationOptions,
),
+ WORKSPACE_FOLDING_RANGE_REFRESH: (
+ WorkspaceFoldingRangeRefreshRequest,
+ WorkspaceFoldingRangeRefreshResponse,
+ None,
+ None,
+ ),
WORKSPACE_INLAY_HINT_REFRESH: (
WorkspaceInlayHintRefreshRequest,
WorkspaceInlayHintRefreshResponse,
@@ -11383,6 +11449,7 @@
WorkspaceDiagnosticRefreshRequest,
WorkspaceDiagnosticRequest,
WorkspaceExecuteCommandRequest,
+ WorkspaceFoldingRangeRefreshRequest,
WorkspaceInlayHintRefreshRequest,
WorkspaceInlineValueRefreshRequest,
WorkspaceSemanticTokensRefreshRequest,
@@ -11451,6 +11518,7 @@
WorkspaceDiagnosticRefreshResponse,
WorkspaceDiagnosticResponse,
WorkspaceExecuteCommandResponse,
+ WorkspaceFoldingRangeRefreshResponse,
WorkspaceInlayHintRefreshResponse,
WorkspaceInlineValueRefreshResponse,
WorkspaceSemanticTokensRefreshResponse,
@@ -11688,6 +11756,8 @@
WorkspaceExecuteCommandRequest,
WorkspaceExecuteCommandResponse,
WorkspaceFoldersInitializeParams,
+ WorkspaceFoldingRangeRefreshRequest,
+ WorkspaceFoldingRangeRefreshResponse,
WorkspaceFullDocumentDiagnosticReport,
WorkspaceInlayHintRefreshRequest,
WorkspaceInlayHintRefreshResponse,
@@ -12050,6 +12120,10 @@
"WorkspaceExecuteCommandResponse.jsonrpc",
"WorkspaceExecuteCommandResponse.result",
"WorkspaceFoldersInitializeParams.workspace_folders",
+ "WorkspaceFoldingRangeRefreshRequest.jsonrpc",
+ "WorkspaceFoldingRangeRefreshRequest.method",
+ "WorkspaceFoldingRangeRefreshResponse.jsonrpc",
+ "WorkspaceFoldingRangeRefreshResponse.result",
"WorkspaceFullDocumentDiagnosticReport.kind",
"WorkspaceFullDocumentDiagnosticReport.version",
"WorkspaceInlayHintRefreshRequest.jsonrpc",
@@ -12306,6 +12380,7 @@
"FoldingRangeOptions": FoldingRangeOptions,
"FoldingRangeParams": FoldingRangeParams,
"FoldingRangeRegistrationOptions": FoldingRangeRegistrationOptions,
+ "FoldingRangeWorkspaceClientCapabilities": FoldingRangeWorkspaceClientCapabilities,
"FormattingOptions": FormattingOptions,
"FullDocumentDiagnosticReport": FullDocumentDiagnosticReport,
"GeneralClientCapabilities": GeneralClientCapabilities,
@@ -12685,6 +12760,8 @@
"WorkspaceFoldersChangeEvent": WorkspaceFoldersChangeEvent,
"WorkspaceFoldersInitializeParams": WorkspaceFoldersInitializeParams,
"WorkspaceFoldersServerCapabilities": WorkspaceFoldersServerCapabilities,
+ "WorkspaceFoldingRangeRefreshRequest": WorkspaceFoldingRangeRefreshRequest,
+ "WorkspaceFoldingRangeRefreshResponse": WorkspaceFoldingRangeRefreshResponse,
"WorkspaceFullDocumentDiagnosticReport": WorkspaceFullDocumentDiagnosticReport,
"WorkspaceInlayHintRefreshRequest": WorkspaceInlayHintRefreshRequest,
"WorkspaceInlayHintRefreshResponse": WorkspaceInlayHintRefreshResponse,
@@ -12776,6 +12853,7 @@
WORKSPACE_DIAGNOSTIC: "clientToServer",
WORKSPACE_DIAGNOSTIC_REFRESH: "serverToClient",
WORKSPACE_EXECUTE_COMMAND: "clientToServer",
+ WORKSPACE_FOLDING_RANGE_REFRESH: "serverToClient",
WORKSPACE_INLAY_HINT_REFRESH: "serverToClient",
WORKSPACE_INLINE_VALUE_REFRESH: "serverToClient",
WORKSPACE_SEMANTIC_TOKENS_REFRESH: "serverToClient",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lsprotocol-2023.0.0b1/pyproject.toml new/lsprotocol-2023.0.0/pyproject.toml
--- old/lsprotocol-2023.0.0b1/pyproject.toml 2023-09-18 21:03:48.336230300 +0200
+++ new/lsprotocol-2023.0.0/pyproject.toml 2023-11-16 19:22:52.422139200 +0100
@@ -5,7 +5,7 @@
[project]
name = "lsprotocol"
description = 'Python implementation of the Language Server Protocol.'
-version = "2023.0.0b1"
+version = "2023.0.0"
authors = [
{ name = "Microsoft Corporation", email = "lsprotocol-help(a)microsoft.com" },
]
@@ -17,13 +17,15 @@
{ name = "Karthik Nadig", email = "kanadig(a)microsoft.com" },
]
classifiers = [
- "Development Status :: 3 - Alpha",
+ "Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
+ "Programming Language :: Python :: 3.11",
+ "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jaraco.logging for openSUSE:Factory checked in at 2023-12-28 23:01:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jaraco.logging (Old)
and /work/SRC/openSUSE:Factory/.python-jaraco.logging.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jaraco.logging"
Thu Dec 28 23:01:39 2023 rev:7 rq:1135279 version:3.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jaraco.logging/python-jaraco.logging.changes 2023-12-17 21:35:12.531871646 +0100
+++ /work/SRC/openSUSE:Factory/.python-jaraco.logging.new.28375/python-jaraco.logging.changes 2023-12-28 23:03:16.294407508 +0100
@@ -1,0 +2,6 @@
+Wed Dec 27 10:52:16 UTC 2023 - Dirk Müller <dmueller(a)suse.com>
+
+- update to 3.3.0:
+ * Replaced deprecated datetime.utcfromtimestamp. (#3)
+
+-------------------------------------------------------------------
Old:
----
jaraco.logging-3.2.0.tar.gz
New:
----
jaraco.logging-3.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jaraco.logging.spec ++++++
--- /var/tmp/diff_new_pack.D0ZX43/_old 2023-12-28 23:03:17.326445226 +0100
+++ /var/tmp/diff_new_pack.D0ZX43/_new 2023-12-28 23:03:17.330445373 +0100
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-jaraco.logging
-Version: 3.2.0
+Version: 3.3.0
Release: 0
Summary: Tools to work with logging
License: MIT
++++++ jaraco.logging-3.2.0.tar.gz -> jaraco.logging-3.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/.github/workflows/main.yml new/jaraco.logging-3.3.0/.github/workflows/main.yml
--- old/jaraco.logging-3.2.0/.github/workflows/main.yml 2023-08-31 03:10:10.000000000 +0200
+++ new/jaraco.logging-3.3.0/.github/workflows/main.yml 2023-12-24 18:14:11.000000000 +0100
@@ -1,40 +1,28 @@
name: tests
-on: [push, pull_request]
+on:
+ merge_group:
+ push:
+ branches-ignore:
+ # disabled for jaraco/skeleton#103
+ # - gh-readonly-queue/** # Temporary merge queue-related GH-made branches
+ pull_request:
permissions:
contents: read
env:
- # Environment variables to support color support (jaraco/skeleton#66):
- # Request colored output from CLI tools supporting it. Different tools
- # interpret the value differently. For some, just being set is sufficient.
- # For others, it must be a non-zero integer. For yet others, being set
- # to a non-empty value is sufficient. For tox, it must be one of
- # <blank>, 0, 1, false, no, off, on, true, yes. The only enabling value
- # in common is "1".
+ # Environment variable to support color support (jaraco/skeleton#66)
FORCE_COLOR: 1
- # MyPy's color enforcement (must be a non-zero number)
- MYPY_FORCE_COLOR: -42
- # Recognized by the `py` package, dependency of `pytest` (must be "1")
- PY_COLORS: 1
- # Make tox-wrapped tools see color requests
- TOX_TESTENV_PASSENV: >-
- FORCE_COLOR
- MYPY_FORCE_COLOR
- NO_COLOR
- PY_COLORS
- PYTEST_THEME
- PYTEST_THEME_MODE
# Suppress noisy pip warnings
PIP_DISABLE_PIP_VERSION_CHECK: 'true'
PIP_NO_PYTHON_VERSION_WARNING: 'true'
PIP_NO_WARN_SCRIPT_LOCATION: 'true'
- # Disable the spinner, noise in GHA; TODO(webknjaz): Fix this upstream
- # Must be "1".
- TOX_PARALLEL_NO_SPINNER: 1
+ # Ensure tests can sense settings about the environment
+ TOX_OVERRIDE: >-
+ testenv.pass_env+=GITHUB_*,FORCE_COLOR
jobs:
@@ -54,43 +42,49 @@
platform: ubuntu-latest
- python: "3.10"
platform: ubuntu-latest
- - python: pypy3.9
+ - python: pypy3.10
platform: ubuntu-latest
runs-on: ${{ matrix.platform }}
- continue-on-error: ${{ matrix.python == '3.12' }}
+ continue-on-error: ${{ matrix.python == '3.13' }}
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
- name: Install tox
- run: |
- python -m pip install tox
+ run: python -m pip install tox
- name: Run
run: tox
- docs:
+ collateral:
+ strategy:
+ fail-fast: false
+ matrix:
+ job:
+ - diffcov
+ - docs
runs-on: ubuntu-latest
- env:
- TOXENV: docs
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4
+ with:
+ python-version: 3.x
- name: Install tox
- run: |
- python -m pip install tox
- - name: Run
- run: tox
+ run: python -m pip install tox
+ - name: Eval ${{ matrix.job }}
+ run: tox -e ${{ matrix.job }}
check: # This job does nothing and is only used for the branch protection
if: always()
needs:
- test
- - docs
+ - collateral
runs-on: ubuntu-latest
@@ -109,14 +103,13 @@
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install tox
- run: |
- python -m pip install tox
+ run: python -m pip install tox
- name: Run
run: tox -e release
env:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/.pre-commit-config.yaml new/jaraco.logging-3.3.0/.pre-commit-config.yaml
--- old/jaraco.logging-3.2.0/.pre-commit-config.yaml 2023-08-31 03:10:10.000000000 +0200
+++ new/jaraco.logging-3.3.0/.pre-commit-config.yaml 2023-12-24 18:14:11.000000000 +0100
@@ -1,5 +1,6 @@
repos:
-- repo: https://github.com/psf/black
- rev: 22.6.0
+- repo: https://github.com/astral-sh/ruff-pre-commit
+ rev: v0.1.8
hooks:
- - id: black
+ - id: ruff
+ - id: ruff-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/NEWS.rst new/jaraco.logging-3.3.0/NEWS.rst
--- old/jaraco.logging-3.2.0/NEWS.rst 2023-08-31 03:10:10.000000000 +0200
+++ new/jaraco.logging-3.3.0/NEWS.rst 2023-12-24 18:14:11.000000000 +0100
@@ -1,3 +1,18 @@
+v3.3.0
+======
+
+Features
+--------
+
+- Replaced deprecated datetime.utcfromtimestamp. (#3)
+
+
+v3.2.1
+======
+
+No significant changes.
+
+
v3.2.0
======
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/PKG-INFO new/jaraco.logging-3.3.0/PKG-INFO
--- old/jaraco.logging-3.2.0/PKG-INFO 2023-08-31 03:10:30.785939700 +0200
+++ new/jaraco.logging-3.3.0/PKG-INFO 2023-12-24 18:14:36.369487000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: jaraco.logging
-Version: 3.2.0
+Version: 3.3.0
Summary: Support for Python logging facility
Home-page: https://github.com/jaraco/jaraco.logging
Author: Jason R. Coombs
@@ -11,16 +11,29 @@
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.8
+License-File: LICENSE
+Requires-Dist: tempora
Provides-Extra: testing
+Requires-Dist: pytest>=6; extra == "testing"
+Requires-Dist: pytest-checkdocs>=2.4; extra == "testing"
+Requires-Dist: pytest-cov; extra == "testing"
+Requires-Dist: pytest-mypy; platform_python_implementation != "PyPy" and extra == "testing"
+Requires-Dist: pytest-enabler>=2.2; extra == "testing"
+Requires-Dist: pytest-ruff>=0.2.1; extra == "testing"
Provides-Extra: docs
-License-File: LICENSE
+Requires-Dist: sphinx>=3.5; extra == "docs"
+Requires-Dist: sphinx<7.2.5; extra == "docs"
+Requires-Dist: jaraco.packaging>=9.3; extra == "docs"
+Requires-Dist: rst.linker>=1.9; extra == "docs"
+Requires-Dist: furo; extra == "docs"
+Requires-Dist: sphinx-lint; extra == "docs"
.. image:: https://img.shields.io/pypi/v/jaraco.logging.svg
:target: https://pypi.org/project/jaraco.logging
.. image:: https://img.shields.io/pypi/pyversions/jaraco.logging.svg
-.. image:: https://github.com/jaraco/jaraco.logging/workflows/tests/badge.svg
+.. image:: https://github.com/jaraco/jaraco.logging/actions/workflows/main.yml/badge.s…
:target: https://github.com/jaraco/jaraco.logging/actions?query=workflow%3A%22tests%…
:alt: tests
@@ -28,10 +41,6 @@
:target: https://github.com/astral-sh/ruff
:alt: Ruff
-.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
- :target: https://github.com/psf/black
- :alt: Code style: Black
-
.. image:: https://readthedocs.org/projects/jaracologging/badge/?version=latest
:target: https://jaracologging.readthedocs.io/en/latest/?badge=latest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/README.rst new/jaraco.logging-3.3.0/README.rst
--- old/jaraco.logging-3.2.0/README.rst 2023-08-31 03:10:10.000000000 +0200
+++ new/jaraco.logging-3.3.0/README.rst 2023-12-24 18:14:11.000000000 +0100
@@ -3,7 +3,7 @@
.. image:: https://img.shields.io/pypi/pyversions/jaraco.logging.svg
-.. image:: https://github.com/jaraco/jaraco.logging/workflows/tests/badge.svg
+.. image:: https://github.com/jaraco/jaraco.logging/actions/workflows/main.yml/badge.s…
:target: https://github.com/jaraco/jaraco.logging/actions?query=workflow%3A%22tests%…
:alt: tests
@@ -11,10 +11,6 @@
:target: https://github.com/astral-sh/ruff
:alt: Ruff
-.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
- :target: https://github.com/psf/black
- :alt: Code style: Black
-
.. image:: https://readthedocs.org/projects/jaracologging/badge/?version=latest
:target: https://jaracologging.readthedocs.io/en/latest/?badge=latest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/jaraco/logging.py new/jaraco.logging-3.3.0/jaraco/logging.py
--- old/jaraco.logging-3.2.0/jaraco/logging.py 2023-08-31 03:10:10.000000000 +0200
+++ new/jaraco.logging-3.3.0/jaraco/logging.py 2023-12-24 18:14:11.000000000 +0100
@@ -1,7 +1,6 @@
import os
import logging
import time
-import datetime
import string
import http.client
@@ -133,7 +132,7 @@
if self._period_seconds:
t -= t % self._period_seconds
# convert it to a datetime object for formatting
- dt = datetime.datetime.utcfromtimestamp(t)
+ dt = tempora.utc.fromtimestamp(t)
# append the datestring to the filename
# workaround for datetime.strftime not handling '' properly
appended_date = (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/jaraco.logging.egg-info/PKG-INFO new/jaraco.logging-3.3.0/jaraco.logging.egg-info/PKG-INFO
--- old/jaraco.logging-3.2.0/jaraco.logging.egg-info/PKG-INFO 2023-08-31 03:10:30.000000000 +0200
+++ new/jaraco.logging-3.3.0/jaraco.logging.egg-info/PKG-INFO 2023-12-24 18:14:36.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: jaraco.logging
-Version: 3.2.0
+Version: 3.3.0
Summary: Support for Python logging facility
Home-page: https://github.com/jaraco/jaraco.logging
Author: Jason R. Coombs
@@ -11,16 +11,29 @@
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.8
+License-File: LICENSE
+Requires-Dist: tempora
Provides-Extra: testing
+Requires-Dist: pytest>=6; extra == "testing"
+Requires-Dist: pytest-checkdocs>=2.4; extra == "testing"
+Requires-Dist: pytest-cov; extra == "testing"
+Requires-Dist: pytest-mypy; platform_python_implementation != "PyPy" and extra == "testing"
+Requires-Dist: pytest-enabler>=2.2; extra == "testing"
+Requires-Dist: pytest-ruff>=0.2.1; extra == "testing"
Provides-Extra: docs
-License-File: LICENSE
+Requires-Dist: sphinx>=3.5; extra == "docs"
+Requires-Dist: sphinx<7.2.5; extra == "docs"
+Requires-Dist: jaraco.packaging>=9.3; extra == "docs"
+Requires-Dist: rst.linker>=1.9; extra == "docs"
+Requires-Dist: furo; extra == "docs"
+Requires-Dist: sphinx-lint; extra == "docs"
.. image:: https://img.shields.io/pypi/v/jaraco.logging.svg
:target: https://pypi.org/project/jaraco.logging
.. image:: https://img.shields.io/pypi/pyversions/jaraco.logging.svg
-.. image:: https://github.com/jaraco/jaraco.logging/workflows/tests/badge.svg
+.. image:: https://github.com/jaraco/jaraco.logging/actions/workflows/main.yml/badge.s…
:target: https://github.com/jaraco/jaraco.logging/actions?query=workflow%3A%22tests%…
:alt: tests
@@ -28,10 +41,6 @@
:target: https://github.com/astral-sh/ruff
:alt: Ruff
-.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
- :target: https://github.com/psf/black
- :alt: Code style: Black
-
.. image:: https://readthedocs.org/projects/jaracologging/badge/?version=latest
:target: https://jaracologging.readthedocs.io/en/latest/?badge=latest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/jaraco.logging.egg-info/SOURCES.txt new/jaraco.logging-3.3.0/jaraco.logging.egg-info/SOURCES.txt
--- old/jaraco.logging-3.2.0/jaraco.logging.egg-info/SOURCES.txt 2023-08-31 03:10:30.000000000 +0200
+++ new/jaraco.logging-3.3.0/jaraco.logging.egg-info/SOURCES.txt 2023-12-24 18:14:36.000000000 +0100
@@ -8,6 +8,7 @@
mypy.ini
pyproject.toml
pytest.ini
+ruff.toml
setup.cfg
towncrier.toml
tox.ini
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/jaraco.logging.egg-info/requires.txt new/jaraco.logging-3.3.0/jaraco.logging.egg-info/requires.txt
--- old/jaraco.logging-3.2.0/jaraco.logging.egg-info/requires.txt 2023-08-31 03:10:30.000000000 +0200
+++ new/jaraco.logging-3.3.0/jaraco.logging.egg-info/requires.txt 2023-12-24 18:14:36.000000000 +0100
@@ -2,6 +2,7 @@
[docs]
sphinx>=3.5
+sphinx<7.2.5
jaraco.packaging>=9.3
rst.linker>=1.9
furo
@@ -12,7 +13,7 @@
pytest-checkdocs>=2.4
pytest-cov
pytest-enabler>=2.2
-pytest-ruff
+pytest-ruff>=0.2.1
[testing:platform_python_implementation != "PyPy"]
-pytest-black>=0.3.7
+pytest-mypy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/pyproject.toml new/jaraco.logging-3.3.0/pyproject.toml
--- old/jaraco.logging-3.2.0/pyproject.toml 2023-08-31 03:10:10.000000000 +0200
+++ new/jaraco.logging-3.3.0/pyproject.toml 2023-12-24 18:14:11.000000000 +0100
@@ -2,7 +2,4 @@
requires = ["setuptools>=56", "setuptools_scm[toml]>=3.4.1"]
build-backend = "setuptools.build_meta"
-[tool.black]
-skip-string-normalization = true
-
[tool.setuptools_scm]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/pytest.ini new/jaraco.logging-3.3.0/pytest.ini
--- old/jaraco.logging-3.2.0/pytest.ini 2023-08-31 03:10:10.000000000 +0200
+++ new/jaraco.logging-3.3.0/pytest.ini 2023-12-24 18:14:11.000000000 +0100
@@ -1,21 +1,14 @@
[pytest]
norecursedirs=dist build .tox .eggs
-# doctests disabled due to pytest-dev/pytest#3396
-# addopts=--doctest-modules
+addopts=
+ --doctest-modules
+ --import-mode importlib
filterwarnings=
## upstream
# Ensure ResourceWarnings are emitted
default::ResourceWarning
- # shopkeep/pytest-black#55
- ignore:<class 'pytest_black.BlackItem'> is not using a cooperative constructor:pytest.PytestDeprecationWarning
- ignore:The \(fspath. py.path.local\) argument to BlackItem is deprecated.:pytest.PytestDeprecationWarning
- ignore:BlackItem is an Item subclass and should not be a collector:pytest.PytestWarning
-
- # shopkeep/pytest-black#67
- ignore:'encoding' argument not specified::pytest_black
-
# realpython/pytest-mypy#152
ignore:'encoding' argument not specified::pytest_mypy
@@ -25,4 +18,7 @@
# pypa/build#615
ignore:'encoding' argument not specified::build.env
+ # dateutil/dateutil#1284
+ ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning:dateutil.tz.tz
+
## end upstream
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/ruff.toml new/jaraco.logging-3.3.0/ruff.toml
--- old/jaraco.logging-3.2.0/ruff.toml 1970-01-01 01:00:00.000000000 +0100
+++ new/jaraco.logging-3.3.0/ruff.toml 2023-12-24 18:14:11.000000000 +0100
@@ -0,0 +1,22 @@
+[lint]
+extend-ignore = [
+ # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
+ "W191",
+ "E111",
+ "E114",
+ "E117",
+ "D206",
+ "D300",
+ "Q000",
+ "Q001",
+ "Q002",
+ "Q003",
+ "COM812",
+ "COM819",
+ "ISC001",
+ "ISC002",
+]
+
+[format]
+# https://docs.astral.sh/ruff/settings/#format-quote-style
+quote-style = "preserve"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/setup.cfg new/jaraco.logging-3.3.0/setup.cfg
--- old/jaraco.logging-3.2.0/setup.cfg 2023-08-31 03:10:30.785939700 +0200
+++ new/jaraco.logging-3.3.0/setup.cfg 2023-12-24 18:14:36.369487000 +0100
@@ -30,13 +30,14 @@
testing =
pytest >= 6
pytest-checkdocs >= 2.4
- pytest-black >= 0.3.7; \
- python_implementation != "PyPy"
pytest-cov
+ pytest-mypy; \
+ python_implementation != "PyPy"
pytest-enabler >= 2.2
- pytest-ruff
+ pytest-ruff >= 0.2.1
docs =
sphinx >= 3.5
+ sphinx < 7.2.5
jaraco.packaging >= 9.3
rst.linker >= 1.9
furo
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/tox.ini new/jaraco.logging-3.3.0/tox.ini
--- old/jaraco.logging-3.2.0/tox.ini 2023-08-31 03:10:10.000000000 +0200
+++ new/jaraco.logging-3.3.0/tox.ini 2023-12-24 18:14:11.000000000 +0100
@@ -1,4 +1,5 @@
[testenv]
+description = perform primary checks (tests, style, types, coverage)
deps =
setenv =
PYTHONWARNDEFAULTENCODING = 1
@@ -8,32 +9,46 @@
extras =
testing
+[testenv:diffcov]
+description = run tests and check that diff from main is covered
+deps =
+ diff-cover
+commands =
+ pytest {posargs} --cov-report xml
+ diff-cover coverage.xml --compare-branch=origin/main --html-report diffcov.html
+ diff-cover coverage.xml --compare-branch=origin/main --fail-under=100
+
[testenv:docs]
+description = build the documentation
extras =
docs
testing
changedir = docs
commands =
python -m sphinx -W --keep-going . {toxinidir}/build/html
- python -m sphinxlint
+ python -m sphinxlint \
+ # workaround for sphinx-contrib/sphinx-lint#83
+ --jobs 1
[testenv:finalize]
+description = assemble changelog and tag a release
skip_install = True
deps =
towncrier
jaraco.develop >= 7.23
-passenv = *
+pass_env = *
commands =
python -m jaraco.develop.finalize
[testenv:release]
+description = publish the package to PyPI and GitHub
skip_install = True
deps =
build
twine>=3
jaraco.develop>=7.1
-passenv =
+pass_env =
TWINE_PASSWORD
GITHUB_TOKEN
setenv =
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-boltons for openSUSE:Factory checked in at 2023-12-28 23:01:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-boltons (Old)
and /work/SRC/openSUSE:Factory/.python-boltons.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-boltons"
Thu Dec 28 23:01:33 2023 rev:11 rq:1135274 version:23.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-boltons/python-boltons.changes 2023-12-15 21:50:12.748613693 +0100
+++ /work/SRC/openSUSE:Factory/.python-boltons.new.28375/python-boltons.changes 2023-12-28 23:03:10.062179734 +0100
@@ -1,0 +2,5 @@
+Tue Dec 26 15:18:11 UTC 2023 - ecsos <ecsos(a)opensuse.org>
+
+- Add %{?sle15_python_module_pythons}
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-boltons.spec ++++++
--- /var/tmp/diff_new_pack.q2p4Sa/_old 2023-12-28 23:03:11.486231780 +0100
+++ /var/tmp/diff_new_pack.q2p4Sa/_new 2023-12-28 23:03:11.486231780 +0100
@@ -16,6 +16,7 @@
#
+%{?sle15_python_module_pythons}
Name: python-boltons
Version: 23.1.1
Release: 0
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pyotp for openSUSE:Factory checked in at 2023-12-28 23:01:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyotp (Old)
and /work/SRC/openSUSE:Factory/.python-pyotp.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyotp"
Thu Dec 28 23:01:31 2023 rev:8 rq:1135273 version:2.9.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyotp/python-pyotp.changes 2023-12-15 21:48:43.521330722 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyotp.new.28375/python-pyotp.changes 2023-12-28 23:03:08.126108976 +0100
@@ -1,0 +2,5 @@
+Tue Dec 26 15:44:10 UTC 2023 - ecsos <ecsos(a)opensuse.org>
+
+- Add %{?sle15_python_module_pythons}
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pyotp.spec ++++++
--- /var/tmp/diff_new_pack.BG0vcl/_old 2023-12-28 23:03:09.046142600 +0100
+++ /var/tmp/diff_new_pack.BG0vcl/_new 2023-12-28 23:03:09.050142747 +0100
@@ -16,8 +16,7 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
+%{?sle15_python_module_pythons}
Name: python-pyotp
Version: 2.9.0
Release: 0
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-setuptools-git-versioning for openSUSE:Factory checked in at 2023-12-28 23:01:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-setuptools-git-versioning (Old)
and /work/SRC/openSUSE:Factory/.python-setuptools-git-versioning.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-setuptools-git-versioning"
Thu Dec 28 23:01:31 2023 rev:7 rq:1135270 version:1.13.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-setuptools-git-versioning/python-setuptools-git-versioning.changes 2023-06-12 15:26:20.843015065 +0200
+++ /work/SRC/openSUSE:Factory/.python-setuptools-git-versioning.new.28375/python-setuptools-git-versioning.changes 2023-12-28 23:03:06.870063071 +0100
@@ -1,0 +2,11 @@
+Mon Dec 25 11:20:47 UTC 2023 - Ben Greiner <code(a)bnavigator.de>
+
+- Update to 1.13.5
+ * [bugfix] Import setuptools before importing distutils. Thanks
+ to @tjni
+ * [bugfix] Move zip-safe option to tool.setuptools section of
+ pyproject.toml. Thanks to @cclecle
+- Accomodate upstream's usage of reruns: some tag
+ tests fail with commit hashes starting with 0.
+
+-------------------------------------------------------------------
Old:
----
setuptools-git-versioning-1.13.2.obscpio
setuptools-git-versioning-1.13.2.tar.xz
New:
----
setuptools-git-versioning-1.13.5.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-setuptools-git-versioning.spec ++++++
--- /var/tmp/diff_new_pack.dnXzKM/_old 2023-12-28 23:03:07.542087632 +0100
+++ /var/tmp/diff_new_pack.dnXzKM/_new 2023-12-28 23:03:07.546087777 +0100
@@ -18,12 +18,13 @@
%{?sle15_python_module_pythons}
Name: python-setuptools-git-versioning
-Version: 1.13.2
+Version: 1.13.5
Release: 0
Summary: Use git repo data for building a version number according PEP-440
License: MIT
URL: https://setuptools-git-versioning.readthedocs.io
-# no sdist on PyPI, needs full git metadata for bootstrap, run osc service runall to update
+# SourceDist: https://github.com/dolfinus/setuptools-git-versioning
+# the sdist on PyPI does not have the tests, we needs full git metadata for bootstrap, run osc service runall to update
Source: setuptools-git-versioning-%{version}.tar.xz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
@@ -31,7 +32,6 @@
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: git-core
-Requires: python-Deprecated
Requires: python-packaging
Requires: python-setuptools
Requires(post): update-alternatives
@@ -39,13 +39,13 @@
Provides: python-setuptools_git_versioning = %{version}-%{release}
BuildArch: noarch
%if 0%{python_version_nodots} < 311
-Requires: python-toml
+Requires: python-toml >= 0.10.2
%endif
# SECTION test
-BuildRequires: %{python_module Deprecated}
BuildRequires: %{python_module build}
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module packaging}
+BuildRequires: %{python_module pytest-rerunfailures}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
@@ -83,10 +83,6 @@
sed -i '/assert get_version(repo, isolated=True)/d' tests/test_integration/test_config.py
# test tries to get a wheel wheel in isolated build env
donttest="test_substitution_env"
-# short git hash has only 7 characters on i586
-donttest="$donttest or (test_version_file_count_commits and sha)"
-# broken under Python 3.11
-donttest="$donttest or test_substitution_timestamp"
%pytest -k "not ($donttest)" -n auto
%post
++++++ setuptools-git-versioning-1.13.2.tar.xz -> setuptools-git-versioning-1.13.5.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/.git/FETCH_HEAD new/setuptools-git-versioning-1.13.5/.git/FETCH_HEAD
--- old/setuptools-git-versioning-1.13.2/.git/FETCH_HEAD 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/.git/FETCH_HEAD 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-426127db8d293ee09e7bf00571b2894584da9bf7 not-for-merge branch 'master' of https://github.com/dolfinus/setuptools-git-versioning
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/.git/HEAD new/setuptools-git-versioning-1.13.5/.git/HEAD
--- old/setuptools-git-versioning-1.13.2/.git/HEAD 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/.git/HEAD 2023-08-08 12:43:14.000000000 +0200
@@ -1 +1 @@
-aa578a78397cd8ca51bd389aaee8a274fd1b6274
+3cd11bcd38f15e2e9b25bee7485e81840f3e16dd
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/.git/ORIG_HEAD new/setuptools-git-versioning-1.13.5/.git/ORIG_HEAD
--- old/setuptools-git-versioning-1.13.2/.git/ORIG_HEAD 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/.git/ORIG_HEAD 2023-08-08 12:43:14.000000000 +0200
@@ -1 +1 @@
-aa578a78397cd8ca51bd389aaee8a274fd1b6274
+3cd11bcd38f15e2e9b25bee7485e81840f3e16dd
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/.git/hooks/sendemail-validate.sample new/setuptools-git-versioning-1.13.5/.git/hooks/sendemail-validate.sample
--- old/setuptools-git-versioning-1.13.2/.git/hooks/sendemail-validate.sample 1970-01-01 01:00:00.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/.git/hooks/sendemail-validate.sample 2023-08-08 12:43:14.000000000 +0200
@@ -0,0 +1,77 @@
+#!/bin/sh
+
+# An example hook script to validate a patch (and/or patch series) before
+# sending it via email.
+#
+# The hook should exit with non-zero status after issuing an appropriate
+# message if it wants to prevent the email(s) from being sent.
+#
+# To enable this hook, rename this file to "sendemail-validate".
+#
+# By default, it will only check that the patch(es) can be applied on top of
+# the default upstream branch without conflicts in a secondary worktree. After
+# validation (successful or not) of the last patch of a series, the worktree
+# will be deleted.
+#
+# The following config variables can be set to change the default remote and
+# remote ref that are used to apply the patches against:
+#
+# sendemail.validateRemote (default: origin)
+# sendemail.validateRemoteRef (default: HEAD)
+#
+# Replace the TODO placeholders with appropriate checks according to your
+# needs.
+
+validate_cover_letter () {
+ file="$1"
+ # TODO: Replace with appropriate checks (e.g. spell checking).
+ true
+}
+
+validate_patch () {
+ file="$1"
+ # Ensure that the patch applies without conflicts.
+ git am -3 "$file" || return
+ # TODO: Replace with appropriate checks for this patch
+ # (e.g. checkpatch.pl).
+ true
+}
+
+validate_series () {
+ # TODO: Replace with appropriate checks for the whole series
+ # (e.g. quick build, coding style checks, etc.).
+ true
+}
+
+# main -------------------------------------------------------------------------
+
+if test "$GIT_SENDEMAIL_FILE_COUNTER" = 1
+then
+ remote=$(git config --default origin --get sendemail.validateRemote) &&
+ ref=$(git config --default HEAD --get sendemail.validateRemoteRef) &&
+ worktree=$(mktemp --tmpdir -d sendemail-validate.XXXXXXX) &&
+ git worktree add -fd --checkout "$worktree" "refs/remotes/$remote/$ref" &&
+ git config --replace-all sendemail.validateWorktree "$worktree"
+else
+ worktree=$(git config --get sendemail.validateWorktree)
+fi || {
+ echo "sendemail-validate: error: failed to prepare worktree" >&2
+ exit 1
+}
+
+unset GIT_DIR GIT_WORK_TREE
+cd "$worktree" &&
+
+if grep -q "^diff --git " "$1"
+then
+ validate_patch "$1"
+else
+ validate_cover_letter "$1"
+fi &&
+
+if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL"
+then
+ git config --unset-all sendemail.validateWorktree &&
+ trap 'git worktree remove -ff "$worktree"' EXIT &&
+ validate_series
+fi
Binary files old/setuptools-git-versioning-1.13.2/.git/index and new/setuptools-git-versioning-1.13.5/.git/index differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/.git/logs/HEAD new/setuptools-git-versioning-1.13.5/.git/logs/HEAD
--- old/setuptools-git-versioning-1.13.2/.git/logs/HEAD 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/.git/logs/HEAD 2023-08-08 12:43:14.000000000 +0200
@@ -1,2 +1,2 @@
-0000000000000000000000000000000000000000 426127db8d293ee09e7bf00571b2894584da9bf7 Steve Kowalik <steven(a)wedontsleep.org> 1677806985 +1100 clone: from https://github.com/dolfinus/setuptools-git-versioning.git
-426127db8d293ee09e7bf00571b2894584da9bf7 aa578a78397cd8ca51bd389aaee8a274fd1b6274 Steve Kowalik <steven(a)wedontsleep.org> 1677806987 +1100 checkout: moving from master to v1.13.2
+0000000000000000000000000000000000000000 9903bf017e52d1e466775c50cdd6c10a8d92e021 Ben Greiner <code(a)bnavigator.de> 1703503198 +0100 clone: from https://github.com/dolfinus/setuptools-git-versioning.git
+9903bf017e52d1e466775c50cdd6c10a8d92e021 3cd11bcd38f15e2e9b25bee7485e81840f3e16dd Ben Greiner <code(a)bnavigator.de> 1703503200 +0100 checkout: moving from master to v1.13.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/.git/logs/refs/heads/master new/setuptools-git-versioning-1.13.5/.git/logs/refs/heads/master
--- old/setuptools-git-versioning-1.13.2/.git/logs/refs/heads/master 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/.git/logs/refs/heads/master 2023-08-08 12:43:14.000000000 +0200
@@ -1 +1 @@
-0000000000000000000000000000000000000000 426127db8d293ee09e7bf00571b2894584da9bf7 Steve Kowalik <steven(a)wedontsleep.org> 1677806985 +1100 clone: from https://github.com/dolfinus/setuptools-git-versioning.git
+0000000000000000000000000000000000000000 9903bf017e52d1e466775c50cdd6c10a8d92e021 Ben Greiner <code(a)bnavigator.de> 1703503198 +0100 clone: from https://github.com/dolfinus/setuptools-git-versioning.git
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/.git/logs/refs/remotes/origin/HEAD new/setuptools-git-versioning-1.13.5/.git/logs/refs/remotes/origin/HEAD
--- old/setuptools-git-versioning-1.13.2/.git/logs/refs/remotes/origin/HEAD 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/.git/logs/refs/remotes/origin/HEAD 2023-08-08 12:43:14.000000000 +0200
@@ -1 +1 @@
-0000000000000000000000000000000000000000 426127db8d293ee09e7bf00571b2894584da9bf7 Steve Kowalik <steven(a)wedontsleep.org> 1677806985 +1100 clone: from https://github.com/dolfinus/setuptools-git-versioning.git
+0000000000000000000000000000000000000000 9903bf017e52d1e466775c50cdd6c10a8d92e021 Ben Greiner <code(a)bnavigator.de> 1703503198 +0100 clone: from https://github.com/dolfinus/setuptools-git-versioning.git
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-1f99d45186b410752251124dbd000a369df3fdd4.idx and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-1f99d45186b410752251124dbd000a369df3fdd4.idx differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-1f99d45186b410752251124dbd000a369df3fdd4.pack and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-1f99d45186b410752251124dbd000a369df3fdd4.pack differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-1f99d45186b410752251124dbd000a369df3fdd4.rev and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-1f99d45186b410752251124dbd000a369df3fdd4.rev differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-2f84ad5fc08e1a4404f9d592ef86c8dd44919f5f.idx and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-2f84ad5fc08e1a4404f9d592ef86c8dd44919f5f.idx differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-2f84ad5fc08e1a4404f9d592ef86c8dd44919f5f.pack and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-2f84ad5fc08e1a4404f9d592ef86c8dd44919f5f.pack differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-2f84ad5fc08e1a4404f9d592ef86c8dd44919f5f.rev and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-2f84ad5fc08e1a4404f9d592ef86c8dd44919f5f.rev differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-60a4b7037b1b7388f874ffb8b118beb2e3bc9847.idx and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-60a4b7037b1b7388f874ffb8b118beb2e3bc9847.idx differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-60a4b7037b1b7388f874ffb8b118beb2e3bc9847.pack and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-60a4b7037b1b7388f874ffb8b118beb2e3bc9847.pack differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-60a4b7037b1b7388f874ffb8b118beb2e3bc9847.rev and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-60a4b7037b1b7388f874ffb8b118beb2e3bc9847.rev differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-868e41a90e790bc3ab8d539025820592e6c1c9be.idx and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-868e41a90e790bc3ab8d539025820592e6c1c9be.idx differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-868e41a90e790bc3ab8d539025820592e6c1c9be.pack and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-868e41a90e790bc3ab8d539025820592e6c1c9be.pack differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-8ff2f3b023f45447476cbed4db802e0c17a2c293.idx and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-8ff2f3b023f45447476cbed4db802e0c17a2c293.idx differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-8ff2f3b023f45447476cbed4db802e0c17a2c293.pack and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-8ff2f3b023f45447476cbed4db802e0c17a2c293.pack differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-bb988e9992ffc39879c7cf7499b67f353480232c.idx and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-bb988e9992ffc39879c7cf7499b67f353480232c.idx differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-bb988e9992ffc39879c7cf7499b67f353480232c.pack and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-bb988e9992ffc39879c7cf7499b67f353480232c.pack differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-bb988e9992ffc39879c7cf7499b67f353480232c.promisor new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-bb988e9992ffc39879c7cf7499b67f353480232c.promisor
--- old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-bb988e9992ffc39879c7cf7499b67f353480232c.promisor 1970-01-01 01:00:00.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-bb988e9992ffc39879c7cf7499b67f353480232c.promisor 2023-08-08 12:43:14.000000000 +0200
@@ -0,0 +1,67 @@
+9903bf017e52d1e466775c50cdd6c10a8d92e021 HEAD
+983fd6c8894f57654fa44236d14a82ba32465de7 refs/heads/dependabot/github_actions/codecov/codecov-action-4
+9903bf017e52d1e466775c50cdd6c10a8d92e021 refs/heads/master
+e9d91fd77bdc2d7e4b1829c9dce3a7e2fadf2eda refs/tags/v0.0.1
+ddc55a0a1bc5723b98722322d2ce9ff3719e77fc refs/tags/v0.0.2
+7b4b2d696eba871b4ace0adb23a0b31112b38c2f refs/tags/v0.0.3
+ad8eb0388cb79bdf942c06805285ec11fe37e7d8 refs/tags/v0.0.4
+a496cd6e47bbe2ae3ee45092395839dd66477c9b refs/tags/v1.0.0
+ad23f99e5a0b23927e51df8b8b98fc85c17eda32 refs/tags/v1.0.1
+a6692e2af73b5abfb10d4a763517cc78445698de refs/tags/v1.0.2
+f15686b5e6ce9d84e2994979a799b1287d87ffcf refs/tags/v1.0.3
+b45f5724240d2f44ce24e48c74b8c3b5791f54bf refs/tags/v1.0.4
+119f98a08610da39cfd9fb9f2e533b42856af39b refs/tags/v1.1.10
+184e9670ed01bcd3829dd1d5ddb109d741757aa4 refs/tags/v1.1.11
+b85a5e5d1fedbbf75bb17b0953021ebf0640f917 refs/tags/v1.1.12
+4d57008dc8a1e876d152d828c34c8a8fe10c3f6d refs/tags/v1.1.13
+4bce22abed9330366e2d81905812521563009746 refs/tags/v1.1.14
+98323c6c19b5c9d9e1c24e1d2abcbefd88ec50c6 refs/tags/v1.1.2
+85439b4028abaedd791d966cd602234990a6ce74 refs/tags/v1.1.3
+3c213500c42efcdcc395bf7435e79cd47bc574ce refs/tags/v1.1.4
+8d427b3128dad9d0a28118a3fcaee4984347948a refs/tags/v1.1.5
+777c1366912c17ad264b8a0f1ba675f24f91a72f refs/tags/v1.1.7
+f9dfa1e69469cd14742afe9bcfd5e71ad733ec73 refs/tags/v1.1.8
+2fde432bb5077c3dbf2914402bdaa5ac705b06c0 refs/tags/v1.1.9
+f1e03f57c32309a976373789c3ed9801397ec91e refs/tags/v1.10.0
+629952c29a594182db00a7bdf6c896f330110cd7 refs/tags/v1.10.1
+fe3547ae4c5ea0af4ed4a3e8b60aa119ed0c3136 refs/tags/v1.11.0
+b1afa6eaa05c964271ab897fba16fd8ac957a616 refs/tags/v1.12.0
+031ee08407cfb7edd073fbbbaff2060ff3a3bd37 refs/tags/v1.12.1
+663ffcc297ce75a4dce7d6b46a40b43fd3c77429 refs/tags/v1.13.0
+eea9b28acd19aad4b5d2932e6338e0d1fc23ef41 refs/tags/v1.13.1
+aa578a78397cd8ca51bd389aaee8a274fd1b6274 refs/tags/v1.13.2
+ecaddc48c20268cc903e9cce2bb5e772566d90fd refs/tags/v1.13.3
+ba4f32955aac97694d68faf4643e0b5f764241bd refs/tags/v1.13.4
+3cd11bcd38f15e2e9b25bee7485e81840f3e16dd refs/tags/v1.13.5
+5c4dd0f25bc892f0c6863c74bfbfe2b1bdcbc435 refs/tags/v1.2.0
+5a47ac43076c029aba68eb3d1218b38327a35c2b refs/tags/v1.2.1
+9684323617cf2c5828d5c58e24ff28dd78103ad2 refs/tags/v1.2.10
+1ed862d07e5d1995bd68e9c6063d5d9746587815 refs/tags/v1.2.2
+bee32404c7915f97823e621a0538bcc9b04ac487 refs/tags/v1.2.3
+07b92afc6058aea1b3bbc370b3667c0ef3f6a5ad refs/tags/v1.2.4
+07addd8750a46bf3879bce202afa1fa30a2af64b refs/tags/v1.2.5
+bc7e35002c26cca619c8fbdd2e62c6b065f744d8 refs/tags/v1.2.6
+b808b01af29f238771caf9308bb60a84c76208a2 refs/tags/v1.2.7
+89478a045f95f338b216cf21e9fb5d2b3b3b19e8 refs/tags/v1.2.8
+77580e0e717f1305686ae5e1fc60c04e68f3dc72 refs/tags/v1.2.9
+5ac7d8fd09af0a5afda12d6362c9673491888b89 refs/tags/v1.3.0
+adf997c08202a2a23bdd65c7b7b18ce722f5da75 refs/tags/v1.3.1
+c26dbcdea3952543fa1034bc833aa94fca3d0e3d refs/tags/v1.3.2
+44bd8fd51c7a9900e526db66450493a0be1e07c7 refs/tags/v1.3.3
+7cdc0d1d4e2d65ef9c9d71c88acd1ed7df82563a refs/tags/v1.3.4
+813ef149555c8ea49e85e4362a0496d2fc200fb1 refs/tags/v1.3.5
+8cf025702751930320e90d445e3a06bb2a03375c refs/tags/v1.3.6
+06b59a5f0457d81f9868912e73fe20d0d2423b58 refs/tags/v1.4.0
+b4ab047f61f9a87898e755510d0579c7016da084 refs/tags/v1.5.0
+c081fb9ca1992231111b431d331c0d5005145758 refs/tags/v1.6.0
+f59518bf6d2bb07191f3a53e23e1d79f5ad55a07 refs/tags/v1.6.1
+cad4e9262d9e0a321b35dbce60ab41dcf735e652 refs/tags/v1.7.0
+b2da6fbc037f67ceabfbfc196b250f5fe58db5b8 refs/tags/v1.7.1
+c2ed0da8313bf44ed8888f6aae348a963c7b80d5 refs/tags/v1.7.2
+a7af368f91b6bce049a416f4d0437f65c9d3b428 refs/tags/v1.7.3
+ac47f21048bfe9b62f13c4a45d63deefcbc7a089 refs/tags/v1.7.4
+df461e6b33493642ef39b96f8c5d68689f304bf7 refs/tags/v1.8.0
+d3a7e9c802f02d79c1376e8b9d799dd323c2352e refs/tags/v1.8.1
+3b6c2f214d60d62cc4940620850fdf9875859e9a refs/tags/v1.9.0
+b88025acce827cd64c14993f820815cb49499651 refs/tags/v1.9.1
+cb7610e8461f39dc137542be8ec85caebe3cd613 refs/tags/v1.9.2
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-bb988e9992ffc39879c7cf7499b67f353480232c.rev and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-bb988e9992ffc39879c7cf7499b67f353480232c.rev differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-dda3791271d03f455b9e93ca1ec4970f9c5a4ada.idx and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-dda3791271d03f455b9e93ca1ec4970f9c5a4ada.idx differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-dda3791271d03f455b9e93ca1ec4970f9c5a4ada.pack and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-dda3791271d03f455b9e93ca1ec4970f9c5a4ada.pack differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-dda3791271d03f455b9e93ca1ec4970f9c5a4ada.promisor new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-dda3791271d03f455b9e93ca1ec4970f9c5a4ada.promisor
--- old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-dda3791271d03f455b9e93ca1ec4970f9c5a4ada.promisor 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-dda3791271d03f455b9e93ca1ec4970f9c5a4ada.promisor 1970-01-01 01:00:00.000000000 +0100
@@ -1,63 +0,0 @@
-426127db8d293ee09e7bf00571b2894584da9bf7 HEAD
-426127db8d293ee09e7bf00571b2894584da9bf7 refs/heads/master
-e9d91fd77bdc2d7e4b1829c9dce3a7e2fadf2eda refs/tags/v0.0.1
-ddc55a0a1bc5723b98722322d2ce9ff3719e77fc refs/tags/v0.0.2
-7b4b2d696eba871b4ace0adb23a0b31112b38c2f refs/tags/v0.0.3
-ad8eb0388cb79bdf942c06805285ec11fe37e7d8 refs/tags/v0.0.4
-a496cd6e47bbe2ae3ee45092395839dd66477c9b refs/tags/v1.0.0
-ad23f99e5a0b23927e51df8b8b98fc85c17eda32 refs/tags/v1.0.1
-a6692e2af73b5abfb10d4a763517cc78445698de refs/tags/v1.0.2
-f15686b5e6ce9d84e2994979a799b1287d87ffcf refs/tags/v1.0.3
-b45f5724240d2f44ce24e48c74b8c3b5791f54bf refs/tags/v1.0.4
-119f98a08610da39cfd9fb9f2e533b42856af39b refs/tags/v1.1.10
-184e9670ed01bcd3829dd1d5ddb109d741757aa4 refs/tags/v1.1.11
-b85a5e5d1fedbbf75bb17b0953021ebf0640f917 refs/tags/v1.1.12
-4d57008dc8a1e876d152d828c34c8a8fe10c3f6d refs/tags/v1.1.13
-4bce22abed9330366e2d81905812521563009746 refs/tags/v1.1.14
-98323c6c19b5c9d9e1c24e1d2abcbefd88ec50c6 refs/tags/v1.1.2
-85439b4028abaedd791d966cd602234990a6ce74 refs/tags/v1.1.3
-3c213500c42efcdcc395bf7435e79cd47bc574ce refs/tags/v1.1.4
-8d427b3128dad9d0a28118a3fcaee4984347948a refs/tags/v1.1.5
-777c1366912c17ad264b8a0f1ba675f24f91a72f refs/tags/v1.1.7
-f9dfa1e69469cd14742afe9bcfd5e71ad733ec73 refs/tags/v1.1.8
-2fde432bb5077c3dbf2914402bdaa5ac705b06c0 refs/tags/v1.1.9
-f1e03f57c32309a976373789c3ed9801397ec91e refs/tags/v1.10.0
-629952c29a594182db00a7bdf6c896f330110cd7 refs/tags/v1.10.1
-fe3547ae4c5ea0af4ed4a3e8b60aa119ed0c3136 refs/tags/v1.11.0
-b1afa6eaa05c964271ab897fba16fd8ac957a616 refs/tags/v1.12.0
-031ee08407cfb7edd073fbbbaff2060ff3a3bd37 refs/tags/v1.12.1
-663ffcc297ce75a4dce7d6b46a40b43fd3c77429 refs/tags/v1.13.0
-eea9b28acd19aad4b5d2932e6338e0d1fc23ef41 refs/tags/v1.13.1
-aa578a78397cd8ca51bd389aaee8a274fd1b6274 refs/tags/v1.13.2
-5c4dd0f25bc892f0c6863c74bfbfe2b1bdcbc435 refs/tags/v1.2.0
-5a47ac43076c029aba68eb3d1218b38327a35c2b refs/tags/v1.2.1
-9684323617cf2c5828d5c58e24ff28dd78103ad2 refs/tags/v1.2.10
-1ed862d07e5d1995bd68e9c6063d5d9746587815 refs/tags/v1.2.2
-bee32404c7915f97823e621a0538bcc9b04ac487 refs/tags/v1.2.3
-07b92afc6058aea1b3bbc370b3667c0ef3f6a5ad refs/tags/v1.2.4
-07addd8750a46bf3879bce202afa1fa30a2af64b refs/tags/v1.2.5
-bc7e35002c26cca619c8fbdd2e62c6b065f744d8 refs/tags/v1.2.6
-b808b01af29f238771caf9308bb60a84c76208a2 refs/tags/v1.2.7
-89478a045f95f338b216cf21e9fb5d2b3b3b19e8 refs/tags/v1.2.8
-77580e0e717f1305686ae5e1fc60c04e68f3dc72 refs/tags/v1.2.9
-5ac7d8fd09af0a5afda12d6362c9673491888b89 refs/tags/v1.3.0
-adf997c08202a2a23bdd65c7b7b18ce722f5da75 refs/tags/v1.3.1
-c26dbcdea3952543fa1034bc833aa94fca3d0e3d refs/tags/v1.3.2
-44bd8fd51c7a9900e526db66450493a0be1e07c7 refs/tags/v1.3.3
-7cdc0d1d4e2d65ef9c9d71c88acd1ed7df82563a refs/tags/v1.3.4
-813ef149555c8ea49e85e4362a0496d2fc200fb1 refs/tags/v1.3.5
-8cf025702751930320e90d445e3a06bb2a03375c refs/tags/v1.3.6
-06b59a5f0457d81f9868912e73fe20d0d2423b58 refs/tags/v1.4.0
-b4ab047f61f9a87898e755510d0579c7016da084 refs/tags/v1.5.0
-c081fb9ca1992231111b431d331c0d5005145758 refs/tags/v1.6.0
-f59518bf6d2bb07191f3a53e23e1d79f5ad55a07 refs/tags/v1.6.1
-cad4e9262d9e0a321b35dbce60ab41dcf735e652 refs/tags/v1.7.0
-b2da6fbc037f67ceabfbfc196b250f5fe58db5b8 refs/tags/v1.7.1
-c2ed0da8313bf44ed8888f6aae348a963c7b80d5 refs/tags/v1.7.2
-a7af368f91b6bce049a416f4d0437f65c9d3b428 refs/tags/v1.7.3
-ac47f21048bfe9b62f13c4a45d63deefcbc7a089 refs/tags/v1.7.4
-df461e6b33493642ef39b96f8c5d68689f304bf7 refs/tags/v1.8.0
-d3a7e9c802f02d79c1376e8b9d799dd323c2352e refs/tags/v1.8.1
-3b6c2f214d60d62cc4940620850fdf9875859e9a refs/tags/v1.9.0
-b88025acce827cd64c14993f820815cb49499651 refs/tags/v1.9.1
-cb7610e8461f39dc137542be8ec85caebe3cd613 refs/tags/v1.9.2
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-e35ede83ca6a048bc3036766dfbe5796d206922a.idx and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-e35ede83ca6a048bc3036766dfbe5796d206922a.idx differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-e35ede83ca6a048bc3036766dfbe5796d206922a.pack and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-e35ede83ca6a048bc3036766dfbe5796d206922a.pack differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-e5b80f63ec9f124d9c764fdbdc4957401874ae5a.idx and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-e5b80f63ec9f124d9c764fdbdc4957401874ae5a.idx differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-e5b80f63ec9f124d9c764fdbdc4957401874ae5a.pack and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-e5b80f63ec9f124d9c764fdbdc4957401874ae5a.pack differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-f3c86fa9c2da65d101cafe25679818222c49edb4.idx and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-f3c86fa9c2da65d101cafe25679818222c49edb4.idx differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-f3c86fa9c2da65d101cafe25679818222c49edb4.pack and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-f3c86fa9c2da65d101cafe25679818222c49edb4.pack differ
Binary files old/setuptools-git-versioning-1.13.2/.git/objects/pack/pack-f3c86fa9c2da65d101cafe25679818222c49edb4.rev and new/setuptools-git-versioning-1.13.5/.git/objects/pack/pack-f3c86fa9c2da65d101cafe25679818222c49edb4.rev differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/.git/packed-refs new/setuptools-git-versioning-1.13.5/.git/packed-refs
--- old/setuptools-git-versioning-1.13.2/.git/packed-refs 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/.git/packed-refs 2023-08-08 12:43:14.000000000 +0200
@@ -1,5 +1,6 @@
# pack-refs with: peeled fully-peeled sorted
-426127db8d293ee09e7bf00571b2894584da9bf7 refs/remotes/origin/master
+983fd6c8894f57654fa44236d14a82ba32465de7 refs/remotes/origin/dependabot/github_actions/codecov/codecov-action-4
+9903bf017e52d1e466775c50cdd6c10a8d92e021 refs/remotes/origin/master
e9d91fd77bdc2d7e4b1829c9dce3a7e2fadf2eda refs/tags/v0.0.1
ddc55a0a1bc5723b98722322d2ce9ff3719e77fc refs/tags/v0.0.2
7b4b2d696eba871b4ace0adb23a0b31112b38c2f refs/tags/v0.0.3
@@ -29,6 +30,9 @@
663ffcc297ce75a4dce7d6b46a40b43fd3c77429 refs/tags/v1.13.0
eea9b28acd19aad4b5d2932e6338e0d1fc23ef41 refs/tags/v1.13.1
aa578a78397cd8ca51bd389aaee8a274fd1b6274 refs/tags/v1.13.2
+ecaddc48c20268cc903e9cce2bb5e772566d90fd refs/tags/v1.13.3
+ba4f32955aac97694d68faf4643e0b5f764241bd refs/tags/v1.13.4
+3cd11bcd38f15e2e9b25bee7485e81840f3e16dd refs/tags/v1.13.5
5c4dd0f25bc892f0c6863c74bfbfe2b1bdcbc435 refs/tags/v1.2.0
5a47ac43076c029aba68eb3d1218b38327a35c2b refs/tags/v1.2.1
9684323617cf2c5828d5c58e24ff28dd78103ad2 refs/tags/v1.2.10
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/.git/refs/heads/master new/setuptools-git-versioning-1.13.5/.git/refs/heads/master
--- old/setuptools-git-versioning-1.13.2/.git/refs/heads/master 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/.git/refs/heads/master 2023-08-08 12:43:14.000000000 +0200
@@ -1 +1 @@
-426127db8d293ee09e7bf00571b2894584da9bf7
+9903bf017e52d1e466775c50cdd6c10a8d92e021
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/.github/workflows/dev-release.yml new/setuptools-git-versioning-1.13.5/.github/workflows/dev-release.yml
--- old/setuptools-git-versioning-1.13.2/.github/workflows/dev-release.yml 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/.github/workflows/dev-release.yml 2023-08-08 12:43:14.000000000 +0200
@@ -7,45 +7,24 @@
- pre-commit-ci-update-config
workflow_dispatch:
-jobs:
- wait-tests:
- name: Wait for tests
- runs-on: ubuntu-latest
-
- steps:
- - uses: fountainhead/action-wait-for-check(a)v1.1.0
- id: wait-for-tests
- with:
- token: ${{ secrets.GITHUB_TOKEN }}
- checkName: Tests done
- ref: ${{ github.sha }}
- timeoutSeconds: 3600
-
- - name: Fail the Build
- uses: cutenode/action-always-fail@v1
- if: steps.wait-for-tests.outputs.conclusion != 'success'
+env:
+ DEFAULT_PYTHON: '3.11'
- wait-codeql:
- name: Wait for CodeQL
- runs-on: ubuntu-latest
-
- steps:
- - uses: fountainhead/action-wait-for-check(a)v1.1.0
- id: wait-for-codeql
- with:
- token: ${{ secrets.GITHUB_TOKEN }}
- checkName: Analyze
- ref: ${{ github.sha }}
- timeoutSeconds: 3600
-
- - name: Fail the Build
- uses: cutenode/action-always-fail@v1
- if: steps.wait-for-codeql.outputs.conclusion != 'success'
+concurrency:
+ group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
+ cancel-in-progress: true
+jobs:
release:
name: Release package
runs-on: ubuntu-latest
- needs: [wait-tests, wait-codeql]
+ if: github.repository == 'dolfinus/setuptools-git-versioning' # prevent running on forks
+
+ environment:
+ name: test-pypi
+ url: https://test.pypi.org/p/onetl
+ permissions:
+ id-token: write # to auth in Test PyPI
steps:
- name: Checkout code
@@ -53,19 +32,20 @@
with:
fetch-depth: 0
- - name: Set up Python 3.11
+ - name: Set up Python ${{ env.DEFAULT_PYTHON }}
+ id: python
uses: actions/setup-python@v4
with:
- python-version: '3.11'
+ python-version: ${{ env.DEFAULT_PYTHON }}
- name: Cache pip
uses: actions/cache@v3
with:
path: ~/.cache/pip
- key: ${{ runner.os }}-python-3.11-release-${{ hashFiles('requirements*.txt') }}
+ key: ${{ runner.os }}-python-${{ env.DEFAULT_PYTHON }}-release-${{ hashFiles('requirements*.txt') }}
restore-keys: |
- ${{ runner.os }}-python-3.11-release-${{ hashFiles('requirements*.txt') }}
- ${{ runner.os }}-python-3.11-release-
+ ${{ runner.os }}-python-${{ env.DEFAULT_PYTHON }}-release-${{ hashFiles('requirements*.txt') }}
+ ${{ runner.os }}-python-${{ env.DEFAULT_PYTHON }}-release-
${{ runner.os }}-python
${{ runner.os }}-
@@ -88,5 +68,4 @@
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
- password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/.github/workflows/release.yml new/setuptools-git-versioning-1.13.5/.github/workflows/release.yml
--- old/setuptools-git-versioning-1.13.2/.github/workflows/release.yml 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/.github/workflows/release.yml 2023-08-08 12:43:14.000000000 +0200
@@ -5,45 +5,21 @@
tags:
- v*
-jobs:
- wait-tests:
- name: Wait for tests
- runs-on: ubuntu-latest
-
- steps:
- - uses: fountainhead/action-wait-for-check(a)v1.1.0
- id: wait-for-tests
- with:
- token: ${{ secrets.GITHUB_TOKEN }}
- checkName: Tests done
- ref: ${{ github.sha }}
- timeoutSeconds: 3600
-
- - name: Fail the Build
- uses: cutenode/action-always-fail@v1
- if: steps.wait-for-tests.outputs.conclusion != 'success'
-
- wait-codeql:
- name: Wait for CodeQL
- runs-on: ubuntu-latest
-
- steps:
- - uses: fountainhead/action-wait-for-check(a)v1.1.0
- id: wait-for-codeql
- with:
- token: ${{ secrets.GITHUB_TOKEN }}
- checkName: Analyze
- ref: ${{ github.sha }}
- timeoutSeconds: 3600
-
- - name: Fail the Build
- uses: cutenode/action-always-fail@v1
- if: steps.wait-for-codeql.outputs.conclusion != 'success'
+env:
+ DEFAULT_PYTHON: '3.11'
+jobs:
release:
name: Release package
runs-on: ubuntu-latest
- needs: [wait-tests, wait-codeql]
+ if: github.repository == 'dolfinus/setuptools-git-versioning' # prevent running on forks
+
+ environment:
+ name: pypi
+ url: https://pypi.org/p/onetl
+ permissions:
+ id-token: write # to auth in PyPI
+ contents: write # to create Github release
steps:
- name: Checkout code
@@ -51,19 +27,19 @@
with:
fetch-depth: 0
- - name: Set up Python 3.11
+ - name: Set up Python ${{ env.DEFAULT_PYTHON }}
uses: actions/setup-python@v4
with:
- python-version: '3.11'
+ python-version: ${{ env.DEFAULT_PYTHON }}
- name: Cache pip
uses: actions/cache@v3
with:
path: ~/.cache/pip
- key: ${{ runner.os }}-python-3.11-release-${{ hashFiles('requirements*.txt') }}
+ key: ${{ runner.os }}-python-${{ env.DEFAULT_PYTHON }}-release-${{ hashFiles('requirements*.txt') }}
restore-keys: |
- ${{ runner.os }}-python-3.11-release-${{ hashFiles('requirements*.txt') }}
- ${{ runner.os }}-python-3.11-release-
+ ${{ runner.os }}-python-${{ env.DEFAULT_PYTHON }}-release-${{ hashFiles('requirements*.txt') }}
+ ${{ runner.os }}-python-${{ env.DEFAULT_PYTHON }}-release-
${{ runner.os }}-python
${{ runner.os }}-
@@ -96,8 +72,6 @@
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
- with:
- password: ${{ secrets.PYPI_API_TOKEN }}
- name: Create Github release
id: create_release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/.github/workflows/test.yml new/setuptools-git-versioning-1.13.5/.github/workflows/test.yml
--- old/setuptools-git-versioning-1.13.2/.github/workflows/test.yml 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/.github/workflows/test.yml 2023-08-08 12:43:14.000000000 +0200
@@ -20,7 +20,7 @@
strategy:
fail-fast: false
matrix:
- python-version: ['3.7', pypy-3.7, pypy-3.9]
+ python-version: ['3.7', pypy-3.7, pypy-3.10]
os: [ubuntu-latest]
# run only limited set of tests because it takes too long
mark: [important]
@@ -75,18 +75,13 @@
run: |
mkdir reports/
pip install -e . --no-build-isolation
- coverage run -m pytest --reruns 5 -m ${{ matrix.mark }}
-
- - name: Combine coverage
- run: |
- coverage combine
- coverage xml -o reports/coverage-${{ matrix.python-version }}.xml -i
+ coverage run -m pytest -m ${{ matrix.mark }}
- name: Upload coverage results
uses: actions/upload-artifact@v3
with:
name: code-coverage-${{ matrix.python-version }}
- path: reports/coverage-${{ matrix.python-version }}.xml
+ path: reports/.coverage*
all_done:
name: Tests done
@@ -97,6 +92,28 @@
- name: Checkout code
uses: actions/checkout@v3
+ - name: Set up Python 3.11
+ uses: actions/setup-python@v4
+ with:
+ python-version: '3.11'
+
+ - name: Cache pip
+ uses: actions/cache@v3
+ with:
+ path: ~/.cache/pip
+ key: ${{ runner.os }}-python-3.11-tests-${{ hashFiles('requirements*.txt') }}
+ restore-keys: |
+ ${{ runner.os }}-python-3.11-tests-${{ hashFiles('requirements*.txt') }}
+ ${{ runner.os }}-python-3.11-tests-
+ ${{ runner.os }}-python
+ ${{ runner.os }}-
+
+ - name: Upgrade pip
+ run: python -m pip install --upgrade pip setuptools wheel
+
+ - name: Install dependencies
+ run: pip install -I -r requirements.txt -r requirements-test.txt
+
- name: Download all coverage reports
uses: actions/download-artifact@v3
with:
@@ -105,6 +122,11 @@
- name: Move coverage reports to the root folder
run: find reports -type f -exec mv '{}' reports \;
+ - name: Combine coverage
+ run: |
+ coverage combine
+ coverage xml -o reports/coverage.xml -i
+
- name: Check coverage
uses: codecov/codecov-action@v3
with:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/.pre-commit-config.yaml new/setuptools-git-versioning-1.13.5/.pre-commit-config.yaml
--- old/setuptools-git-versioning-1.13.2/.pre-commit-config.yaml 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/.pre-commit-config.yaml 2023-08-08 12:43:14.000000000 +0200
@@ -20,16 +20,16 @@
- id: trailing-whitespace
- id: detect-private-key
- repo: https://github.com/Lucas-C/pre-commit-hooks
- rev: v1.4.2
+ rev: v1.5.3
hooks:
- id: remove-tabs
- repo: https://github.com/codespell-project/codespell
- rev: v2.2.2
+ rev: v2.2.5
hooks:
- id: codespell
args: [-w]
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
- rev: v2.7.0
+ rev: v2.10.0
hooks:
- id: pretty-format-yaml
args: [--autofix, --indent, '2']
@@ -45,30 +45,30 @@
- id: python-no-eval
- id: text-unicode-replacement-char
- repo: https://github.com/asottile/pyupgrade
- rev: v3.3.1
+ rev: v3.10.1
hooks:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/psf/black
- rev: 23.1.0
+ rev: 23.7.0
hooks:
- id: black
language_version: python3
- repo: https://github.com/asottile/blacken-docs
- rev: 1.13.0
+ rev: 1.15.0
hooks:
- id: blacken-docs
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: v1.0.1
+ rev: v1.4.1
hooks:
- id: mypy
additional_dependencies: [types-six, types-toml]
- repo: https://github.com/pycqa/flake8
- rev: 6.0.0
+ rev: 6.1.0
hooks:
- id: flake8
- repo: https://github.com/PyCQA/bandit
- rev: 1.7.4
+ rev: 1.7.5
hooks:
- id: bandit
args: [-c, bandit.yaml]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/.readthedocs.yml new/setuptools-git-versioning-1.13.5/.readthedocs.yml
--- old/setuptools-git-versioning-1.13.2/.readthedocs.yml 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/.readthedocs.yml 2023-08-08 12:43:14.000000000 +0200
@@ -1,7 +1,14 @@
version: 2
+build:
+ os: ubuntu-22.04
+ tools:
+ python: '3.11'
+ jobs:
+ post_checkout:
+ - git fetch --unshallow || true
+
python:
- version: '3'
install:
- requirements: requirements-doc.txt
- requirements: requirements.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/CHANGELOG.rst new/setuptools-git-versioning-1.13.5/CHANGELOG.rst
--- old/setuptools-git-versioning-1.13.2/CHANGELOG.rst 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/CHANGELOG.rst 2023-08-08 12:43:14.000000000 +0200
@@ -5,11 +5,53 @@
----
.. changelog::
+ :version: 1.13.5
+
+ .. change::
+ :tags: dependency, bugfix
+ :pullreq: 84
+
+ Import ``setuptools`` before importing ``distutils``. Thanks to :github-user:`tjni`
+
+.. changelog::
+ :version: 1.13.4
+ :released: 31.07.2023
+
+ .. change::
+ :tags: docs, feature
+ :tickets: 83
+
+ Update documentation to mention shallow clone issues.
+
+ .. change::
+ :tags: general, feature
+
+ Test PyPy 3.10 support
+
+ .. change::
+ :tags: ci, feature
+
+ Push release using ``Trusted publishers`` feature of PyPI.org
+
+.. changelog::
+ :version: 1.13.3
+ :released: 14.03.2023
+
+ .. change::
+ :tags: docs, bugfix
+ :tickets: 78
+
+ Move ``zip-safe`` option to ``tool.setuptools`` section of ``pyproject.toml``.
+
+ Thanks to :github-user:`cclecle`
+
+.. changelog::
:version: 1.13.2
+ :released: 26.02.2023
.. change::
:tags: docs, feature
- :tickets: 77, 77
+ :tickets: 77, 75
Recommend users to use file-based schema instead of tag-based due some cases.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/docs/ci.rst new/setuptools-git-versioning-1.13.5/docs/ci.rst
--- old/setuptools-git-versioning-1.13.2/docs/ci.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/docs/ci.rst 2023-08-08 12:43:14.000000000 +0200
@@ -0,0 +1,24 @@
+.. _ci:
+
+CI configuration
+----------------
+
+By default, CI workflows use shallow clone of the repo to speed up clone process.
+But this leads to cloning repo without any tags, and thus generating version number like ``0.0.1``.
+
+To avoid this, please use following settings:
+
+.. code-block:: yaml
+ :caption: Github Actions
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+
+.. code-block:: yaml
+ :caption: Gitlab CI
+
+ variables:
+ GIT_DEPTH: 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/docs/command.rst new/setuptools-git-versioning-1.13.5/docs/command.rst
--- old/setuptools-git-versioning-1.13.2/docs/command.rst 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/docs/command.rst 2023-08-08 12:43:14.000000000 +0200
@@ -1,7 +1,7 @@
.. _command:
Console command
------------------------------------
+---------------
Package contains script `setuptools-git-versioning` which can be used for calculating version number.\
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/docs/differences.rst new/setuptools-git-versioning-1.13.5/docs/differences.rst
--- old/setuptools-git-versioning-1.13.2/docs/differences.rst 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/docs/differences.rst 2023-08-08 12:43:14.000000000 +0200
@@ -21,15 +21,15 @@
+------------------------------------+-----------------+----------------+--------------------+
| Package | Latest release | License | PEP 440 compatible |
+====================================+=================+================+====================+
-| setuptools-git-versioning | 2022 | MIT | yes |
+| setuptools-git-versioning | 2023 | MIT | yes |
+------------------------------------+-----------------+----------------+--------------------+
| setuptools-scm | 2022 | MIT | yes |
+------------------------------------+-----------------+----------------+--------------------+
| versioneer | 2022 | Public domain | yes |
+------------------------------------+-----------------+----------------+--------------------+
-| miniver | 2021 | Public domain | no |
+| versioningit | 2023 | MIT | yes |
+------------------------------------+-----------------+----------------+--------------------+
-| versioningit | 2022 | MIT | yes |
+| miniver | 2021 | Public domain | no |
+------------------------------------+-----------------+----------------+--------------------+
| setuptools-git-ver | 2019 | MIT | no |
+------------------------------------+-----------------+----------------+--------------------+
@@ -57,10 +57,10 @@
+------------------------------------+-----+-----------+-------------------------------+
| versioneer | yes | no | no |
+------------------------------------+-----+-----------+-------------------------------+
-| miniver | yes | no | no |
-+------------------------------------+-----+-----------+-------------------------------+
| versioningit | yes | yes | no |
+------------------------------------+-----+-----------+-------------------------------+
+| miniver | yes | no | no |
++------------------------------------+-----+-----------+-------------------------------+
| setuptools-git-ver | yes | no | no |
+------------------------------------+-----+-----------+-------------------------------+
| another-setuptools-git-version | yes | no | no |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/docs/index.rst new/setuptools-git-versioning-1.13.5/docs/index.rst
--- old/setuptools-git-versioning-1.13.2/docs/index.rst 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/docs/index.rst 2023-08-08 12:43:14.000000000 +0200
@@ -16,6 +16,7 @@
install
command
+ ci
runtime_version
schemas/index
options/index
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/docs/runtime_version.rst new/setuptools-git-versioning-1.13.5/docs/runtime_version.rst
--- old/setuptools-git-versioning-1.13.2/docs/runtime_version.rst 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/docs/runtime_version.rst 2023-08-08 12:43:14.000000000 +0200
@@ -47,6 +47,8 @@
[tool.setuptools.package-data]
# include VERSION file to a package
my_module = ["VERSION"]
+
+ [tool.setuptools]
# this package will read some included files in runtime, avoid installing it as .zip
zip-safe = false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/setup.py new/setuptools-git-versioning-1.13.5/setup.py
--- old/setuptools-git-versioning-1.13.2/setup.py 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/setup.py 2023-08-08 12:43:14.000000000 +0200
@@ -1,7 +1,9 @@
from __future__ import annotations
from pathlib import Path
-from setuptools import setup, find_packages
+
+from setuptools import find_packages, setup
+
from setuptools_git_versioning import version_from_git
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/setuptools_git_versioning.py new/setuptools-git-versioning-1.13.5/setuptools_git_versioning.py
--- old/setuptools-git-versioning-1.13.2/setuptools_git_versioning.py 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/setuptools_git_versioning.py 2023-08-08 12:43:14.000000000 +0200
@@ -15,6 +15,11 @@
from pprint import pformat
from typing import TYPE_CHECKING, Any, Callable
+# because we use distutils in this file, we need to ensure that setuptools is
+# imported first so that it can do monkey patching. this is not always already
+# done for us, for example, when running this in a test or as a module
+import setuptools # noqa: F401
+
if TYPE_CHECKING:
# avoid importing 'packaging' because setuptools-git-versioning can be installed using sdist
# where 'packaging' is not installed yet
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/tests/conftest.py new/setuptools-git-versioning-1.13.5/tests/conftest.py
--- old/setuptools-git-versioning-1.13.2/tests/conftest.py 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/tests/conftest.py 2023-08-08 12:43:14.000000000 +0200
@@ -1,9 +1,10 @@
import os
-import pytest
import shutil
import textwrap
-from tests.lib.util import rand_str, create_file, execute
+import pytest
+
+from tests.lib.util import create_file, execute, rand_str
root = os.path.dirname(os.path.dirname(__file__))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/tests/lib/util.py new/setuptools-git-versioning-1.13.5/tests/lib/util.py
--- old/setuptools-git-versioning-1.13.2/tests/lib/util.py 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/tests/lib/util.py 2023-08-08 12:43:14.000000000 +0200
@@ -30,6 +30,13 @@
def execute(cwd: str | os.PathLike, cmd: str, **kwargs) -> str:
log.info(f"Executing '{cmd}' at '{cwd}'")
+
+ if "env" in kwargs:
+ kwargs["env"]["PATH"] = os.environ["PATH"]
+ pythonpath = os.getenv("PYTHONPATH", None)
+ if pythonpath:
+ kwargs["env"]["PYTHONPATH"] = pythonpath
+
return subprocess.check_output(cmd, cwd=cwd, shell=True, universal_newlines=True, **kwargs) # nosec
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/tests/test_integration/conftest.py new/setuptools-git-versioning-1.13.5/tests/test_integration/conftest.py
--- old/setuptools-git-versioning-1.13.2/tests/test_integration/conftest.py 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/tests/test_integration/conftest.py 2023-08-08 12:43:14.000000000 +0200
@@ -1,7 +1,8 @@
from functools import partial
+
import pytest
-from tests.lib.util import create_setup_py, create_pyproject_toml, typed_config
+from tests.lib.util import create_pyproject_toml, create_setup_py, typed_config
@pytest.fixture(params=[create_setup_py, create_pyproject_toml])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/tests/test_integration/test_branch_formatter.py new/setuptools-git-versioning-1.13.5/tests/test_integration/test_branch_formatter.py
--- old/setuptools-git-versioning-1.13.2/tests/test_integration/test_branch_formatter.py 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/tests/test_integration/test_branch_formatter.py 2023-08-08 12:43:14.000000000 +0200
@@ -1,10 +1,17 @@
import os
import pickle
-import pytest
import subprocess
import textwrap
-from tests.lib.util import checkout_branch, create_file, get_version, get_version_script, get_version_module
+import pytest
+
+from tests.lib.util import (
+ checkout_branch,
+ create_file,
+ get_version,
+ get_version_module,
+ get_version_script,
+)
pytestmark = pytest.mark.all
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/tests/test_integration/test_config.py new/setuptools-git-versioning-1.13.5/tests/test_integration/test_config.py
--- old/setuptools-git-versioning-1.13.2/tests/test_integration/test_config.py 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/tests/test_integration/test_config.py 2023-08-08 12:43:14.000000000 +0200
@@ -1,19 +1,20 @@
import itertools
import os
-import pytest
import subprocess
import textwrap
+
+import pytest
import toml
from tests.lib.util import (
- create_folder,
- get_version,
- get_version_setup_py,
- get_version_script,
- get_version_module,
create_file,
+ create_folder,
create_pyproject_toml,
create_setup_py,
+ get_version,
+ get_version_module,
+ get_version_script,
+ get_version_setup_py,
)
pytestmark = [pytest.mark.all, pytest.mark.important]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/tests/test_integration/test_substitution.py new/setuptools-git-versioning-1.13.5/tests/test_integration/test_substitution.py
--- old/setuptools-git-versioning-1.13.2/tests/test_integration/test_substitution.py 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/tests/test_integration/test_substitution.py 2023-08-08 12:43:14.000000000 +0200
@@ -1,9 +1,16 @@
-from datetime import datetime
-import pytest
import re
import subprocess
+from datetime import datetime
+
+import pytest
-from tests.lib.util import checkout_branch, get_version_setup_py, create_file, create_setup_py, create_tag
+from tests.lib.util import (
+ checkout_branch,
+ create_file,
+ create_setup_py,
+ create_tag,
+ get_version_setup_py,
+)
pytestmark = pytest.mark.all
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/tests/test_integration/test_tag.py new/setuptools-git-versioning-1.13.5/tests/test_integration/test_tag.py
--- old/setuptools-git-versioning-1.13.2/tests/test_integration/test_tag.py 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/tests/test_integration/test_tag.py 2023-08-08 12:43:14.000000000 +0200
@@ -1,16 +1,17 @@
import subprocess
+import time
from datetime import datetime, timedelta
+
import pytest
-import time
from tests.lib.util import (
+ checkout_branch,
+ create_commit,
create_file,
+ create_tag,
get_full_sha,
- get_version,
get_sha,
- create_tag,
- checkout_branch,
- create_commit,
+ get_version,
)
pytestmark = pytest.mark.all
@@ -180,6 +181,7 @@
assert get_version(repo) == "0.0.1"
+(a)pytest.mark.flaky(reruns=3) # sha and full_sha can start with 0 which are removed, just try again
def test_tag_linear_history(repo, create_config):
create_tag(repo, "1.0.0")
checkout_branch(repo, "dev")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/tests/test_integration/test_tag_formatter.py new/setuptools-git-versioning-1.13.5/tests/test_integration/test_tag_formatter.py
--- old/setuptools-git-versioning-1.13.2/tests/test_integration/test_tag_formatter.py 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/tests/test_integration/test_tag_formatter.py 2023-08-08 12:43:14.000000000 +0200
@@ -1,9 +1,16 @@
import os
-import pytest
import subprocess
import textwrap
-from tests.lib.util import create_file, get_version, create_tag, get_version_script, get_version_module
+import pytest
+
+from tests.lib.util import (
+ create_file,
+ create_tag,
+ get_version,
+ get_version_module,
+ get_version_script,
+)
pytestmark = pytest.mark.all
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/tests/test_integration/test_version_callback.py new/setuptools-git-versioning-1.13.5/tests/test_integration/test_version_callback.py
--- old/setuptools-git-versioning-1.13.2/tests/test_integration/test_version_callback.py 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/tests/test_integration/test_version_callback.py 2023-08-08 12:43:14.000000000 +0200
@@ -1,14 +1,15 @@
import os
import subprocess
+
import pytest
from tests.lib.util import (
create_file,
- get_version,
- get_version_setup_py,
create_tag,
- get_version_script,
+ get_version,
get_version_module,
+ get_version_script,
+ get_version_setup_py,
)
pytestmark = pytest.mark.all
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-git-versioning-1.13.2/tests/test_integration/test_version_file.py new/setuptools-git-versioning-1.13.5/tests/test_integration/test_version_file.py
--- old/setuptools-git-versioning-1.13.2/tests/test_integration/test_version_file.py 2023-02-26 20:50:23.000000000 +0100
+++ new/setuptools-git-versioning-1.13.5/tests/test_integration/test_version_file.py 2023-08-08 12:43:14.000000000 +0200
@@ -1,11 +1,20 @@
import subprocess
+
import pytest
-from tests.lib.util import create_commit, create_file, get_full_sha, get_version, get_sha, create_tag
+from tests.lib.util import (
+ create_commit,
+ create_file,
+ create_tag,
+ get_full_sha,
+ get_sha,
+ get_version,
+)
pytestmark = pytest.mark.all
+(a)pytest.mark.flaky(reruns=3) # sha and full_sha can start with 0 which are removed, just try again
@pytest.mark.important
@pytest.mark.parametrize(
"template",
@@ -167,6 +176,7 @@
get_version(repo)
+(a)pytest.mark.flaky(reruns=3) # sha and full_sha can start with 0 which are removed, just try again
def test_version_file_tag_is_preferred(repo, create_config):
create_tag(repo, "1.2.3")
++++++ setuptools-git-versioning.obsinfo ++++++
--- /var/tmp/diff_new_pack.dnXzKM/_old 2023-12-28 23:03:07.742094941 +0100
+++ /var/tmp/diff_new_pack.dnXzKM/_new 2023-12-28 23:03:07.746095087 +0100
@@ -1,5 +1,5 @@
name: setuptools-git-versioning
-version: 1.13.2
-mtime: 1677441023
-commit: aa578a78397cd8ca51bd389aaee8a274fd1b6274
+version: 1.13.5
+mtime: 1691491394
+commit: 3cd11bcd38f15e2e9b25bee7485e81840f3e16dd
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-mautrix for openSUSE:Factory checked in at 2023-12-28 23:01:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mautrix (Old)
and /work/SRC/openSUSE:Factory/.python-mautrix.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mautrix"
Thu Dec 28 23:01:29 2023 rev:12 rq:1135265 version:0.20.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mautrix/python-mautrix.changes 2023-10-22 21:02:13.818098445 +0200
+++ /work/SRC/openSUSE:Factory/.python-mautrix.new.28375/python-mautrix.changes 2023-12-28 23:03:05.810024328 +0100
@@ -1,0 +2,12 @@
+Wed Dec 27 10:38:42 UTC 2023 - Dirk Müller <dmueller(a)suse.com>
+
+- update to update to 0.20.3:
+ * Deprecated MSC2716 methods and added new Beeper-
+ specific batch send methods, as upstream MSC2716 support has
+ been abandoned.
+ * *(util.async_db)* Added `PRAGMA synchronous = NORMAL;` to
+ default pragmas.
+ * *(types)* Fixed `guest_can_join` field name in room directory
+ response
+
+-------------------------------------------------------------------
Old:
----
mautrix-python-0.20.2-gh.tar.gz
New:
----
mautrix-python-0.20.3-gh.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-mautrix.spec ++++++
--- /var/tmp/diff_new_pack.4uByGS/_old 2023-12-28 23:03:06.338043627 +0100
+++ /var/tmp/diff_new_pack.4uByGS/_new 2023-12-28 23:03:06.338043627 +0100
@@ -25,7 +25,7 @@
%endif
Name: python-mautrix
-Version: 0.20.2
+Version: 0.20.3
Release: 0
Summary: A Python 3 asyncio Matrix framework
License: MPL-2.0
++++++ mautrix-python-0.20.2-gh.tar.gz -> mautrix-python-0.20.3-gh.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-0.20.2/CHANGELOG.md new/python-0.20.3/CHANGELOG.md
--- old/python-0.20.2/CHANGELOG.md 2023-09-09 14:41:06.000000000 +0200
+++ new/python-0.20.3/CHANGELOG.md 2023-11-10 21:04:21.000000000 +0100
@@ -1,3 +1,14 @@
+## v0.20.3 (2023-11-10)
+
+* *(client)* Deprecated MSC2716 methods and added new Beeper-specific batch
+ send methods, as upstream MSC2716 support has been abandoned.
+* *(util.async_db)* Added `PRAGMA synchronous = NORMAL;` to default pragmas.
+* *(types)* Fixed `guest_can_join` field name in room directory response
+ (thanks to [@ashfame] in [#163]).
+
+[@ashfame]: https://github.com/ashfame
+[#163]: https://github.com/mautrix/python/pull/163
+
## v0.20.2 (2023-09-09)
* *(crypto)* Changed `OlmMachine.share_keys` to make the OTK count parameter
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-0.20.2/mautrix/__init__.py new/python-0.20.3/mautrix/__init__.py
--- old/python-0.20.2/mautrix/__init__.py 2023-09-09 14:41:06.000000000 +0200
+++ new/python-0.20.3/mautrix/__init__.py 2023-11-10 21:04:21.000000000 +0100
@@ -1,4 +1,4 @@
-__version__ = "0.20.2"
+__version__ = "0.20.3"
__author__ = "Tulir Asokan <tulir(a)maunium.net>"
__all__ = [
"api",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-0.20.2/mautrix/appservice/api/intent.py new/python-0.20.3/mautrix/appservice/api/intent.py
--- old/python-0.20.2/mautrix/appservice/api/intent.py 2023-09-09 14:41:06.000000000 +0200
+++ new/python-0.20.3/mautrix/appservice/api/intent.py 2023-11-10 21:04:21.000000000 +0100
@@ -25,6 +25,7 @@
BatchSendEvent,
BatchSendResponse,
BatchSendStateEvent,
+ BeeperBatchSendResponse,
ContentURI,
EventContent,
EventID,
@@ -40,7 +41,6 @@
RoomNameStateEventContent,
RoomPinnedEventsStateEventContent,
RoomTopicStateEventContent,
- SerializableAttrs,
StateEventContent,
UserID,
)
@@ -161,6 +161,8 @@
user_id: The Matrix ID of the user whose intent API to get.
token: The access token to use for the Matrix ID.
base_url: An optional URL to use for API requests.
+ as_token: Whether the provided token is actually another as_token
+ (meaning the ``user_id`` query parameter needs to be used).
Returns:
The IntentAPI for the given user.
@@ -187,7 +189,7 @@
Args:
presence: The online status of the user.
status: The status message.
- ignore_cache: Whether or not to set presence even if the cache says the presence is
+ ignore_cache: Whether to set presence even if the cache says the presence is
already set to that value.
"""
await self.ensure_registered()
@@ -520,6 +522,9 @@
.. versionadded:: v0.12.5
+ .. deprecated:: v0.20.3
+ MSC2716 was abandoned by upstream and Beeper has forked the endpoint.
+
Args:
room_id: The room ID to send the events to.
prev_event_id: The anchor event. The batch will be inserted immediately after this event.
@@ -554,6 +559,52 @@
)
return BatchSendResponse.deserialize(resp)
+ async def beeper_batch_send(
+ self,
+ room_id: RoomID,
+ events: Iterable[BatchSendEvent],
+ *,
+ forward: bool = False,
+ forward_if_no_messages: bool = False,
+ send_notification: bool = False,
+ mark_read_by: UserID | None = None,
+ ) -> BeeperBatchSendResponse:
+ """
+ Send a batch of events into a room. Only for Beeper/hungryserv.
+
+ .. versionadded:: v0.20.3
+
+ Args:
+ room_id: The room ID to send the events to.
+ events: The events to send.
+ forward: Send events to the end of the room instead of the beginning
+ forward_if_no_messages: Send events to the end of the room, but only if there are no
+ messages in the room. If there are messages, send the new messages to the beginning.
+ send_notification: Send a push notification for the new messages.
+ Only applies when sending to the end of the room.
+ mark_read_by: Send a read receipt from the given user ID atomically.
+
+ Returns:
+ All the event IDs generated.
+ """
+ body = {
+ "events": [evt.serialize() for evt in events],
+ }
+ if forward:
+ body["forward"] = forward
+ elif forward_if_no_messages:
+ body["forward_if_no_messages"] = forward_if_no_messages
+ if send_notification:
+ body["send_notification"] = send_notification
+ if mark_read_by:
+ body["mark_read_by"] = mark_read_by
+ resp = await self.api.request(
+ Method.POST,
+ Path.unstable["com.beeper.backfill"].rooms[room_id].batch_send,
+ content=body,
+ )
+ return BeeperBatchSendResponse.deserialize(resp)
+
async def beeper_delete_room(self, room_id: RoomID) -> None:
versions = await self.versions()
if not versions.supports("com.beeper.room_yeeting"):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-0.20.2/mautrix/client/api/modules/misc.py new/python-0.20.3/mautrix/client/api/modules/misc.py
--- old/python-0.20.2/mautrix/client/api/modules/misc.py 2023-09-09 14:41:06.000000000 +0200
+++ new/python-0.20.3/mautrix/client/api/modules/misc.py 2023-11-10 21:04:21.000000000 +0100
@@ -50,7 +50,7 @@
Args:
room_id: The ID of the room in which the user is typing.
- timeout: The length of time in seconds to mark this user as typing.
+ timeout: The length of time in milliseconds to mark this user as typing.
"""
if timeout > 0:
content = {"typing": True, "timeout": timeout}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-0.20.2/mautrix/types/__init__.py new/python-0.20.3/mautrix/types/__init__.py
--- old/python-0.20.2/mautrix/types/__init__.py 2023-09-09 14:41:06.000000000 +0200
+++ new/python-0.20.3/mautrix/types/__init__.py 2023-11-10 21:04:21.000000000 +0100
@@ -149,6 +149,7 @@
)
from .misc import (
BatchSendResponse,
+ BeeperBatchSendResponse,
DeviceLists,
DeviceOTKCount,
DirectoryPaginationToken,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-0.20.2/mautrix/types/misc.py new/python-0.20.3/mautrix/types/misc.py
--- old/python-0.20.2/mautrix/types/misc.py 2023-09-09 14:41:06.000000000 +0200
+++ new/python-0.20.3/mautrix/types/misc.py 2023-11-10 21:04:21.000000000 +0100
@@ -87,7 +87,7 @@
num_joined_members: int
world_readable: bool
- guests_can_join: bool
+ guest_can_join: bool
name: str = None
topic: str = None
@@ -129,3 +129,8 @@
batch_event_id: EventID
next_batch_id: BatchID
base_insertion_event_id: Optional[EventID] = None
+
+
+@dataclass
+class BeeperBatchSendResponse(SerializableAttrs):
+ event_ids: List[EventID]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-0.20.2/mautrix/util/async_db/aiosqlite.py new/python-0.20.3/mautrix/util/async_db/aiosqlite.py
--- old/python-0.20.2/mautrix/util/async_db/aiosqlite.py 2023-09-09 14:41:06.000000000 +0200
+++ new/python-0.20.3/mautrix/util/async_db/aiosqlite.py 2023-11-10 21:04:21.000000000 +0100
@@ -117,6 +117,7 @@
def _add_missing_pragmas(init_commands: list[str]) -> list[str]:
has_foreign_keys = False
has_journal_mode = False
+ has_synchronous = False
has_busy_timeout = False
for cmd in init_commands:
if "PRAGMA" not in cmd:
@@ -125,12 +126,16 @@
has_foreign_keys = True
elif "journal_mode" in cmd:
has_journal_mode = True
+ elif "synchronous" in cmd:
+ has_synchronous = True
elif "busy_timeout" in cmd:
has_busy_timeout = True
if not has_foreign_keys:
init_commands.append("PRAGMA foreign_keys = ON")
if not has_journal_mode:
init_commands.append("PRAGMA journal_mode = WAL")
+ if not has_synchronous and "PRAGMA journal_mode = WAL" in init_commands:
+ init_commands.append("PRAGMA synchronous = NORMAL")
if not has_busy_timeout:
init_commands.append("PRAGMA busy_timeout = 5000")
return init_commands
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-mpld3 for openSUSE:Factory checked in at 2023-12-28 23:01:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mpld3 (Old)
and /work/SRC/openSUSE:Factory/.python-mpld3.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mpld3"
Thu Dec 28 23:01:27 2023 rev:5 rq:1135266 version:0.5.9
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mpld3/python-mpld3.changes 2023-01-09 17:24:19.635336593 +0100
+++ /work/SRC/openSUSE:Factory/.python-mpld3.new.28375/python-mpld3.changes 2023-12-28 23:03:04.133963072 +0100
@@ -1,0 +2,5 @@
+Fri Dec 22 14:25:31 UTC 2023 - Ben Greiner <code(a)bnavigator.de>
+
+- Add mpl-patches.patch gh#mpld3/mpld3#521
+
+-------------------------------------------------------------------
New:
----
mpl-patches.patch
BETA DEBUG BEGIN:
New:
- Add mpl-patches.patch gh#mpld3/mpld3#521
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-mpld3.spec ++++++
--- /var/tmp/diff_new_pack.8qRAGJ/_old 2023-12-28 23:03:05.150000206 +0100
+++ /var/tmp/diff_new_pack.8qRAGJ/_new 2023-12-28 23:03:05.150000206 +0100
@@ -28,6 +28,8 @@
Source1: https://github.com/mpld3/mpld3/raw/v%{version}/visualize_tests.py
# PATCH-FIX-UPSTREAM mpld3-pr516-dasharray.patch gh#mpld3/mpld3#516
Patch1: mpld3-pr516-dasharray.patch
+# PATCH-FIX-UPSTREAM mpl-patches.patch gh#mpld3/mpld3#521
+Patch2: mpl-patches.patch
BuildRequires: %{python_module Jinja2}
BuildRequires: %{python_module matplotlib}
BuildRequires: %{python_module pip}
++++++ mpl-patches.patch ++++++
diff -ur mpld3-0.5.9.orig/mpld3/test_plots/test_patches.py mpld3-0.5.9/mpld3/test_plots/test_patches.py
--- mpld3-0.5.9.orig/mpld3/test_plots/test_patches.py 2023-12-22 15:11:45.594473647 +0100
+++ mpld3-0.5.9/mpld3/test_plots/test_patches.py 2023-12-22 15:14:58.773431149 +0100
@@ -15,14 +15,14 @@
p = [patches.Arrow(0.75, 0.75, 0.5, 0.5),
patches.Circle((1, 2), 0.4),
- patches.RegularPolygon((1, 3), 5, 0.4),
+ patches.RegularPolygon((1, 3), 5, radius=0.4),
patches.Rectangle((1.6, 0.75), 0.8, 0.5),
patches.CirclePolygon((2, 2), 0.4),
patches.Polygon([[1.75, 3], [2, 3.25], [2.25, 3],
[2, 2.75], [1.75, 3]]),
patches.Wedge((3, 1), 0.4, 0, 270),
patches.Ellipse((3, 2), 0.6, 0.4),
- patches.Arc((3, 3), 0.5, 0.5, 270, 90)]
+ patches.Arc((3, 3), 0.5, 0.5, angle=270, theta1=90)]
for patch in p:
patch.set_facecolor(rcolor_1)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-flake8-builtins for openSUSE:Factory checked in at 2023-12-28 23:01:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-flake8-builtins (Old)
and /work/SRC/openSUSE:Factory/.python-flake8-builtins.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-flake8-builtins"
Thu Dec 28 23:01:25 2023 rev:7 rq:1135263 version:2.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-flake8-builtins/python-flake8-builtins.changes 2023-01-03 15:05:18.906492262 +0100
+++ /work/SRC/openSUSE:Factory/.python-flake8-builtins.new.28375/python-flake8-builtins.changes 2023-12-28 23:03:02.893917752 +0100
@@ -1,0 +2,11 @@
+Wed Dec 27 10:19:04 UTC 2023 - Dirk Müller <dmueller(a)suse.com>
+
+- update to 2.2.0:
+ * Drop python 3.7 support.
+ * Test pre-release of python 3.12.
+ * Use `pyproject.toml` rather than `setup.py`.
+ * Switch from `setuptools` to `hatchling`.
+ * Add rule for import shadowing (`A004`).
+ * Switch to `main` branch.
+
+-------------------------------------------------------------------
Old:
----
flake8-builtins-2.1.0.tar.gz
New:
----
flake8_builtins-2.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-flake8-builtins.spec ++++++
--- /var/tmp/diff_new_pack.Ru59GJ/_old 2023-12-28 23:03:03.421937049 +0100
+++ /var/tmp/diff_new_pack.Ru59GJ/_new 2023-12-28 23:03:03.421937049 +0100
@@ -16,17 +16,18 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
+%{?sle15_python_module_pythons}
Name: python-flake8-builtins
-Version: 2.1.0
+Version: 2.2.0
Release: 0
Summary: Flake8 Builtins plugin
License: GPL-2.0-only
URL: https://github.com/gforcada/flake8-builtins
-Source: https://files.pythonhosted.org/packages/source/f/flake8-builtins/flake8-bui…
+Source: https://files.pythonhosted.org/packages/source/f/flake8-builtins/flake8_bui…
BuildRequires: %{python_module base >= 3.7}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module hatchling}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-flake8 >= 5.0.4
@@ -43,13 +44,13 @@
This plugin checks for Python builtins being used as variables or parameters.
%prep
-%setup -q -n flake8-builtins-%{version}
+%setup -q -n flake8_builtins-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -59,5 +60,7 @@
%files %{python_files}
%license LICENSE
%doc CHANGES.rst README.rst
-%{python_sitelib}/*
+%{python_sitelib}/flake8_builtins.py
+%pycache_only %{python_sitelib}/__pycache__/flake8_builtins*
+%{python_sitelib}/flake8_builtins-%{version}.dist-info
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-click-aliases for openSUSE:Factory checked in at 2023-12-28 23:01:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-click-aliases (Old)
and /work/SRC/openSUSE:Factory/.python-click-aliases.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-click-aliases"
Thu Dec 28 23:01:24 2023 rev:4 rq:1135261 version:1.0.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-click-aliases/python-click-aliases.changes 2020-04-27 23:37:05.575372722 +0200
+++ /work/SRC/openSUSE:Factory/.python-click-aliases.new.28375/python-click-aliases.changes 2023-12-28 23:03:02.097888659 +0100
@@ -1,0 +2,7 @@
+Wed Dec 27 10:09:10 UTC 2023 - Dirk Müller <dmueller(a)suse.com>
+
+- update to 1.0.4:
+ * support new click versions
+ * convert to poetry
+
+-------------------------------------------------------------------
Old:
----
click-aliases-1.0.1.tar.gz
New:
----
click-aliases-1.0.4-gh.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-click-aliases.spec ++++++
--- /var/tmp/diff_new_pack.TmdH4E/_old 2023-12-28 23:03:02.737912051 +0100
+++ /var/tmp/diff_new_pack.TmdH4E/_new 2023-12-28 23:03:02.737912051 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-click-aliases
#
-# Copyright (c) 2020 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
@@ -16,15 +16,17 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?sle15_python_module_pythons}
Name: python-click-aliases
-Version: 1.0.1
+Version: 1.0.4
Release: 0
Summary: Command aliases for Click
License: MIT
URL: https://github.com/click-contrib/click-aliases
-Source: https://files.pythonhosted.org/packages/source/c/click-aliases/click-aliase…
-BuildRequires: %{python_module setuptools}
+Source: https://github.com/click-contrib/click-aliases/archive/refs/tags/v%{version…
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module poetry-core}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-click
@@ -44,10 +46,10 @@
%setup -q -n click-aliases-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -58,5 +60,6 @@
%files %{python_files}
%doc README.md
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/click_aliases
+%{python_sitelib}/click_aliases-%{version}.dist-info
1
0