diff --git a/jupyter_events-0.5.0.tar.gz b/jupyter_events-0.5.0.tar.gz deleted file mode 100644 index b2f6ee0..0000000 --- a/jupyter_events-0.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e27ffdd6138699d47d42cb65ae6d79334ff7c0d923694381c991ce56a140f2cd -size 55838 diff --git a/jupyter_events-0.6.3.tar.gz b/jupyter_events-0.6.3.tar.gz new file mode 100644 index 0000000..a10593a --- /dev/null +++ b/jupyter_events-0.6.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a6e9995f75d1b7146b436ea24d696ce3a35bfa8bfe45e0c33c334c79464d0b3 +size 59393 diff --git a/python-jupyter-events.changes b/python-jupyter-events.changes index 563d010..e365243 100644 --- a/python-jupyter-events.changes +++ b/python-jupyter-events.changes @@ -1,4 +1,22 @@ ------------------------------------------------------------------- +Sun Jan 15 21:04:58 UTC 2023 - Ben Greiner + +- Update to 0.6.3 + * Clean up typing #64 (@blink1073) +- Release 0.6.2 + * Decrease pyyaml dependency floor to increase compatibility #63 + (@kevin-bates) +- Release 0.6.1 + * Remove artificial cap on jsonschema dependency #61 + (@kevin-bates) + * Try dropping jsonschema dependency #59 (@bretttully) +- Release 0.6.0 + * Add typing file #60 (@blink1073) + * Use base setup dependency type #47 (@blink1073) + * (CI and lint cleanups in multiple PRs) +- allow update-alternatives for backported 15.x packages + +--------------------------------------------------------- Sun Dec 25 22:08:53 UTC 2022 - Ben Greiner - Initial specfile for v0.5 diff --git a/python-jupyter-events.spec b/python-jupyter-events.spec index 92d13a2..d41d516 100644 --- a/python-jupyter-events.spec +++ b/python-jupyter-events.spec @@ -1,7 +1,7 @@ # # spec file for package python-jupyter-events # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,36 +16,43 @@ # -# This is with alts/libalternatives only and has never been something else +%if 0%{suse_version} >= 1550 %bcond_without libalternatives +%else +%bcond_with libalternatives +%endif Name: python-jupyter-events -Version: 0.5.0 +Version: 0.6.3 Release: 0 Summary: Jupyter Event System library License: BSD-3-Clause URL: https://github.com/jupyter/jupyter_events Source: https://files.pythonhosted.org/packages/source/j/jupyter_events/jupyter_events-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} -BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module hatchling >= 1.5} BuildRequires: %{python_module pip} BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: alts -Requires: python-PyYAML >= 6.0 -Requires: python-jsonschema-format-nongpl >= 4.3.0 +Requires: python-PyYAML >= 5.3 +Requires: python-jsonschema-format-nongpl >= 3.2.0 Requires: python-python-json-logger >= 2.0.4 +Requires: python-rfc3339-validator +Requires: python-rfc3986-validator >= 0.1.1 Requires: python-traitlets >= 5.3 Provides: python-jupyter_events = %{version}-%{release} BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module PyYAML >= 6.0} +BuildRequires: %{python_module rfc3339-validator} +BuildRequires: %{python_module PyYAML >= 5.3} BuildRequires: %{python_module click} -BuildRequires: %{python_module jsonschema-format-nongpl >= 4.3.0} -BuildRequires: %{python_module pytest >= 6.1.0} +BuildRequires: %{python_module jsonschema-format-nongpl >= 3.2.0} +BuildRequires: %{python_module pytest >= 7} BuildRequires: %{python_module pytest-asyncio >= 0.19.0} BuildRequires: %{python_module pytest-console-scripts} BuildRequires: %{python_module python-json-logger >= 2.0.4} +BuildRequires: %{python_module rfc3986-validator >= 0.1.1} BuildRequires: %{python_module rich} BuildRequires: %{python_module traitlets >= 5.3} # /SECTION @@ -71,13 +78,15 @@ sed -i 's/--color=yes//' pyproject.toml %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# flavored not yet installed libalts are not supported by python-rpm-macros -%{python_expand # +%{python_expand # provide flavored command in case not yet installed libalts are not supported by python_flavored_alternatives mkdir -p build/flavorbin -ln -s %{buildroot}%{_bindir}/jupyter-events-%{$python_bin_suffix} build/flavorbin/jupyter-events +which jupyter-events || ln -s %{buildroot}%{_bindir}/jupyter-events-%{$python_bin_suffix} build/flavorbin/jupyter-events } %pytest +%pre +%python_libalternatives_reset_alternative jupyter-events + %post %python_install_alternative jupyter-events