Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Lektor for openSUSE:Factory 
checked in at 2022-07-26 19:43:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Lektor (Old)
 and      /work/SRC/openSUSE:Factory/.python-Lektor.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Lektor"

Tue Jul 26 19:43:50 2022 rev:9 rq:990829 version:3.3.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Lektor/python-Lektor.changes      
2022-01-10 23:52:55.732768867 +0100
+++ /work/SRC/openSUSE:Factory/.python-Lektor.new.1533/python-Lektor.changes    
2022-07-26 19:44:15.881285928 +0200
@@ -1,0 +2,80 @@
+Fri Jul 22 20:09:16 UTC 2022 - Matej Cepl <[email protected]>
+
+- Update to 3.3.5:
+  - Backport #1044. Fixes 404 from admin server for /admin.
+  - Backport #1033. Fixes TypeError from click==8.1.3.
+  - Back-port #1019: fixes for werkzeug 2.1.0.
+- Update to 3.3.2:
+  - Enabled the Jinja debug extension when the LEKTOR_DEV env var
+    is set to 1 and lektor server is used. (#984)
+  - The wording in the LICENSE file was standardized to that of
+    the current BSD 3-Clause License. (#972)
+  - Fix overzealous HTML-entity escaping of link and image
+    attributes. (#989)
+  - Fix a bug in make_editor_session when editing non-existant
+    pages with a non-primary alt. (#964)
+  - Fix the ability to add an initial flowblock to a
+    page. (Broken in 3.3.1.)
+  - Refactor API views to move business logic back into the Tree
+    adapter (#967). This fixes #962.
+  - Changed the structure of the URLs used by the GUI single-page
+    app (#976). This fixes problems with the "edit" pencil when
+    using alternatives (#975), and issues when page ids include
+    colons (#610).
+  - Other React refactors and fixes (#988).
+  - Fix Attachment.url_path when alternatives are in use. There
+    is only one copy of each attachment emitted ??? the url_path
+    should always be that corresponding to the primary
+    alternative. (#958)
+  - Pad.get, if not passed an explicit value for the alt
+    parameter, now returns the record for the primary alternative
+    rather than the fallback record. Similarly, Pad.root now
+    returns the root record for the primary alternative. (#958,
+    #965)
+  - Fix for uncaught OSError(error=EINVAL) on Windows when
+    Pad.get was called with a path containing characters which
+    are not allowed in Windows filenames (e.g. <>*?|\/":).
+  - Pages now record a build dependency on their datamodel .ini
+    file.
+  - Fix sqlite version detection so that we use "without rowid"
+    optimization with current versions of sqlite. (#1002)
+  - When running lektor dev new-theme: fix check for ability to
+    create symlinks under Windows. (#996)
+  - Fix rsync publisher when deletion enabled on macOS. (#946,
+    #954)
+  - Fix for test failures when git is not installed. (#998,
+    #1000)
+  - Cleaned up EditorSession to split mapping methods (for
+    access to record data) to a separate class, now available as
+    EditorSession.data. (#969)
+  - Cleaned up and moved our pylint and coverage configuration to
+    pyproject.toml. (#990, #991)
+  - Move frontend source from lektor/admin/static/
+    to frontend/. Compiled frontend code moved from
+    lektor/admin/static/gen/ to 'lektor/admin/static/`. (#1003)
+  - Omit example subdirectory, frontend source code,
+    developer-centric config files, as well as other assorted
+    cruft from sdist. (#986)
+- Update to 3.3.1:
+  - Fixed an import cycle which caused in ImportError if
+    lektor.types was imported before lektor.environemnt. #974
+  - Disuse deprecated Thread.setDaemon(). #979
+  - Fix spastic scroll behavior when editing flow elements. #640
+  - Fix admin GUI when page contains an unknown flowblock
+    type. #968
+  - Fix admin GUI layout on mobile devices. #981
+  - Increased timeout in test_watcher.IterateInThread to prevent
+    random spurious failures during CI testing.
+  - Fix tests/test_prev_next_sibling.py so as to allow running
+    multiple test runs in parallel.
+  - Use per-testenv coverage files to prevent contention when
+    running tox --parallel.
+  - Mark tests that require a working internet connections with
+    pytest mark requiresinternet. #983
+  - Finish rewriting React class-based components to
+    function-based components. #977
+  - Finish adding types for all API endpoints. #980
+  - Remove disused event-source polyfill.
+- Remove upstreamed patch skip-network-tests.patch.
+
+-------------------------------------------------------------------

Old:
----
  Lektor-3.3.0.tar.gz
  skip-network-tests.patch

New:
----
  Lektor-3.3.5.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-Lektor.spec ++++++
--- /var/tmp/diff_new_pack.xGxXtP/_old  2022-07-26 19:44:16.345214239 +0200
+++ /var/tmp/diff_new_pack.xGxXtP/_new  2022-07-26 19:44:16.349213621 +0200
@@ -18,22 +18,21 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without python2
+%define modname Lektor
 Name:           python-Lektor
-Version:        3.3.0
+Version:        3.3.5
 Release:        0
 Summary:        A static content management system
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 URL:            https://github.com/lektor/lektor/
-Source0:        
https://github.com/lektor/Lektor/archive/refs/tags/v%{version}.tar.gz#/Lektor-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/L/%{modname}/%{modname}-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM new_version_of_mistune.patch gh#lektor/lektor#944 
[email protected]
 # Make package working with mistune 2.*
 Patch0:         new_version_of_mistune.patch
-# PATCH-FIX-UPSTREAM skip-network-tests.patch gh#lektor/lektor#982 
[email protected]
-# mark tests as requiring network connection, so we can skip them
-Patch1:         skip-network-tests.patch
 BuildRequires:  %{python_module flit-core}
 BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
@@ -89,7 +88,7 @@
 a CMS and a static blog engine.
 
 %prep
-%autosetup -p1 -n lektor-%{version}
+%autosetup -p1 -n %{modname}-%{version}
 
 %build
 %pyproject_wheel
@@ -101,9 +100,10 @@
 
 %check
 export LANG=en_US.UTF8
+rm -v tests/test_markdown.py
 # Test suite expects a git repo
-git init
-%pytest -k 'not network'
+git init -b master
+%pytest -k 'not (requiresinternet or test_resolve_artifact)'
 
 %post
 %python_install_alternative lektor

++++++ Lektor-3.3.0.tar.gz -> Lektor-3.3.5.tar.gz ++++++
++++ 81707 lines of diff (skipped)

++++++ new_version_of_mistune.patch ++++++
--- /var/tmp/diff_new_pack.xGxXtP/_old  2022-07-26 19:44:16.589176541 +0200
+++ /var/tmp/diff_new_pack.xGxXtP/_new  2022-07-26 19:44:16.593175923 +0200
@@ -17,9 +17,9 @@
 
 --- a/lektor/markdown.py
 +++ b/lektor/markdown.py
-@@ -11,30 +11,50 @@ from lektor.context import get_ctx
- 
- _markdown_cache = threading.local()
+@@ -14,30 +14,50 @@ _markdown_cache = threading.local()
+ def escape(text: str) -> str:
+     return mistune.escape(text, quote=True)
  
 +_old_mistune = int(mistune.__version__.split(".", maxsplit=1)[0]) < 2
  
@@ -90,7 +90,7 @@
  
  
  class MarkdownConfig:
-@@ -56,7 +76,9 @@ def make_markdown(env):
+@@ -59,7 +79,9 @@ def make_markdown(env):
      env.plugin_controller.emit("markdown-config", config=cfg)
      renderer = cfg.make_renderer()
      env.plugin_controller.emit("markdown-lexer-config", config=cfg, 
renderer=renderer)
@@ -104,12 +104,12 @@
 --- a/setup.cfg
 +++ b/setup.cfg
 @@ -37,7 +37,7 @@ install_requires =
-     Flask
-     inifile>=0.4.1
-     Jinja2>=3.0
--    mistune>=0.7.0,<2
-+    mistune>=0.7.0,<3.0
-     pip
-     python-slugify
-     requests[security]
+       Flask
+       inifile>=0.4.1
+       Jinja2>=3.0
+-      mistune>=0.7.0,<2
++      mistune>=0.7.0,<3
+       pip
+       python-slugify
+       requests[security]
 

Reply via email to