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
April 2024
- 1 participants
- 1688 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-traitlets for openSUSE:Factory checked in at 2024-04-02 16:37:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-traitlets (Old)
and /work/SRC/openSUSE:Factory/.python-traitlets.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-traitlets"
Tue Apr 2 16:37:41 2024 rev:22 rq:1163584 version:5.14.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-traitlets/python-traitlets.changes 2024-01-21 23:07:41.320045322 +0100
+++ /work/SRC/openSUSE:Factory/.python-traitlets.new.1905/python-traitlets.changes 2024-04-02 16:37:47.771023978 +0200
@@ -1,0 +2,6 @@
+Fri Mar 29 19:09:27 UTC 2024 - Ben Greiner <code(a)bnavigator.de>
+
+- Update to 5.14.2
+ * Maintenance and upkeep improvements
+
+-------------------------------------------------------------------
Old:
----
traitlets-5.14.1.tar.gz
New:
----
traitlets-5.14.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-traitlets.spec ++++++
--- /var/tmp/diff_new_pack.C9mexx/_old 2024-04-02 16:37:48.647056261 +0200
+++ /var/tmp/diff_new_pack.C9mexx/_new 2024-04-02 16:37:48.647056261 +0200
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-traitlets
-Version: 5.14.1
+Version: 5.14.2
Release: 0
Summary: Traitlets Python configuration system
License: BSD-3-Clause
@@ -29,7 +29,7 @@
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module hatchling >= 1.5}
BuildRequires: %{python_module pip}
-BuildRequires: %{python_module pytest >= 7}
+BuildRequires: %{python_module pytest >= 7 with %python-pytest < 8.1}
BuildRequires: %{python_module pytest-mock}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
++++++ traitlets-5.14.1.tar.gz -> traitlets-5.14.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/traitlets-5.14.1/.github/workflows/prep-release.yml new/traitlets-5.14.2/.github/workflows/prep-release.yml
--- old/traitlets-5.14.1/.github/workflows/prep-release.yml 2020-02-02 01:00:00.000000000 +0100
+++ new/traitlets-5.14.2/.github/workflows/prep-release.yml 2020-02-02 01:00:00.000000000 +0100
@@ -12,6 +12,10 @@
post_version_spec:
description: "Post Version Specifier"
required: false
+ silent:
+ description: "Set a placeholder in the changelog and don't publish the release."
+ required: false
+ type: boolean
since:
description: "Use PRs with activity since this date or git reference"
required: false
@@ -22,6 +26,8 @@
jobs:
prep_release:
runs-on: ubuntu-latest
+ permissions:
+ contents: write
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
@@ -29,8 +35,9 @@
id: prep-release
uses: jupyter-server/jupyter_releaser/.github/actions/prep-release@v2
with:
- token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
+ token: ${{ secrets.GITHUB_TOKEN }}
version_spec: ${{ github.event.inputs.version_spec }}
+ silent: ${{ github.event.inputs.silent }}
post_version_spec: ${{ github.event.inputs.post_version_spec }}
target: ${{ github.event.inputs.target }}
branch: ${{ github.event.inputs.branch }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/traitlets-5.14.1/.github/workflows/publish-changelog.yml new/traitlets-5.14.2/.github/workflows/publish-changelog.yml
--- old/traitlets-5.14.1/.github/workflows/publish-changelog.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/traitlets-5.14.2/.github/workflows/publish-changelog.yml 2020-02-02 01:00:00.000000000 +0100
@@ -0,0 +1,34 @@
+name: "Publish Changelog"
+on:
+ release:
+ types: [published]
+
+ workflow_dispatch:
+ inputs:
+ branch:
+ description: "The branch to target"
+ required: false
+
+jobs:
+ publish_changelog:
+ runs-on: ubuntu-latest
+ environment: release
+ steps:
+ - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
+
+ - uses: actions/create-github-app-token@v1
+ id: app-token
+ with:
+ app-id: ${{ vars.APP_ID }}
+ private-key: ${{ secrets.APP_PRIVATE_KEY }}
+
+ - name: Publish changelog
+ id: publish-changelog
+ uses: jupyter-server/jupyter_releaser/.github/actions/publish-changelog@v2
+ with:
+ token: ${{ steps.app-token.outputs.token }}
+ branch: ${{ github.event.inputs.branch }}
+
+ - name: "** Next Step **"
+ run: |
+ echo "Merge the changelog update PR: ${{ steps.publish-changelog.outputs.pr_url }}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/traitlets-5.14.1/.github/workflows/publish-release.yml new/traitlets-5.14.2/.github/workflows/publish-release.yml
--- old/traitlets-5.14.1/.github/workflows/publish-release.yml 2020-02-02 01:00:00.000000000 +0100
+++ new/traitlets-5.14.2/.github/workflows/publish-release.yml 2020-02-02 01:00:00.000000000 +0100
@@ -15,30 +15,32 @@
jobs:
publish_release:
runs-on: ubuntu-latest
+ environment: release
+ permissions:
+ id-token: write
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
+ - uses: actions/create-github-app-token@v1
+ id: app-token
+ with:
+ app-id: ${{ vars.APP_ID }}
+ private-key: ${{ secrets.APP_PRIVATE_KEY }}
+
- name: Populate Release
id: populate-release
uses: jupyter-server/jupyter_releaser/.github/actions/populate-release@v2
with:
- token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
- target: ${{ github.event.inputs.target }}
+ token: ${{ steps.app-token.outputs.token }}
branch: ${{ github.event.inputs.branch }}
release_url: ${{ github.event.inputs.release_url }}
steps_to_skip: ${{ github.event.inputs.steps_to_skip }}
- name: Finalize Release
id: finalize-release
- env:
- PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
- PYPI_TOKEN_MAP: ${{ secrets.PYPI_TOKEN_MAP }}
- TWINE_USERNAME: __token__
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: jupyter-server/jupyter-releaser/.github/actions/finalize-release@v2
+ uses: jupyter-server/jupyter_releaser/.github/actions/finalize-release@v2
with:
- token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
- target: ${{ github.event.inputs.target }}
+ token: ${{ steps.app-token.outputs.token }}
release_url: ${{ steps.populate-release.outputs.release_url }}
- name: "** Next Step **"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/traitlets-5.14.1/.pre-commit-config.yaml new/traitlets-5.14.2/.pre-commit-config.yaml
--- old/traitlets-5.14.1/.pre-commit-config.yaml 2020-02-02 01:00:00.000000000 +0100
+++ new/traitlets-5.14.2/.pre-commit-config.yaml 2020-02-02 01:00:00.000000000 +0100
@@ -21,7 +21,7 @@
- id: trailing-whitespace
- repo: https://github.com/python-jsonschema/check-jsonschema
- rev: 0.27.3
+ rev: 0.27.4
hooks:
- id: check-github-workflows
@@ -67,7 +67,7 @@
- id: rst-inline-touching-normal
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.1.9
+ rev: v0.2.0
hooks:
- id: ruff
types_or: [python, jupyter]
@@ -76,7 +76,7 @@
types_or: [python, jupyter]
- repo: https://github.com/scientific-python/cookie
- rev: "2023.12.21"
+ rev: "2024.01.24"
hooks:
- id: sp-repo-review
additional_dependencies: ["repo-review[cli]"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/traitlets-5.14.1/CHANGELOG.md new/traitlets-5.14.2/CHANGELOG.md
--- old/traitlets-5.14.1/CHANGELOG.md 2020-02-02 01:00:00.000000000 +0100
+++ new/traitlets-5.14.2/CHANGELOG.md 2020-02-02 01:00:00.000000000 +0100
@@ -2,13 +2,31 @@
<!-- <START NEW CHANGELOG ENTRY> -->
+## 5.14.2
+
+([Full Changelog](https://github.com/ipython/traitlets/compare/v5.14.1...2d0fb91f3…)
+
+### Maintenance and upkeep improvements
+
+- Update Release Scripts [#900](https://github.com/ipython/traitlets/pull/900) ([@blink1073](https://github.com/blink1073))
+- chore: update pre-commit hooks [#897](https://github.com/ipython/traitlets/pull/897) ([@pre-commit-ci](https://github.com/pre-commit-ci))
+- Bump the actions group with 1 update [#896](https://github.com/ipython/traitlets/pull/896) ([@dependabot](https://github.com/dependabot))
+
+### Contributors to this release
+
+([GitHub contributors page for this release](https://github.com/ipython/traitlets/graphs/contributors?from=2024…)
+
+[@blink1073](https://github.com/search?q=repo%3Aipython%2Ftraitlets+involves%3Ablink1073+updated%3A2024-01-02..2024-03-12&type=Issues) | [@dependabot](https://github.com/search?q=repo%3Aipython%2Ftraitlets+involves%3Adependabot+updated%3A2024-01-02..2024-03-12&type=Issues) | [@pre-commit-ci](https://github.com/search?q=repo%3Aipython%2Ftraitlets+involves%3Apre-commit-ci+updated%3A2024-01-02..2024-03-12&type=Issues)
+
+<!-- <END NEW CHANGELOG ENTRY> -->
+
## 5.14.1
([Full Changelog](https://github.com/ipython/traitlets/compare/v5.14.0...a1108c920…)
### Bugs fixed
-- FIX: map - to _ for environement variable prefix. [#895](https://github.com/ipython/traitlets/pull/895) ([@Carreau](https://github.com/Carreau))
+- FIX: map - to _ for environment variable prefix. [#895](https://github.com/ipython/traitlets/pull/895) ([@Carreau](https://github.com/Carreau))
### Maintenance and upkeep improvements
@@ -21,8 +39,6 @@
[@blink1073](https://github.com/search?q=repo%3Aipython%2Ftraitlets+involves%3Ablink1073+updated%3A2023-11-27..2024-01-02&type=Issues) | [@Carreau](https://github.com/search?q=repo%3Aipython%2Ftraitlets+involves%3ACarreau+updated%3A2023-11-27..2024-01-02&type=Issues) | [@pre-commit-ci](https://github.com/search?q=repo%3Aipython%2Ftraitlets+involves%3Apre-commit-ci+updated%3A2023-11-27..2024-01-02&type=Issues)
-<!-- <END NEW CHANGELOG ENTRY> -->
-
## 5.14.0
([Full Changelog](https://github.com/ipython/traitlets/compare/v5.13.0...4d7504601…)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/traitlets-5.14.1/PKG-INFO new/traitlets-5.14.2/PKG-INFO
--- old/traitlets-5.14.1/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
+++ new/traitlets-5.14.2/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: traitlets
-Version: 5.14.1
+Version: 5.14.2
Summary: Traitlets Python configuration system
Project-URL: Homepage, https://github.com/ipython/traitlets
Project-URL: Documentation, https://traitlets.readthedocs.io
@@ -60,7 +60,7 @@
Requires-Dist: pre-commit; extra == 'test'
Requires-Dist: pytest-mock; extra == 'test'
Requires-Dist: pytest-mypy-testing; extra == 'test'
-Requires-Dist: pytest<7.5,>=7.0; extra == 'test'
+Requires-Dist: pytest<8.1,>=7.0; extra == 'test'
Description-Content-Type: text/markdown
# Traitlets
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/traitlets-5.14.1/pyproject.toml new/traitlets-5.14.2/pyproject.toml
--- old/traitlets-5.14.1/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
+++ new/traitlets-5.14.2/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
@@ -37,7 +37,7 @@
"pre-commit",
"pytest-mock",
"pytest-mypy-testing",
- "pytest>=7.0,<7.5",
+ "pytest>=7.0,<8.1",
]
docs = [
"myst-parser",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/traitlets-5.14.1/traitlets/_version.py new/traitlets-5.14.2/traitlets/_version.py
--- old/traitlets-5.14.1/traitlets/_version.py 2020-02-02 01:00:00.000000000 +0100
+++ new/traitlets-5.14.2/traitlets/_version.py 2020-02-02 01:00:00.000000000 +0100
@@ -7,7 +7,7 @@
from typing import List
# Version string must appear intact for hatch versioning
-__version__ = "5.14.1"
+__version__ = "5.14.2"
# Build up version_info tuple for backwards compatibility
pattern = r"(?P<major>\d+).(?P<minor>\d+).(?P<patch>\d+)(?P<rest>.*)"
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-jupyter for openSUSE:Factory checked in at 2024-04-02 16:37:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-jupyter (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-jupyter.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-jupyter"
Tue Apr 2 16:37:40 2024 rev:6 rq:1163583 version:0.9.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-jupyter/python-pytest-jupyter.changes 2024-03-06 23:03:09.346320276 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest-jupyter.new.1905/python-pytest-jupyter.changes 2024-04-02 16:37:46.466975921 +0200
@@ -1,0 +2,7 @@
+Fri Mar 29 19:05:45 UTC 2024 - Ben Greiner <code(a)bnavigator.de>
+
+- Update to 0.9.1
+ * Update event loop handling #75 (@blink1073)
+ * Maintenance and upkeep improvements
+
+-------------------------------------------------------------------
Old:
----
pytest_jupyter-0.8.0.tar.gz
New:
----
pytest_jupyter-0.9.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-jupyter.spec ++++++
--- /var/tmp/diff_new_pack.nTCCKF/_old 2024-04-02 16:37:47.535015280 +0200
+++ /var/tmp/diff_new_pack.nTCCKF/_new 2024-04-02 16:37:47.539015428 +0200
@@ -30,7 +30,7 @@
%bcond_with ringdisabled
%define skip_python39 1
Name: python-pytest-jupyter%{psuffix}
-Version: 0.8.0
+Version: 0.9.1
Release: 0
Summary: A pytest plugin for testing Jupyter libraries and extensions
License: BSD-3-Clause AND MIT
@@ -41,7 +41,7 @@
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-jupyter_core
+Requires: python-jupyter_core >= 5.7
Requires: python-pytest
BuildArch: noarch
%if %{with test}
++++++ pytest_jupyter-0.8.0.tar.gz -> pytest_jupyter-0.9.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest_jupyter-0.8.0/PKG-INFO new/pytest_jupyter-0.9.1/PKG-INFO
--- old/pytest_jupyter-0.8.0/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
+++ new/pytest_jupyter-0.9.1/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pytest-jupyter
-Version: 0.8.0
+Version: 0.9.1
Summary: A pytest plugin for testing Jupyter libraries and extensions.
Project-URL: Homepage, http://jupyter.org
Project-URL: Funding, https://numfocus.org/donate
@@ -102,7 +102,7 @@
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
-Requires-Dist: jupyter-core
+Requires-Dist: jupyter-core>=5.7
Requires-Dist: pytest
Provides-Extra: client
Requires-Dist: ipykernel>=6.14; extra == 'client'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest_jupyter-0.8.0/pyproject.toml new/pytest_jupyter-0.9.1/pyproject.toml
--- old/pytest_jupyter-0.8.0/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
+++ new/pytest_jupyter-0.9.1/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
@@ -28,7 +28,7 @@
]
dependencies = [
"pytest",
- "jupyter_core"
+ "jupyter_core>=5.7"
]
requires-python = ">=3.8"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest_jupyter-0.8.0/pytest_jupyter/_version.py new/pytest_jupyter-0.9.1/pytest_jupyter/_version.py
--- old/pytest_jupyter-0.8.0/pytest_jupyter/_version.py 2020-02-02 01:00:00.000000000 +0100
+++ new/pytest_jupyter-0.9.1/pytest_jupyter/_version.py 2020-02-02 01:00:00.000000000 +0100
@@ -2,4 +2,4 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
-__version__ = "0.8.0"
+__version__ = "0.9.1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest_jupyter-0.8.0/pytest_jupyter/jupyter_client.py new/pytest_jupyter-0.9.1/pytest_jupyter/jupyter_client.py
--- old/pytest_jupyter-0.8.0/pytest_jupyter/jupyter_client.py 2020-02-02 01:00:00.000000000 +0100
+++ new/pytest_jupyter-0.9.1/pytest_jupyter/jupyter_client.py 2020-02-02 01:00:00.000000000 +0100
@@ -21,7 +21,6 @@
# Bring in local plugins.
from pytest_jupyter.jupyter_core import * # noqa: F403
-from pytest_jupyter.pytest_tornasync import * # noqa: F403
@pytest.fixture()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest_jupyter-0.8.0/pytest_jupyter/jupyter_core.py new/pytest_jupyter-0.9.1/pytest_jupyter/jupyter_core.py
--- old/pytest_jupyter-0.8.0/pytest_jupyter/jupyter_core.py 2020-02-02 01:00:00.000000000 +0100
+++ new/pytest_jupyter-0.9.1/pytest_jupyter/jupyter_core.py 2020-02-02 01:00:00.000000000 +0100
@@ -1,15 +1,15 @@
"""Fixtures for use with jupyter core and downstream."""
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
-import asyncio
import json
import os
import sys
-import typing
+from inspect import iscoroutinefunction
from pathlib import Path
import jupyter_core
import pytest
+from jupyter_core.utils import ensure_event_loop
from .utils import mkdir
@@ -35,34 +35,35 @@
resource.setrlimit(resource.RLIMIT_NOFILE, (soft, hard))
-(a)pytest.fixture()
+(a)pytest.fixture(autouse=True)
def jp_asyncio_loop():
"""Get an asyncio loop."""
- if os.name == "nt":
- asyncio.set_event_loop_policy(
- asyncio.WindowsSelectorEventLoopPolicy() # type:ignore[attr-defined]
- )
- loop = asyncio.new_event_loop()
- asyncio.set_event_loop(loop)
+ loop = ensure_event_loop(prefer_selector_loop=True)
yield loop
loop.close()
-(a)pytest.fixture(autouse=True)
-def io_loop(jp_asyncio_loop):
- """Override the io_loop for pytest_tornasync. This is a no-op
- if tornado is not installed."""
-
- async def get_tornado_loop() -> typing.Any:
- """Asynchronously get a tornado loop."""
- try:
- from tornado.ioloop import IOLoop
-
- return IOLoop.current()
- except ImportError:
- pass
-
- return jp_asyncio_loop.run_until_complete(get_tornado_loop())
+(a)pytest.hookimpl(tryfirst=True)
+def pytest_pycollect_makeitem(collector, name, obj):
+ """Custom pytest collection hook."""
+ if collector.funcnamefilter(name) and iscoroutinefunction(obj):
+ return list(collector._genfunctions(name, obj))
+ return None
+
+
+(a)pytest.hookimpl(tryfirst=True)
+def pytest_pyfunc_call(pyfuncitem):
+ """Custom pytest function call hook."""
+ funcargs = pyfuncitem.funcargs
+ testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames}
+
+ if not iscoroutinefunction(pyfuncitem.obj):
+ pyfuncitem.obj(**testargs)
+ return True
+
+ loop = ensure_event_loop(prefer_selector_loop=True)
+ loop.run_until_complete(pyfuncitem.obj(**testargs))
+ return True
@pytest.fixture()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest_jupyter-0.8.0/pytest_jupyter/jupyter_server.py new/pytest_jupyter-0.9.1/pytest_jupyter/jupyter_server.py
--- old/pytest_jupyter-0.8.0/pytest_jupyter/jupyter_server.py 2020-02-02 01:00:00.000000000 +0100
+++ new/pytest_jupyter-0.9.1/pytest_jupyter/jupyter_server.py 2020-02-02 01:00:00.000000000 +0100
@@ -3,7 +3,6 @@
# Distributed under the terms of the Modified BSD License.
from __future__ import annotations
-import asyncio
import importlib
import io
import logging
@@ -53,36 +52,6 @@
from pytest_jupyter.pytest_tornasync import * # noqa: F403
from pytest_jupyter.utils import mkdir
-# Override some of the fixtures from pytest_tornasync
-# The io_loop fixture is overridden in jupyter_core.py so it
-# can be shared by other plugins that need it (e.g. jupyter_client.py).
-
-
-(a)pytest.fixture()
-def http_server(io_loop, http_server_port, jp_web_app):
- """Start a tornado HTTP server that listens on all available interfaces."""
-
- async def get_server():
- """Get a server asynchronously."""
- server = tornado.httpserver.HTTPServer(jp_web_app)
- server.add_socket(http_server_port[0])
- return server
-
- server = io_loop.run_sync(get_server)
- yield server
- server.stop()
-
- if hasattr(server, "close_all_connections"):
- try:
- io_loop.run_sync(server.close_all_connections)
- except asyncio.TimeoutError:
- pass
-
- http_server_port[0].close()
-
-
-# End pytest_tornasync overrides
-
@pytest.fixture()
def jp_server_config():
@@ -177,7 +146,6 @@
jp_root_dir,
jp_logging_stream,
jp_asyncio_loop,
- io_loop,
):
"""Starts a Jupyter Server instance based on
the provided configuration values.
@@ -207,7 +175,6 @@
environ=jp_environ,
http_port=jp_http_port,
tmp_path=tmp_path,
- io_loop=io_loop,
root_dir=jp_root_dir,
**kwargs,
):
@@ -345,7 +312,7 @@
...
"""
- def client_fetch(*parts, headers=None, params=None, **kwargs): # noqa: ARG
+ def client_fetch(*parts, headers=None, params=None, **kwargs):
if not headers:
headers = {}
if not params:
@@ -414,6 +381,7 @@
code = r.code
except HTTPClientError as err:
code = err.code
+ print(f"HTTPClientError ({err.code}): {err}") # noqa: T201
else:
if fetch is jp_ws_fetch:
r.close()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest_jupyter-0.8.0/pytest_jupyter/pytest_tornasync.py new/pytest_jupyter-0.9.1/pytest_jupyter/pytest_tornasync.py
--- old/pytest_jupyter-0.8.0/pytest_jupyter/pytest_tornasync.py 2020-02-02 01:00:00.000000000 +0100
+++ new/pytest_jupyter-0.9.1/pytest_jupyter/pytest_tornasync.py 2020-02-02 01:00:00.000000000 +0100
@@ -1,8 +1,8 @@
"""Vendored fork of pytest_tornasync from
https://github.com/eukaryote/pytest-tornasync/blob/9f1bdeec3eb5816e0183f975…
"""
+import asyncio
from contextlib import closing
-from inspect import iscoroutinefunction
try:
import tornado.ioloop
@@ -14,33 +14,37 @@
import pytest
# mypy: disable-error-code="no-untyped-call"
+# Bring in local plugins.
+from pytest_jupyter.jupyter_core import * # noqa: F403
-(a)pytest.hookimpl(tryfirst=True)
-def pytest_pycollect_makeitem(collector, name, obj):
- """Custom pytest collection hook."""
- if collector.funcnamefilter(name) and iscoroutinefunction(obj):
- return list(collector._genfunctions(name, obj))
- return None
-
-
-(a)pytest.hookimpl(tryfirst=True)
-def pytest_pyfunc_call(pyfuncitem):
- """Custom pytest function call hook."""
- funcargs = pyfuncitem.funcargs
- testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames}
-
- if not iscoroutinefunction(pyfuncitem.obj):
- pyfuncitem.obj(**testargs)
- return True
-
- try:
- loop = funcargs["io_loop"]
- except KeyError:
- loop = tornado.ioloop.IOLoop.current()
+(a)pytest.fixture()
+def io_loop(jp_asyncio_loop):
+ """Get the current tornado event loop."""
+ return tornado.ioloop.IOLoop.current()
+
+
+(a)pytest.fixture()
+def http_server(jp_asyncio_loop, http_server_port, jp_web_app):
+ """Start a tornado HTTP server that listens on all available interfaces."""
+
+ async def get_server():
+ """Get a server asynchronously."""
+ server = tornado.httpserver.HTTPServer(jp_web_app)
+ server.add_socket(http_server_port[0])
+ return server
+
+ server = jp_asyncio_loop.run_until_complete(get_server())
+ yield server
+ server.stop()
+
+ if hasattr(server, "close_all_connections"):
+ try:
+ jp_asyncio_loop.run_until_complete(server.close_all_connections())
+ except asyncio.TimeoutError:
+ pass
- loop.run_sync(lambda: pyfuncitem.obj(**testargs))
- return True
+ http_server_port[0].close()
@pytest.fixture()
@@ -52,7 +56,7 @@
@pytest.fixture()
-def http_server_client(http_server, io_loop):
+def http_server_client(http_server, jp_asyncio_loop):
"""
Create an asynchronous HTTP client that can fetch from `http_server`.
"""
@@ -61,7 +65,7 @@
"""Get a client."""
return AsyncHTTPServerClient(http_server=http_server)
- client = io_loop.run_sync(get_client)
+ client = jp_asyncio_loop.run_until_complete(get_client())
with closing(client) as context:
yield context
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest_jupyter-0.8.0/tests/test_jupyter_server.py new/pytest_jupyter-0.9.1/tests/test_jupyter_server.py
--- old/pytest_jupyter-0.8.0/tests/test_jupyter_server.py 2020-02-02 01:00:00.000000000 +0100
+++ new/pytest_jupyter-0.9.1/tests/test_jupyter_server.py 2020-02-02 01:00:00.000000000 +0100
@@ -71,3 +71,7 @@
def test_extension_environ(jp_extension_environ):
pass
+
+
+def test_ioloop_fixture(io_loop):
+ pass
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-nbformat for openSUSE:Factory checked in at 2024-04-02 16:37:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nbformat (Old)
and /work/SRC/openSUSE:Factory/.python-nbformat.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nbformat"
Tue Apr 2 16:37:39 2024 rev:23 rq:1163581 version:5.10.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nbformat/python-nbformat.changes 2023-10-27 22:28:50.888955741 +0200
+++ /work/SRC/openSUSE:Factory/.python-nbformat.new.1905/python-nbformat.changes 2024-04-02 16:37:44.782913861 +0200
@@ -1,0 +2,16 @@
+Fri Mar 29 18:51:43 UTC 2024 - Ben Greiner <code(a)bnavigator.de>
+
+- Update to 5.10.3
+ * Revert PR #378 (Simplify NotebookNotary._data_dir_default) #397
+ (@krassowski)
+- Release 5.10.2
+ * Restore usage of npm token #395 (@blink1073)
+- Release 5.10.0
+ * Maintenance and upkeep improvements
+
+-------------------------------------------------------------------
+Thu Mar 28 12:37:01 UTC 2024 - ecsos <ecsos(a)opensuse.org>
+
+- Add %{?sle15_python_module_pythons}
+
+-------------------------------------------------------------------
Old:
----
nbformat-5.9.2.tar.gz
New:
----
nbformat-5.10.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-nbformat.spec ++++++
--- /var/tmp/diff_new_pack.ZZOqgx/_old 2024-04-02 16:37:45.710948060 +0200
+++ /var/tmp/diff_new_pack.ZZOqgx/_new 2024-04-02 16:37:45.714948208 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-nbformat
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,9 @@
%bcond_without libalternatives
+%{?sle15_python_module_pythons}
Name: python-nbformat
-Version: 5.9.2
+Version: 5.10.3
Release: 0
Summary: The Jupyter Notebook format
License: BSD-3-Clause
@@ -49,13 +50,13 @@
Requires: alts
%else
Requires(post): update-alternatives
-Requires(postun):update-alternatives
+Requires(postun): update-alternatives
%endif
# SECTION test requirements
BuildRequires: %{python_module fastjsonschema}
BuildRequires: %{python_module jsonschema > 2.6}
BuildRequires: %{python_module jupyter_core}
-BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module pytest >= 6}
BuildRequires: %{python_module testpath}
BuildRequires: %{python_module traitlets >= 5.1}
BuildRequires: %{pythons}
@@ -70,7 +71,7 @@
%prep
%autosetup -p1 -n nbformat-%{version}
-sed -i -e 's/--color=yes//' -e 's/\@\@\@/%{version}/' pyproject.toml
+sed -i -e 's/"--color=yes", //' -e 's/\@\@\@/%{version}/' pyproject.toml
%build
%pyproject_wheel
++++++ nbformat-5.9.2.tar.gz -> nbformat-5.10.3.tar.gz ++++++
++++ 3182 lines of diff (skipped)
++++++ no-hatch-nodejs-version.patch ++++++
--- /var/tmp/diff_new_pack.ZZOqgx/_old 2024-04-02 16:37:45.818952041 +0200
+++ /var/tmp/diff_new_pack.ZZOqgx/_new 2024-04-02 16:37:45.818952041 +0200
@@ -2,8 +2,10 @@
pyproject.toml | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---- a/pyproject.toml
-+++ b/pyproject.toml
+Index: nbformat-5.10.3/pyproject.toml
+===================================================================
+--- nbformat-5.10.3.orig/pyproject.toml
++++ nbformat-5.10.3/pyproject.toml
@@ -1,10 +1,10 @@
[build-system]
-requires = ["hatchling>=1.5", "hatch-nodejs-version"]
@@ -17,7 +19,7 @@
description = "The Jupyter Notebook format"
license = { file = "LICENSE" }
keywords = ["Interactive", "Interpreter", "Shell", "Web"]
-@@ -58,9 +58,6 @@ test = [
+@@ -62,9 +62,6 @@ test = [
[project.scripts]
jupyter-trust = "nbformat.sign:TrustNotebookApp.launch_instance"
++++++ no-pep440.patch ++++++
--- /var/tmp/diff_new_pack.ZZOqgx/_old 2024-04-02 16:37:45.830952483 +0200
+++ /var/tmp/diff_new_pack.ZZOqgx/_new 2024-04-02 16:37:45.834952630 +0200
@@ -3,11 +3,11 @@
tests/test_api.py | 5 -----
2 files changed, 1 insertion(+), 7 deletions(-)
-Index: nbformat-5.9.2/pyproject.toml
+Index: nbformat-5.10.3/pyproject.toml
===================================================================
---- nbformat-5.9.2.orig/pyproject.toml
-+++ nbformat-5.9.2/pyproject.toml
-@@ -52,7 +52,6 @@ test = [
+--- nbformat-5.10.3.orig/pyproject.toml
++++ nbformat-5.10.3/pyproject.toml
+@@ -56,7 +56,6 @@ test = [
"testpath",
"pytest",
"pre-commit",
@@ -15,19 +15,19 @@
]
[project.scripts]
-Index: nbformat-5.9.2/tests/test_api.py
+Index: nbformat-5.10.3/tests/test_api.py
===================================================================
---- nbformat-5.9.2.orig/tests/test_api.py
-+++ nbformat-5.9.2/tests/test_api.py
-@@ -10,7 +10,6 @@ from tempfile import TemporaryDirectory
- from typing import Any, Dict
+--- nbformat-5.10.3.orig/tests/test_api.py
++++ nbformat-5.10.3/tests/test_api.py
+@@ -11,7 +11,6 @@ from tempfile import TemporaryDirectory
+ from typing import Any
from jsonschema import ValidationError
-from pep440 import is_canonical
from nbformat import __version__ as nbf_version
from nbformat import current_nbformat, read, write, writes
-@@ -20,10 +19,6 @@ from nbformat.validator import isvalid
+@@ -21,10 +20,6 @@ from nbformat.validator import isvalid
from .base import TestsBase
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jupyter-core for openSUSE:Factory checked in at 2024-04-02 16:37:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter-core (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter-core.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter-core"
Tue Apr 2 16:37:38 2024 rev:25 rq:1163572 version:5.7.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jupyter-core/python-jupyter-core.changes 2024-03-06 23:03:06.430214555 +0100
+++ /work/SRC/openSUSE:Factory/.python-jupyter-core.new.1905/python-jupyter-core.changes 2024-04-02 16:37:43.718874649 +0200
@@ -1,0 +2,7 @@
+Fri Mar 29 18:20:02 UTC 2024 - Ben Greiner <code(a)bnavigator.de>
+
+- Update to 5.7.2
+ * Update Release Scripts #396 (@blink1073)
+ * Enforce pytest 7 #393 (@blink1073)
+
+-------------------------------------------------------------------
Old:
----
jupyter_core-5.7.1.tar.gz
New:
----
jupyter_core-5.7.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter-core.spec ++++++
--- /var/tmp/diff_new_pack.tXouuU/_old 2024-04-02 16:37:44.326897055 +0200
+++ /var/tmp/diff_new_pack.tXouuU/_new 2024-04-02 16:37:44.330897203 +0200
@@ -33,7 +33,7 @@
%endif
Name: python-jupyter-core%{psuffix}
-Version: 5.7.1
+Version: 5.7.2
Release: 0
Summary: Base package on which Jupyter projects rely
License: BSD-3-Clause
@@ -68,8 +68,8 @@
%if %{with test}
BuildRequires: %{python_module ipykernel}
BuildRequires: %{python_module jupyter-core = %{version}}
+BuildRequires: %{python_module pytest >= 7 with %python-pytest < 8}
BuildRequires: %{python_module pytest-timeout}
-BuildRequires: %{python_module pytest}
%endif
%python_subpackages
++++++ jupyter_core-5.7.1.tar.gz -> jupyter_core-5.7.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_core-5.7.1/.github/workflows/prep-release.yml new/jupyter_core-5.7.2/.github/workflows/prep-release.yml
--- old/jupyter_core-5.7.1/.github/workflows/prep-release.yml 2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_core-5.7.2/.github/workflows/prep-release.yml 2020-02-02 01:00:00.000000000 +0100
@@ -12,6 +12,10 @@
post_version_spec:
description: "Post Version Specifier"
required: false
+ silent:
+ description: "Set a placeholder in the changelog and don't publish the release."
+ required: false
+ type: boolean
since:
description: "Use PRs with activity since this date or git reference"
required: false
@@ -22,6 +26,8 @@
jobs:
prep_release:
runs-on: ubuntu-latest
+ permissions:
+ contents: write
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
@@ -29,8 +35,9 @@
id: prep-release
uses: jupyter-server/jupyter_releaser/.github/actions/prep-release@v2
with:
- token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
+ token: ${{ secrets.GITHUB_TOKEN }}
version_spec: ${{ github.event.inputs.version_spec }}
+ silent: ${{ github.event.inputs.silent }}
post_version_spec: ${{ github.event.inputs.post_version_spec }}
target: ${{ github.event.inputs.target }}
branch: ${{ github.event.inputs.branch }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_core-5.7.1/.github/workflows/publish-changelog.yml new/jupyter_core-5.7.2/.github/workflows/publish-changelog.yml
--- old/jupyter_core-5.7.1/.github/workflows/publish-changelog.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/jupyter_core-5.7.2/.github/workflows/publish-changelog.yml 2020-02-02 01:00:00.000000000 +0100
@@ -0,0 +1,34 @@
+name: "Publish Changelog"
+on:
+ release:
+ types: [published]
+
+ workflow_dispatch:
+ inputs:
+ branch:
+ description: "The branch to target"
+ required: false
+
+jobs:
+ publish_changelog:
+ runs-on: ubuntu-latest
+ environment: release
+ steps:
+ - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
+
+ - uses: actions/create-github-app-token@v1
+ id: app-token
+ with:
+ app-id: ${{ vars.APP_ID }}
+ private-key: ${{ secrets.APP_PRIVATE_KEY }}
+
+ - name: Publish changelog
+ id: publish-changelog
+ uses: jupyter-server/jupyter_releaser/.github/actions/publish-changelog@v2
+ with:
+ token: ${{ steps.app-token.outputs.token }}
+ branch: ${{ github.event.inputs.branch }}
+
+ - name: "** Next Step **"
+ run: |
+ echo "Merge the changelog update PR: ${{ steps.publish-changelog.outputs.pr_url }}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_core-5.7.1/.github/workflows/publish-release.yml new/jupyter_core-5.7.2/.github/workflows/publish-release.yml
--- old/jupyter_core-5.7.1/.github/workflows/publish-release.yml 2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_core-5.7.2/.github/workflows/publish-release.yml 2020-02-02 01:00:00.000000000 +0100
@@ -15,30 +15,32 @@
jobs:
publish_release:
runs-on: ubuntu-latest
+ environment: release
+ permissions:
+ id-token: write
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
+ - uses: actions/create-github-app-token@v1
+ id: app-token
+ with:
+ app-id: ${{ vars.APP_ID }}
+ private-key: ${{ secrets.APP_PRIVATE_KEY }}
+
- name: Populate Release
id: populate-release
uses: jupyter-server/jupyter_releaser/.github/actions/populate-release@v2
with:
- token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
- target: ${{ github.event.inputs.target }}
+ token: ${{ steps.app-token.outputs.token }}
branch: ${{ github.event.inputs.branch }}
release_url: ${{ github.event.inputs.release_url }}
steps_to_skip: ${{ github.event.inputs.steps_to_skip }}
- name: Finalize Release
id: finalize-release
- env:
- PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
- PYPI_TOKEN_MAP: ${{ secrets.PYPI_TOKEN_MAP }}
- TWINE_USERNAME: __token__
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: jupyter-server/jupyter-releaser/.github/actions/finalize-release@v2
+ uses: jupyter-server/jupyter_releaser/.github/actions/finalize-release@v2
with:
- token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
- target: ${{ github.event.inputs.target }}
+ token: ${{ steps.app-token.outputs.token }}
release_url: ${{ steps.populate-release.outputs.release_url }}
- name: "** Next Step **"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_core-5.7.1/.pre-commit-config.yaml new/jupyter_core-5.7.2/.pre-commit-config.yaml
--- old/jupyter_core-5.7.1/.pre-commit-config.yaml 2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_core-5.7.2/.pre-commit-config.yaml 2020-02-02 01:00:00.000000000 +0100
@@ -21,7 +21,7 @@
- id: trailing-whitespace
- repo: https://github.com/python-jsonschema/check-jsonschema
- rev: 0.27.3
+ rev: 0.27.4
hooks:
- id: check-github-workflows
@@ -67,7 +67,7 @@
- id: rst-inline-touching-normal
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.1.9
+ rev: v0.2.0
hooks:
- id: ruff
types_or: [python, jupyter]
@@ -76,7 +76,7 @@
types_or: [python, jupyter]
- repo: https://github.com/scientific-python/cookie
- rev: "2023.12.21"
+ rev: "2024.01.24"
hooks:
- id: sp-repo-review
additional_dependencies: ["repo-review[cli]"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_core-5.7.1/CHANGELOG.md new/jupyter_core-5.7.2/CHANGELOG.md
--- old/jupyter_core-5.7.1/CHANGELOG.md 2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_core-5.7.2/CHANGELOG.md 2020-02-02 01:00:00.000000000 +0100
@@ -2,6 +2,24 @@
<!-- <START NEW CHANGELOG ENTRY> -->
+## 5.7.2
+
+([Full Changelog](https://github.com/jupyter/jupyter_core/compare/v5.7.1...1264a81…)
+
+### Maintenance and upkeep improvements
+
+- Update Release Scripts [#396](https://github.com/jupyter/jupyter_core/pull/396) ([@blink1073](https://github.com/blink1073))
+- Enforce pytest 7 [#393](https://github.com/jupyter/jupyter_core/pull/393) ([@blink1073](https://github.com/blink1073))
+- chore: update pre-commit hooks [#392](https://github.com/jupyter/jupyter_core/pull/392) ([@pre-commit-ci](https://github.com/pre-commit-ci))
+
+### Contributors to this release
+
+([GitHub contributors page for this release](https://github.com/jupyter/jupyter_core/graphs/contributors?from=2…)
+
+[@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_core+involves%3Ablink1073+updated%3A2024-01-08..2024-03-12&type=Issues) | [@pre-commit-ci](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_core+involves%3Apre-commit-ci+updated%3A2024-01-08..2024-03-12&type=Issues)
+
+<!-- <END NEW CHANGELOG ENTRY> -->
+
## 5.7.1
([Full Changelog](https://github.com/jupyter/jupyter_core/compare/v5.7.0...8e69e7f…)
@@ -16,8 +34,6 @@
[@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_core+involves%3Ablink1073+updated%3A2024-01-03..2024-01-08&type=Issues)
-<!-- <END NEW CHANGELOG ENTRY> -->
-
## 5.7.0
([Full Changelog](https://github.com/jupyter/jupyter_core/compare/v5.6.1...19912f4…)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_core-5.7.1/PKG-INFO new/jupyter_core-5.7.2/PKG-INFO
--- old/jupyter_core-5.7.1/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_core-5.7.2/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: jupyter_core
-Version: 5.7.1
+Version: 5.7.2
Summary: Jupyter core package. A base package on which Jupyter projects rely.
Project-URL: Homepage, https://jupyter.org
Project-URL: Documentation, https://jupyter-core.readthedocs.io/
@@ -60,9 +60,9 @@
Provides-Extra: test
Requires-Dist: ipykernel; extra == 'test'
Requires-Dist: pre-commit; extra == 'test'
-Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-cov; extra == 'test'
Requires-Dist: pytest-timeout; extra == 'test'
+Requires-Dist: pytest<8; extra == 'test'
Description-Content-Type: text/plain
There is no reason to install this package on its own.
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_core-5.7.1/RELEASE.md new/jupyter_core-5.7.2/RELEASE.md
--- old/jupyter_core-5.7.1/RELEASE.md 1970-01-01 01:00:00.000000000 +0100
+++ new/jupyter_core-5.7.2/RELEASE.md 2020-02-02 01:00:00.000000000 +0100
@@ -0,0 +1,3 @@
+# Making a Release
+
+The recommended way to make a release is to use [`jupyter_releaser`](https://jupyter-releaser.readthedocs.io/en/latest/get_started/making_release_from_repo.html).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_core-5.7.1/jupyter_core/version.py new/jupyter_core-5.7.2/jupyter_core/version.py
--- old/jupyter_core-5.7.1/jupyter_core/version.py 2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_core-5.7.2/jupyter_core/version.py 2020-02-02 01:00:00.000000000 +0100
@@ -6,7 +6,7 @@
import re
# Version string must appear intact for hatch versioning
-__version__ = "5.7.1"
+__version__ = "5.7.2"
# Build up version_info tuple for backwards compatibility
pattern = r"(?P<major>\d+).(?P<minor>\d+).(?P<patch>\d+)(?P<rest>.*)"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_core-5.7.1/pyproject.toml new/jupyter_core-5.7.2/pyproject.toml
--- old/jupyter_core-5.7.1/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_core-5.7.2/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
@@ -42,7 +42,7 @@
test = [
"ipykernel",
"pre-commit",
- "pytest",
+ "pytest<8",
"pytest-cov",
"pytest-timeout"
]
@@ -110,7 +110,7 @@
warn_unreachable = true
[tool.pytest.ini_options]
-minversion = "6.0"
+minversion = "7.0"
xfail_strict = true
log_cli_level = "info"
addopts = [
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jupyter-client for openSUSE:Factory checked in at 2024-04-02 16:37:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter-client (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter-client.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter-client"
Tue Apr 2 16:37:37 2024 rev:23 rq:1163569 version:8.6.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jupyter-client/python-jupyter-client.changes 2024-03-06 23:03:07.418250375 +0100
+++ /work/SRC/openSUSE:Factory/.python-jupyter-client.new.1905/python-jupyter-client.changes 2024-04-02 16:37:42.718837795 +0200
@@ -1,0 +2,6 @@
+Fri Mar 29 18:08:28 UTC 2024 - Ben Greiner <code(a)bnavigator.de>
+
+- Update to 8.6.1
+ * Update Release Scripts #1016 (@blink1073)
+
+-------------------------------------------------------------------
Old:
----
jupyter_client-8.6.0.tar.gz
New:
----
jupyter_client-8.6.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter-client.spec ++++++
--- /var/tmp/diff_new_pack.AeX4oN/_old 2024-04-02 16:37:43.258857696 +0200
+++ /var/tmp/diff_new_pack.AeX4oN/_new 2024-04-02 16:37:43.258857696 +0200
@@ -27,7 +27,7 @@
%endif
Name: python-jupyter-client%{psuffix}
-Version: 8.6.0
+Version: 8.6.1
Release: 0
Summary: Jupyter protocol implementation and client libraries
License: BSD-3-Clause
++++++ jupyter_client-8.6.0.tar.gz -> jupyter_client-8.6.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_client-8.6.0/.github/dependabot.yml new/jupyter_client-8.6.1/.github/dependabot.yml
--- old/jupyter_client-8.6.0/.github/dependabot.yml 2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_client-8.6.1/.github/dependabot.yml 2020-02-02 01:00:00.000000000 +0100
@@ -4,7 +4,15 @@
directory: "/"
schedule:
interval: "weekly"
+ groups:
+ actions:
+ patterns:
+ - "*"
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
+ groups:
+ actions:
+ patterns:
+ - "*"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_client-8.6.0/.github/workflows/downstream.yml new/jupyter_client-8.6.1/.github/workflows/downstream.yml
--- old/jupyter_client-8.6.0/.github/workflows/downstream.yml 2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_client-8.6.1/.github/workflows/downstream.yml 2020-02-02 01:00:00.000000000 +0100
@@ -73,7 +73,7 @@
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Setup conda ${{ matrix.python-version }}
- uses: conda-incubator/setup-miniconda@v2
+ uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
activate-environment: jupyter_kernel_test
@@ -97,7 +97,7 @@
uses: actions/checkout@v4
- name: Setup Python
- uses: actions/setup-python@v4
+ uses: actions/setup-python@v5
with:
python-version: "3.9"
architecture: "x64"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_client-8.6.0/.github/workflows/prep-release.yml new/jupyter_client-8.6.1/.github/workflows/prep-release.yml
--- old/jupyter_client-8.6.0/.github/workflows/prep-release.yml 2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_client-8.6.1/.github/workflows/prep-release.yml 2020-02-02 01:00:00.000000000 +0100
@@ -12,6 +12,10 @@
post_version_spec:
description: "Post Version Specifier"
required: false
+ silent:
+ description: "Set a placeholder in the changelog and don't publish the release."
+ required: false
+ type: boolean
since:
description: "Use PRs with activity since this date or git reference"
required: false
@@ -22,6 +26,8 @@
jobs:
prep_release:
runs-on: ubuntu-latest
+ permissions:
+ contents: write
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
@@ -29,8 +35,9 @@
id: prep-release
uses: jupyter-server/jupyter_releaser/.github/actions/prep-release@v2
with:
- token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
+ token: ${{ secrets.GITHUB_TOKEN }}
version_spec: ${{ github.event.inputs.version_spec }}
+ silent: ${{ github.event.inputs.silent }}
post_version_spec: ${{ github.event.inputs.post_version_spec }}
target: ${{ github.event.inputs.target }}
branch: ${{ github.event.inputs.branch }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_client-8.6.0/.github/workflows/publish-changelog.yml new/jupyter_client-8.6.1/.github/workflows/publish-changelog.yml
--- old/jupyter_client-8.6.0/.github/workflows/publish-changelog.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/jupyter_client-8.6.1/.github/workflows/publish-changelog.yml 2020-02-02 01:00:00.000000000 +0100
@@ -0,0 +1,34 @@
+name: "Publish Changelog"
+on:
+ release:
+ types: [published]
+
+ workflow_dispatch:
+ inputs:
+ branch:
+ description: "The branch to target"
+ required: false
+
+jobs:
+ publish_changelog:
+ runs-on: ubuntu-latest
+ environment: release
+ steps:
+ - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
+
+ - uses: actions/create-github-app-token@v1
+ id: app-token
+ with:
+ app-id: ${{ vars.APP_ID }}
+ private-key: ${{ secrets.APP_PRIVATE_KEY }}
+
+ - name: Publish changelog
+ id: publish-changelog
+ uses: jupyter-server/jupyter_releaser/.github/actions/publish-changelog@v2
+ with:
+ token: ${{ steps.app-token.outputs.token }}
+ branch: ${{ github.event.inputs.branch }}
+
+ - name: "** Next Step **"
+ run: |
+ echo "Merge the changelog update PR: ${{ steps.publish-changelog.outputs.pr_url }}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_client-8.6.0/.github/workflows/publish-release.yml new/jupyter_client-8.6.1/.github/workflows/publish-release.yml
--- old/jupyter_client-8.6.0/.github/workflows/publish-release.yml 2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_client-8.6.1/.github/workflows/publish-release.yml 2020-02-02 01:00:00.000000000 +0100
@@ -15,30 +15,32 @@
jobs:
publish_release:
runs-on: ubuntu-latest
+ environment: release
+ permissions:
+ id-token: write
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
+ - uses: actions/create-github-app-token@v1
+ id: app-token
+ with:
+ app-id: ${{ vars.APP_ID }}
+ private-key: ${{ secrets.APP_PRIVATE_KEY }}
+
- name: Populate Release
id: populate-release
uses: jupyter-server/jupyter_releaser/.github/actions/populate-release@v2
with:
- token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
- target: ${{ github.event.inputs.target }}
+ token: ${{ steps.app-token.outputs.token }}
branch: ${{ github.event.inputs.branch }}
release_url: ${{ github.event.inputs.release_url }}
steps_to_skip: ${{ github.event.inputs.steps_to_skip }}
- name: Finalize Release
id: finalize-release
- env:
- PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
- PYPI_TOKEN_MAP: ${{ secrets.PYPI_TOKEN_MAP }}
- TWINE_USERNAME: __token__
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: jupyter-server/jupyter-releaser/.github/actions/finalize-release@v2
+ uses: jupyter-server/jupyter_releaser/.github/actions/finalize-release@v2
with:
- token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
- target: ${{ github.event.inputs.target }}
+ token: ${{ steps.app-token.outputs.token }}
release_url: ${{ steps.populate-release.outputs.release_url }}
- name: "** Next Step **"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_client-8.6.0/.pre-commit-config.yaml new/jupyter_client-8.6.1/.pre-commit-config.yaml
--- old/jupyter_client-8.6.0/.pre-commit-config.yaml 2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_client-8.6.1/.pre-commit-config.yaml 2020-02-02 01:00:00.000000000 +0100
@@ -21,7 +21,7 @@
- id: trailing-whitespace
- repo: https://github.com/python-jsonschema/check-jsonschema
- rev: 0.27.0
+ rev: 0.27.4
hooks:
- id: check-github-workflows
@@ -31,13 +31,13 @@
- id: mdformat
- repo: https://github.com/pre-commit/mirrors-prettier
- rev: "v3.0.3"
+ rev: "v4.0.0-alpha.8"
hooks:
- id: prettier
types_or: [yaml, html, json]
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: "v1.6.1"
+ rev: "v1.8.0"
hooks:
- id: mypy
files: jupyter_client
@@ -66,14 +66,16 @@
- id: rst-inline-touching-normal
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.1.3
+ rev: v0.2.0
hooks:
- id: ruff
+ types_or: [python, jupyter]
args: ["--fix", "--show-fixes"]
- id: ruff-format
+ types_or: [python, jupyter]
- repo: https://github.com/scientific-python/cookie
- rev: "2023.10.27"
+ rev: "2024.01.24"
hooks:
- id: sp-repo-review
additional_dependencies: ["repo-review[cli]"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_client-8.6.0/CHANGELOG.md new/jupyter_client-8.6.1/CHANGELOG.md
--- old/jupyter_client-8.6.0/CHANGELOG.md 2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_client-8.6.1/CHANGELOG.md 2020-02-02 01:00:00.000000000 +0100
@@ -2,6 +2,34 @@
<!-- <START NEW CHANGELOG ENTRY> -->
+## 8.6.1
+
+([Full Changelog](https://github.com/jupyter/jupyter_client/compare/v8.6.0...8a332…)
+
+### Maintenance and upkeep improvements
+
+- Update Release Scripts [#1016](https://github.com/jupyter/jupyter_client/pull/1016) ([@blink1073](https://github.com/blink1073))
+- chore: update pre-commit hooks [#1008](https://github.com/jupyter/jupyter_client/pull/1008) ([@pre-commit-ci](https://github.com/pre-commit-ci))
+- chore: update pre-commit hooks [#1002](https://github.com/jupyter/jupyter_client/pull/1002) ([@pre-commit-ci](https://github.com/pre-commit-ci))
+- Bump actions/setup-python from 4 to 5 [#1000](https://github.com/jupyter/jupyter_client/pull/1000) ([@dependabot](https://github.com/dependabot))
+- chore: update pre-commit hooks [#999](https://github.com/jupyter/jupyter_client/pull/999) ([@pre-commit-ci](https://github.com/pre-commit-ci))
+- Bump conda-incubator/setup-miniconda from 2 to 3 [#998](https://github.com/jupyter/jupyter_client/pull/998) ([@dependabot](https://github.com/dependabot))
+- chore: update pre-commit hooks [#996](https://github.com/jupyter/jupyter_client/pull/996) ([@pre-commit-ci](https://github.com/pre-commit-ci))
+
+### Documentation improvements
+
+- Fix docs reference [#1017](https://github.com/jupyter/jupyter_client/pull/1017) ([@blink1073](https://github.com/blink1073))
+- Add docs about packaging kernels [#1013](https://github.com/jupyter/jupyter_client/pull/1013) ([@blink1073](https://github.com/blink1073))
+- Clarify what a restart means [#966](https://github.com/jupyter/jupyter_client/pull/966) ([@mlucool](https://github.com/mlucool))
+
+### Contributors to this release
+
+([GitHub contributors page for this release](https://github.com/jupyter/jupyter_client/graphs/contributors?from…)
+
+[@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3Ablink1073+updated%3A2023-11-06..2024-03-12&type=Issues) | [@dependabot](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3Adependabot+updated%3A2023-11-06..2024-03-12&type=Issues) | [@mlucool](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3Amlucool+updated%3A2023-11-06..2024-03-12&type=Issues) | [@pre-commit-ci](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3Apre-commit-ci+updated%3A2023-11-06..2024-03-12&type=Issues) | [@Zsailer](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3AZsailer+updated%3A2023-11-06..2024-03-12&type=Issues)
+
+<!-- <END NEW CHANGELOG ENTRY> -->
+
## 8.6.0
([Full Changelog](https://github.com/jupyter/jupyter_client/compare/v8.5.0...2d6f5…)
@@ -23,8 +51,6 @@
[@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3Ablink1073+updated%3A2023-10-25..2023-11-06&type=Issues) | [@Carreau](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3ACarreau+updated%3A2023-10-25..2023-11-06&type=Issues) | [@davidbrochart](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3Adavidbrochart+updated%3A2023-10-25..2023-11-06&type=Issues)
-<!-- <END NEW CHANGELOG ENTRY> -->
-
## 8.5.0
([Full Changelog](https://github.com/jupyter/jupyter_client/compare/v8.4.0...ff94e…)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_client-8.6.0/PKG-INFO new/jupyter_client-8.6.1/PKG-INFO
--- old/jupyter_client-8.6.0/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_client-8.6.1/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: jupyter_client
-Version: 8.6.0
+Version: 8.6.1
Summary: Jupyter protocol implementation and client libraries
Project-URL: Homepage, https://jupyter.org
Project-URL: Documentation, https://jupyter-client.readthedocs.io/
@@ -67,7 +67,7 @@
Requires-Dist: coverage; extra == 'test'
Requires-Dist: ipykernel>=6.14; extra == 'test'
Requires-Dist: mypy; extra == 'test'
-Requires-Dist: paramiko; sys_platform == 'win32' and extra == 'test'
+Requires-Dist: paramiko; (sys_platform == 'win32') and extra == 'test'
Requires-Dist: pre-commit; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-cov; extra == 'test'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_client-8.6.0/docs/kernels.rst new/jupyter_client-8.6.1/docs/kernels.rst
--- old/jupyter_client-8.6.0/docs/kernels.rst 2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_client-8.6.1/docs/kernels.rst 2020-02-02 01:00:00.000000000 +0100
@@ -184,3 +184,21 @@
The notebook offers you the available kernels in a dropdown menu from the 'New'
button.
+
+
+.. _packaging-kernels:
+
+Packaging
+=========
+
+To release your kernel as a Python package, we recommend following the pattern
+used in the `echo_kernel`_, which uses the `hatch`_ build backend and
+a build file that creates the kernel directory with the ``kernel.json`` and
+kernel icons, which is included as ``shared-data``, ending up in the
+``share/jupyter/kernels/`` folder in the user's installed environment.
+See `pyproject.toml`_ and `hatch_build.py`_ for more details.
+
+.. _hatch: https://hatch.pypa.io/latest/
+.. _pyproject.toml: https://github.com/jupyter/echo_kernel/blob/main/pyproject.toml
+.. _hatch_build.py: https://github.com/jupyter/echo_kernel/blob/main/hatch_build.py
+.. _echo_kernel: https://github.com/jupyter/echo_kernel
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_client-8.6.0/docs/messaging.rst new/jupyter_client-8.6.1/docs/messaging.rst
--- old/jupyter_client-8.6.0/docs/messaging.rst 2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_client-8.6.1/docs/messaging.rst 2020-02-02 01:00:00.000000000 +0100
@@ -1049,6 +1049,15 @@
IPythonQt client) to force a kernel restart to get a clean kernel without
losing client-side state like history or inlined figures.
+Implementation recommendation for starting kernels: A restart should optimally
+preserve as many resources outside the kernel as possible (e.g. only restart the
+kernel and its subprocesses and not any parent processes). That is, ideally a
+restart should be "in-place". For local kernels, there is typically no parent
+process so a "hard" restart and an in-place restart are identical whereas for
+remote kernels this is not generally the same. As an example, if a remote kernel
+is run in a container, during an in-place restart the container may be kept
+running and a new kernel process within it would be started.
+
The client sends a shutdown request to the kernel, and once it receives the
reply message (which is otherwise empty), it can assume that the kernel has
completed shutdown safely. The request is sent on the ``control`` channel.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_client-8.6.0/docs/wrapperkernels.rst new/jupyter_client-8.6.1/docs/wrapperkernels.rst
--- old/jupyter_client-8.6.0/docs/wrapperkernels.rst 2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_client-8.6.1/docs/wrapperkernels.rst 2020-02-02 01:00:00.000000000 +0100
@@ -19,6 +19,7 @@
use ``pexpect``.
See `Octave Kernel <https://github.com/Calysto/octave_kernel>`_ as an example.
+If releasing a wrapper kernel as a Python package, see the steps in :ref:`packaging-kernels`.
Required steps
--------------
@@ -86,7 +87,7 @@
.. seealso::
- `echo_kernel <https://github.com/jupyter/echo_kernel>`__
+ `echo_kernel <https://github.com/jupyter/echo_kernel>`_
A packaged, installable version of the condensed example below.
``echokernel.py`` will simply echo any input it's given to stdout::
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_client-8.6.0/jupyter_client/_version.py new/jupyter_client-8.6.1/jupyter_client/_version.py
--- old/jupyter_client-8.6.0/jupyter_client/_version.py 2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_client-8.6.1/jupyter_client/_version.py 2020-02-02 01:00:00.000000000 +0100
@@ -2,7 +2,7 @@
import re
from typing import List, Union
-__version__ = "8.6.0"
+__version__ = "8.6.1"
# Build up version_info tuple for backwards compatibility
pattern = r"(?P<major>\d+).(?P<minor>\d+).(?P<patch>\d+)(?P<rest>.*)"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_client-8.6.0/pyproject.toml new/jupyter_client-8.6.1/pyproject.toml
--- old/jupyter_client-8.6.0/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_client-8.6.1/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
@@ -107,7 +107,10 @@
dependencies = ["pre-commit"]
detached = true
[tool.hatch.envs.lint.scripts]
-build = ["pre-commit run --all-files ruff"]
+build = [
+ "pre-commit run --all-files ruff",
+ "pre-commit run --all-files ruff-format"
+]
[tool.pytest.ini_options]
minversion = "6.0"
@@ -162,12 +165,10 @@
no_implicit_reexport = false
pretty = true
show_error_context = true
-show_error_codes = true
warn_return_any = false
warn_unreachable = true
[tool.ruff]
-target-version = "py38"
line-length = 100
[tool.ruff.lint]
@@ -278,4 +279,4 @@
exclude = ["docs", "test"]
[tool.repo-review]
-ignore = ["PY007", "PP308", "GH102"]
+ignore = ["GH102"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_client-8.6.0/tests/test_kernelspecapp.py new/jupyter_client-8.6.1/tests/test_kernelspecapp.py
--- old/jupyter_client-8.6.0/tests/test_kernelspecapp.py 2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_client-8.6.1/tests/test_kernelspecapp.py 2020-02-02 01:00:00.000000000 +0100
@@ -18,7 +18,7 @@
prefix = os.path.dirname(os.environ["JUPYTER_DATA_DIR"])
kernel_dir = os.path.join(prefix, "share/jupyter/kernels")
app.kernel_spec_manager.kernel_dirs.append(kernel_dir)
- app.prefix = prefix = prefix
+ app.prefix = prefix
app.initialize([str(jp_kernel_dir)])
with warnings.catch_warnings():
warnings.simplefilter("ignore")
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libopenmpt for openSUSE:Factory checked in at 2024-04-02 16:37:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libopenmpt (Old)
and /work/SRC/openSUSE:Factory/.libopenmpt.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libopenmpt"
Tue Apr 2 16:37:35 2024 rev:46 rq:1163533 version:0.7.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/libopenmpt/libopenmpt.changes 2024-03-18 16:43:47.725268304 +0100
+++ /work/SRC/openSUSE:Factory/.libopenmpt.new.1905/libopenmpt.changes 2024-04-02 16:37:36.174596628 +0200
@@ -1,0 +2,16 @@
+Fri Mar 29 12:38:51 UTC 2024 - Mia Herkt <mia(a)0x0.st>
+
+- Update to 0.7.6:
+ * [Sec] Potential heap out-of-bounds read or write past sample
+ end with malformed sustain loops in SymMOD files.
+ * MED: Transposed samples were playing too low in some files
+ (e.g. mix94.mmd1).
+ * OKT: Some files with garbage at the end were rejected
+ (e.g. katharsis - piano lesson.okta).
+ * Compressor DMO: It was possible that the plugin would not
+ behave as intended at mix rates above 500 kHz.
+ * Avoid re-allocating the loop state map contents on every
+ playthrough of the module.
+- Run test suite during package build
+
+-------------------------------------------------------------------
Old:
----
libopenmpt-0.7.5+release.autotools.tar.gz
New:
----
libopenmpt-0.7.6+release.autotools.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libopenmpt.spec ++++++
--- /var/tmp/diff_new_pack.YLbpAC/_old 2024-04-02 16:37:38.898697017 +0200
+++ /var/tmp/diff_new_pack.YLbpAC/_new 2024-04-02 16:37:38.910697459 +0200
@@ -21,7 +21,7 @@
%define libopenmpt_modplug_version 0.8.9.0
Name: libopenmpt
-Version: 0.7.5
+Version: 0.7.6
Release: 0
Summary: C++ and C library to decode tracker music files
License: BSD-3-Clause
@@ -111,12 +111,15 @@
--with-flac \
--with-portaudio \
--with-sdl2
-make %{?_smp_mflags}
+%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
+%check
+%make_build check
+
%post -n %{libopenmpt} -p /sbin/ldconfig
%postun -n %{libopenmpt} -p /sbin/ldconfig
++++++ libopenmpt-0.7.5+release.autotools.tar.gz -> libopenmpt-0.7.6+release.autotools.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.7.5+release.autotools/common/versionNumber.h new/libopenmpt-0.7.6+release.autotools/common/versionNumber.h
--- old/libopenmpt-0.7.5+release.autotools/common/versionNumber.h 2024-03-17 08:42:51.000000000 +0100
+++ new/libopenmpt-0.7.6+release.autotools/common/versionNumber.h 2024-03-24 13:08:54.000000000 +0100
@@ -17,7 +17,7 @@
// Version definitions. The only thing that needs to be changed when changing version number.
#define VER_MAJORMAJOR 1
#define VER_MAJOR 31
-#define VER_MINOR 05
-#define VER_MINORMINOR 02
+#define VER_MINOR 06
+#define VER_MINORMINOR 00
OPENMPT_NAMESPACE_END
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.7.5+release.autotools/configure new/libopenmpt-0.7.6+release.autotools/configure
--- old/libopenmpt-0.7.5+release.autotools/configure 2024-03-17 09:49:51.000000000 +0100
+++ new/libopenmpt-0.7.6+release.autotools/configure 2024-03-24 14:26:48.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for libopenmpt 0.7.5+release.autotools.
+# Generated by GNU Autoconf 2.71 for libopenmpt 0.7.6+release.autotools.
#
# Report bugs to <https://bugs.openmpt.org/>.
#
@@ -621,8 +621,8 @@
# Identity of this package.
PACKAGE_NAME='libopenmpt'
PACKAGE_TARNAME='libopenmpt'
-PACKAGE_VERSION='0.7.5+release.autotools'
-PACKAGE_STRING='libopenmpt 0.7.5+release.autotools'
+PACKAGE_VERSION='0.7.6+release.autotools'
+PACKAGE_STRING='libopenmpt 0.7.6+release.autotools'
PACKAGE_BUGREPORT='https://bugs.openmpt.org/'
PACKAGE_URL='https://lib.openmpt.org/'
@@ -1510,7 +1510,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures libopenmpt 0.7.5+release.autotools to adapt to many kinds of systems.
+\`configure' configures libopenmpt 0.7.6+release.autotools to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1581,7 +1581,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of libopenmpt 0.7.5+release.autotools:";;
+ short | recursive ) echo "Configuration of libopenmpt 0.7.6+release.autotools:";;
esac
cat <<\_ACEOF
@@ -1768,7 +1768,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-libopenmpt configure 0.7.5+release.autotools
+libopenmpt configure 0.7.6+release.autotools
generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
@@ -2148,7 +2148,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by libopenmpt $as_me 0.7.5+release.autotools, which was
+It was created by libopenmpt $as_me 0.7.6+release.autotools, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw
@@ -3644,7 +3644,7 @@
# Define the identity of the package.
PACKAGE='libopenmpt'
- VERSION='0.7.5+release.autotools'
+ VERSION='0.7.6+release.autotools'
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -21837,13 +21837,13 @@
-printf "%s\n" "#define MPT_SVNURL \"https://source.openmpt.org/svn/openmpt/tags/libopenmpt-0.7.5\"" >>confdefs.h
+printf "%s\n" "#define MPT_SVNURL \"https://source.openmpt.org/svn/openmpt/tags/libopenmpt-0.7.6\"" >>confdefs.h
-printf "%s\n" "#define MPT_SVNVERSION \"20388\"" >>confdefs.h
+printf "%s\n" "#define MPT_SVNVERSION \"20445\"" >>confdefs.h
-printf "%s\n" "#define MPT_SVNDATE \"2024-03-17T07:44:31.885993Z\"" >>confdefs.h
+printf "%s\n" "#define MPT_SVNDATE \"2024-03-24T12:17:57.924136Z\"" >>confdefs.h
printf "%s\n" "#define MPT_PACKAGE true" >>confdefs.h
@@ -25798,7 +25798,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by libopenmpt $as_me 0.7.5+release.autotools, which was
+This file was extended by libopenmpt $as_me 0.7.6+release.autotools, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -25858,7 +25858,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
-libopenmpt config.status 0.7.5+release.autotools
+libopenmpt config.status 0.7.6+release.autotools
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.7.5+release.autotools/configure.ac new/libopenmpt-0.7.6+release.autotools/configure.ac
--- old/libopenmpt-0.7.5+release.autotools/configure.ac 2024-03-17 09:49:19.000000000 +0100
+++ new/libopenmpt-0.7.6+release.autotools/configure.ac 2024-03-24 14:26:21.000000000 +0100
@@ -1,4 +1,4 @@
-AC_INIT([libopenmpt], [0.7.5+release.autotools], [https://bugs.openmpt.org/] [libopenmpt], [https://lib.openmpt.org/]
+AC_INIT([libopenmpt], [0.7.6+release.autotools], [https://bugs.openmpt.org/] [libopenmpt], [https://lib.openmpt.org/]
AC_PREREQ([2.69])
# we do want 2.70, but distributions are not ready yet
#AC_PREREQ([2.70])
@@ -62,9 +62,9 @@
AC_SUBST([LIBOPENMPT_LTVER_REVISION])
AC_SUBST([LIBOPENMPT_LTVER_AGE])
-AC_DEFINE([MPT_SVNURL], ["https://source.openmpt.org/svn/openmpt/tags/libopenmpt-0.7.5"], [svn version])
-AC_DEFINE([MPT_SVNVERSION], ["20388"], [svn version])
-AC_DEFINE([MPT_SVNDATE], ["2024-03-17T07:44:31.885993Z"], [svn date])
+AC_DEFINE([MPT_SVNURL], ["https://source.openmpt.org/svn/openmpt/tags/libopenmpt-0.7.6"], [svn version])
+AC_DEFINE([MPT_SVNVERSION], ["20445"], [svn version])
+AC_DEFINE([MPT_SVNDATE], ["2024-03-24T12:17:57.924136Z"], [svn date])
AC_DEFINE([MPT_PACKAGE], [true], [is package])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.7.5+release.autotools/doc/libopenmpt/changelog.md new/libopenmpt-0.7.6+release.autotools/doc/libopenmpt/changelog.md
--- old/libopenmpt-0.7.5+release.autotools/doc/libopenmpt/changelog.md 2024-03-17 08:44:29.000000000 +0100
+++ new/libopenmpt-0.7.6+release.autotools/doc/libopenmpt/changelog.md 2024-03-24 13:17:56.000000000 +0100
@@ -5,6 +5,20 @@
For fully detailed change log, please see the source repository directly. This
is just a high-level summary.
+### libopenmpt 0.7.6 (2024-03-24)
+
+ * [**Sec**] Potential heap out-of-bounds read or write past sample end with
+ malformed sustain loops in SymMOD files (r20420).
+
+ * MED: Transposed samples were playing too low in some files (e.g.
+ mix94.mmd1).
+ * OKT: Some files with garbage at the end were rejected (e.g.
+ katharsis - piano lesson.okta).
+ * Compressor DMO: It was possible that the plugin would not behave as intended
+ at mix rates above 500 kHz.
+ * Avoid re-allocating the loop state map contents on every playthrough of the
+ module.
+
### libopenmpt 0.7.5 (2024-03-17)
* [**Sec**] Null-pointer write (32bit platforms) or excessive memory
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.7.5+release.autotools/libopenmpt/libopenmpt_version.h new/libopenmpt-0.7.6+release.autotools/libopenmpt/libopenmpt_version.h
--- old/libopenmpt-0.7.5+release.autotools/libopenmpt/libopenmpt_version.h 2024-03-17 08:44:29.000000000 +0100
+++ new/libopenmpt-0.7.6+release.autotools/libopenmpt/libopenmpt_version.h 2024-03-24 13:17:56.000000000 +0100
@@ -21,7 +21,7 @@
/*! \brief libopenmpt minor version number */
#define OPENMPT_API_VERSION_MINOR 7
/*! \brief libopenmpt patch version number */
-#define OPENMPT_API_VERSION_PATCH 5
+#define OPENMPT_API_VERSION_PATCH 6
/*! \brief libopenmpt pre-release tag */
#define OPENMPT_API_VERSION_PREREL ""
/*! \brief libopenmpt pre-release flag */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.7.5+release.autotools/libopenmpt/libopenmpt_version.mk new/libopenmpt-0.7.6+release.autotools/libopenmpt/libopenmpt_version.mk
--- old/libopenmpt-0.7.5+release.autotools/libopenmpt/libopenmpt_version.mk 2024-03-17 08:44:29.000000000 +0100
+++ new/libopenmpt-0.7.6+release.autotools/libopenmpt/libopenmpt_version.mk 2024-03-24 13:17:56.000000000 +0100
@@ -1,8 +1,8 @@
LIBOPENMPT_VERSION_MAJOR=0
LIBOPENMPT_VERSION_MINOR=7
-LIBOPENMPT_VERSION_PATCH=5
+LIBOPENMPT_VERSION_PATCH=6
LIBOPENMPT_VERSION_PREREL=
LIBOPENMPT_LTVER_CURRENT=4
-LIBOPENMPT_LTVER_REVISION=5
+LIBOPENMPT_LTVER_REVISION=6
LIBOPENMPT_LTVER_AGE=4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.7.5+release.autotools/man/openmpt123.1 new/libopenmpt-0.7.6+release.autotools/man/openmpt123.1
--- old/libopenmpt-0.7.5+release.autotools/man/openmpt123.1 2024-03-17 09:49:16.000000000 +0100
+++ new/libopenmpt-0.7.6+release.autotools/man/openmpt123.1 2024-03-24 14:26:20.000000000 +0100
@@ -1,12 +1,12 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
-.TH OPENMPT123 "1" "March 2024" "openmpt123 v0.7.5" "User Commands"
+.TH OPENMPT123 "1" "March 2024" "openmpt123 v0.7.6" "User Commands"
.SH NAME
openmpt123 - command line module music player based on libopenmpt
.SH SYNOPSIS
.B openmpt123
[\fI\,options\/\fR] [\fI\,--\/\fR] \fI\,file1 \/\fR[\fI\,file2\/\fR] ...
.SH DESCRIPTION
-openmpt123 v0.7.5, libopenmpt 0.7.5+r20388 (OpenMPT 1.31.05.02\-r20388 https://source.openmpt.org/svn/openmpt/tags/libopenmpt\-0.7.5@20388 (2024\-03\-17T07:44:31.885993Z) clean)
+openmpt123 v0.7.6, libopenmpt 0.7.6+r20445 (OpenMPT 1.31.06.00 https://source.openmpt.org/svn/openmpt/tags/libopenmpt\-0.7.6@20445 (2024\-03\-24T12:17:57.924136Z) clean)
Copyright \(co 2013\-2024 OpenMPT Project Developers and Contributors <https://lib.openmpt.org/>
.PP
openmpt123 plays module music files.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.7.5+release.autotools/soundlib/Load_med.cpp new/libopenmpt-0.7.6+release.autotools/soundlib/Load_med.cpp
--- old/libopenmpt-0.7.5+release.autotools/soundlib/Load_med.cpp 2023-06-15 21:29:20.000000000 +0200
+++ new/libopenmpt-0.7.6+release.autotools/soundlib/Load_med.cpp 2024-03-17 13:34:44.000000000 +0100
@@ -818,6 +818,9 @@
instr.AssignSample(0);
}
+ MMD0Sample sampleHeader;
+ sampleHeaderChunk.ReadStruct(sampleHeader);
+
uint8 numSamples = 1;
static constexpr uint8 SamplesPerType[] = {1, 5, 3, 2, 4, 6, 7};
if(!isSynth && maskedType < std::size(SamplesPerType))
@@ -850,10 +853,10 @@
// TODO: Move octaves so that they align better (C-4 = lowest, we don't have access to the highest four octaves)
for(int octave = 4; octave < 10; octave++)
{
- for(int note = 0; note < 12; note++)
+ for(int note = 0, i = 12 * octave; note < 12; note++, i++)
{
- instr.Keyboard[12 * octave + note] = smp + OctSampleMap[numSamples - 2][octave - 4];
- instr.NoteMap[12 * octave + note] += OctTransposeMap[numSamples - 2][octave - 4];
+ instr.Keyboard[i] = smp + OctSampleMap[numSamples - 2][octave - 4];
+ instr.NoteMap[i] = static_cast<uint8>(instr.NoteMap[i] + OctTransposeMap[numSamples - 2][octave - 4]);
}
}
} else if(maskedType == MMDInstrHeader::EXTSAMPLE)
@@ -862,18 +865,14 @@
instr.Transpose(-24);
} else if(!isSynth && hardwareMixSamples)
{
- for(int octave = 7; octave < 10; octave++)
+ for(auto ¬e : instr.NoteMap)
{
- for(int note = 0; note < 12; note++)
- {
- instr.NoteMap[12 * octave + note] -= static_cast<uint8>((octave - 6) * 12);
- }
+ int realNote = note + sampleHeader.sampleTranspose;
+ if(realNote >= NOTE_MIDDLEC + 24)
+ note -= static_cast<uint8>(mpt::align_down(realNote - NOTE_MIDDLEC - 12, 12));
}
}
- MMD0Sample sampleHeader;
- sampleHeaderChunk.ReadStruct(sampleHeader);
-
// midiChannel = 0xFF == midi instrument but with invalid channel, midiChannel = 0x00 == sample-based instrument?
if(sampleHeader.midiChannel > 0 && sampleHeader.midiChannel <= 16)
{
@@ -1153,12 +1152,12 @@
if(!order.empty())
order.push_back(order.GetIgnoreIndex());
+ const size_t orderStart = order.size();
size_t readOrders = playSeq.length;
if(!file.CanRead(readOrders))
LimitMax(readOrders, file.BytesLeft());
LimitMax(readOrders, ORDERINDEX_MAX);
- size_t orderStart = order.size();
order.reserve(orderStart + readOrders);
for(size_t ord = 0; ord < readOrders; ord++)
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.7.5+release.autotools/soundlib/Load_okt.cpp new/libopenmpt-0.7.6+release.autotools/soundlib/Load_okt.cpp
--- old/libopenmpt-0.7.5+release.autotools/soundlib/Load_okt.cpp 2024-01-10 21:17:58.000000000 +0100
+++ new/libopenmpt-0.7.6+release.autotools/soundlib/Load_okt.cpp 2024-03-17 17:33:20.000000000 +0100
@@ -29,8 +29,8 @@
idSBOD = MagicBE("SBOD"),
};
- uint32be signature; // IFF chunk name
- uint32be chunksize; // chunk size without header
+ uint32be signature; // IFF chunk name
+ uint32be chunksize; // chunk size without header
};
MPT_BINARY_STRUCT(OktIffChunk, 8)
@@ -328,19 +328,6 @@
{
return ProbeFailure;
}
- OktIffChunk iffHead;
- if(!file.ReadStruct(iffHead))
- {
- return ProbeWantMoreData;
- }
- if(iffHead.chunksize == 0)
- {
- return ProbeFailure;
- }
- if((iffHead.signature & 0x80808080u) != 0) // ASCII?
- {
- return ProbeFailure;
- }
MPT_UNREFERENCED_PARAMETER(pfilesize);
return ProbeSuccess;
}
@@ -354,7 +341,6 @@
return false;
}
- // prepare some arrays to store offsets etc.
std::vector<FileReader> patternChunks;
std::vector<FileReader> sampleChunks;
std::array<int8, 8> pairedChn{{}};
@@ -371,15 +357,11 @@
{
OktIffChunk iffHead;
if(!file.ReadStruct(iffHead))
- {
break;
- }
FileReader chunk = file.ReadChunk(iffHead.chunksize);
if(!chunk.IsValid())
- {
- break;
- }
+ continue;
switch(iffHead.signature)
{
@@ -457,12 +439,6 @@
sampleChunks.push_back(chunk);
}
break;
-
- default:
- // Non-ASCII chunk ID?
- if(iffHead.signature & 0x80808080)
- return false;
- break;
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.7.5+release.autotools/soundlib/Load_symmod.cpp new/libopenmpt-0.7.6+release.autotools/soundlib/Load_symmod.cpp
--- old/libopenmpt-0.7.5+release.autotools/soundlib/Load_symmod.cpp 2023-03-19 13:01:38.000000000 +0100
+++ new/libopenmpt-0.7.6+release.autotools/soundlib/Load_symmod.cpp 2024-03-21 21:52:11.000000000 +0100
@@ -665,7 +665,7 @@
loopLen = (loopLen << 16) + loopLenFine;
const double loopScale = static_cast<double>(mptSmp.nLength) / (100 << 16);
- loopStart = mpt::saturate_cast<SmpLength>(loopStart * loopScale);
+ loopStart = std::min(mptSmp.nLength, mpt::saturate_cast<SmpLength>(loopStart * loopScale));
loopLen = std::min(mptSmp.nLength - loopStart, mpt::saturate_cast<SmpLength>(loopLen * loopScale));
} else if(mptSmp.HasSampleData())
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.7.5+release.autotools/soundlib/RowVisitor.cpp new/libopenmpt-0.7.6+release.autotools/soundlib/RowVisitor.cpp
--- old/libopenmpt-0.7.5+release.autotools/soundlib/RowVisitor.cpp 2023-03-04 00:58:04.000000000 +0100
+++ new/libopenmpt-0.7.6+release.autotools/soundlib/RowVisitor.cpp 2024-03-23 15:09:39.000000000 +0100
@@ -23,7 +23,7 @@
RowVisitor::LoopState::LoopState(const ChannelStates &chnState, const bool ignoreRow)
{
- // Rather than storing the exact loop count vector, we compute a FNV-1a 64-bit hash of it.
+ // Rather than storing the exact loop count vector, we compute an FNV-1a 64-bit hash of it.
// This means we can store the loop state in a small and fixed amount of memory.
// In theory there is the possibility of hash collisions for different loop states, but in practice,
// the relevant inputs for the hashing algorithm are extremely unlikely to produce collisions.
@@ -84,10 +84,15 @@
{
auto &order = Order();
const ORDERINDEX endOrder = order.GetLengthTailTrimmed();
+ bool reserveLoopStates = true;
m_visitedRows.resize(endOrder);
if(reset)
{
- m_visitedLoopStates.clear();
+ reserveLoopStates = m_visitedLoopStates.empty();
+ for(auto &loopState : m_visitedLoopStates)
+ {
+ loopState.second.clear();
+ }
m_rowsSpentInLoops = 0;
}
@@ -104,7 +109,7 @@
else
visitedRows.resize(numRows, false);
- if(!order.IsValidPat(ord))
+ if(!reserveLoopStates || !order.IsValidPat(ord))
continue;
const ROWINDEX startRow = std::min(static_cast<ROWINDEX>(reset ? 0 : visitedRows.size()), numRows);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.7.5+release.autotools/soundlib/plugins/dmo/Compressor.cpp new/libopenmpt-0.7.6+release.autotools/soundlib/plugins/dmo/Compressor.cpp
--- old/libopenmpt-0.7.5+release.autotools/soundlib/plugins/dmo/Compressor.cpp 2023-01-21 09:08:51.000000000 +0100
+++ new/libopenmpt-0.7.6+release.autotools/soundlib/plugins/dmo/Compressor.cpp 2024-03-17 13:34:44.000000000 +0100
@@ -88,10 +88,10 @@
}
compGainPow >>= (31 - compGainInt);
- int32 readOffset = m_predelay + m_bufPos * 4096 + m_bufSize - 1;
+ int32 readOffset = m_predelay + m_bufSize - 1;
readOffset /= 4096;
- readOffset %= m_bufSize;
-
+ readOffset = (readOffset + m_bufPos) % m_bufSize;
+
float outGain = (static_cast<float>(compGainPow) * (1.0f / 2147483648.0f)) * m_gain;
*(out[0])++ = m_buffer[readOffset * 2] * outGain;
*(out[1])++ = m_buffer[readOffset * 2 + 1] * outGain;
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package opera for openSUSE:Factory:NonFree checked in at 2024-04-02 16:36:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory:NonFree/opera (Old)
and /work/SRC/openSUSE:Factory:NonFree/.opera.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opera"
Tue Apr 2 16:36:52 2024 rev:215 rq:1163983 version:109.0.5097.33
Changes:
--------
--- /work/SRC/openSUSE:Factory:NonFree/opera/opera.changes 2024-03-25 21:05:01.818199595 +0100
+++ /work/SRC/openSUSE:Factory:NonFree/.opera.new.1905/opera.changes 2024-04-02 16:36:55.673104069 +0200
@@ -1,0 +2,19 @@
+Thu Mar 28 17:08:47 UTC 2024 - Carsten Ziepke <kieltux(a)gmail.com>
+
+- Update to 109.0.5097.33
+ * CHR-9674 Update Chromium on desktop-stable-123-5097 to
+ 123.0.6312.46
+ * DNA-115357 [Settings] Search toolbar has wrong position
+ * DNA-115396 Bolded camera icon when camera access is allowed
+ * DNA-115478 AI Prompts in text highlight popup not displayed
+ properly
+ * DNA-115563 Wallet selector not working
+ * DNA-115601 Remove 'moving text' animation in the tab cycler
+ * DNA-115645 Internal pages icons unreadable when highlight
+ * DNA-115717 'Your extension was disabled because it is
+ corrupted' message is displayed to user
+ * DNA-115770 Promote 109 to stable
+- Complete Opera 109 changelog at:
+ https://blogs.opera.com/desktop/changelog-for-109/
+
+-------------------------------------------------------------------
Old:
----
opera-stable_108.0.5067.40_amd64.rpm
New:
----
opera-stable_109.0.5097.33_amd64.rpm
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ opera.spec ++++++
--- /var/tmp/diff_new_pack.TZ3F9V/_old 2024-04-02 16:36:58.229198266 +0200
+++ /var/tmp/diff_new_pack.TZ3F9V/_new 2024-04-02 16:36:58.229198266 +0200
@@ -20,7 +20,7 @@
# libffmpeg.so*, libfreetype.so* and libGLESv2.so* are currently bundled.
%global __requires_exclude ^lib(ffmpeg|freetype|GLESv2)\\.so.*$
Name: opera
-Version: 108.0.5067.40
+Version: 109.0.5097.33
Release: 0
Summary: Proprietary web browser
License: NonFree
++++++ opera-stable_108.0.5067.40_amd64.rpm -> opera-stable_109.0.5097.33_amd64.rpm ++++++
/work/SRC/openSUSE:Factory:NonFree/opera/opera-stable_108.0.5067.40_amd64.rpm /work/SRC/openSUSE:Factory:NonFree/.opera.new.1905/opera-stable_109.0.5097.33_amd64.rpm differ: char 26, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package 000update-repos for openSUSE:Factory checked in at 2024-04-01 21:05:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/000update-repos (Old)
and /work/SRC/openSUSE:Factory/.000update-repos.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "000update-repos"
Mon Apr 1 21:05:03 2024 rev:2472 rq: version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
New:
----
15.3:update_1711973273.packages.zst
15.4:update_1711973269.packages.zst
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
1
0