Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-xdoctest for openSUSE:Factory
checked in at 2023-06-07 23:07:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-xdoctest (Old)
and /work/SRC/openSUSE:Factory/.python-xdoctest.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-xdoctest"
Wed Jun 7 23:07:51 2023 rev:4 rq:1091245 version:1.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-xdoctest/python-xdoctest.changes
2021-11-08 17:25:26.888743109 +0100
+++
/work/SRC/openSUSE:Factory/.python-xdoctest.new.15902/python-xdoctest.changes
2023-06-07 23:08:31.927730125 +0200
@@ -1,0 +2,70 @@
+Tue Jun 6 15:34:57 UTC 2023 - [email protected]
+
+- version update to 1.1.1
+ ## Version 1.1.1
+ ### Changed
+ * Binary tests are now only run on "full" installs to reduce minimal
dependencies.
+ * Support for Python 3.11
+ * Minor typing fixes
+
+ ## Version 1.1.0 - Released 2022-09-05
+ ### Fixed
+ * Can now handle basic versions of the new `__editable__` package finder
mechanism.
+ * Parsing bug where directives were incorrectly flagged as inline if they
were
+ directly followed by a function with a decorator.
+ ### Removed
+ * Dropped 2.7 and 3.5 support. Now supporting 3.6+ Use xdoctest<=1.0.2 for
2.7
+ or 3.5 support.
+ ### Changed
+ * Improved the "dump" functionality of converting doctests to unit tests.
+
+ ## Version 1.0.2 - Released 2022-08-19
+ ### Added
+ * Environs as options:
+ `XDOCTEST_VERBOSE`, `XDOCTEST_OPTIONS`, `XDOCTEST_GLOBAL_EXEC`,
`XDOCTEST_REPORT`,
+ `XDOCTEST_STYLE`, and `XDOCTEST_ANALYSIS` environment variables can now be
used
+ to specify configuration defaults.
+ ### Changed
+ * Added experimental hidden feature `--insert-skip-directive-above-failures`
+ that can be used to modify your code such that failing doctests are marked
as
+ skip.
+ * Disabled traceback suppression on module import errors (this is is
+ configurable via the `supress_import_errors` option).
+ * Xdoctest will no longer try to pre-import the module if none of its
doctests
+ have any enabled lines. This also means global-exec statements will NOT run
+ for those tests, which means you can no longer use global-exec to
+ force enabling tests.
+
+ ## Version 1.0.1 - Released 2022-07-10
+ ### Added
+ * Add type stubs
+ * Basic support for pyproject.toml under `tool.xdoctest`. Currently only
+ supports options in the native runner.
+ ### Fixed
+ * Corner case bug in error reporting
+ * Doctests that never run any code are now correctly marked as skipped
+ * Issue where the "dumps" command was undocumented and has an error.
+ ### Changed
+ * Moved some globals into a new module called `global_state` and allowed
+ environs to enable debug print statements.
+ * Added `util_deprecation` module to robustly mark features as deprecated.
+ * Modified the google style return type parser to return a type if the
+ only content is some parsable python code.
+ * Modified docscrape google to allow for parsing of `*args` and `**kwargs` in
+ args blocks. This has also moved to the standalone package `googledoc`
+ * Overhaul of repo structure in an effort to modernize and to agree with
+ templates defined by xcookie
+ * Module code now lives in the "src" directory to remove install vs develop
+ ambiguity.
+
+ ## Version 1.0.0 - Released 2022-03-25
+ ### Added
+ * Support for Python 3.10
+ ### Fixed
+ * Warning in pytest8
+ * Spelling errors in documentation
+* added patches
+ https://github.com/Erotemic/xdoctest/pull/142
+ + python-xdoctest-no-six.patch
+
+-------------------------------------------------------------------
Old:
----
xdoctest-0.15.10.tar.gz
New:
----
python-xdoctest-no-six.patch
xdoctest-1.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-xdoctest.spec ++++++
--- /var/tmp/diff_new_pack.oLRqpU/_old 2023-06-07 23:08:32.431733052 +0200
+++ /var/tmp/diff_new_pack.oLRqpU/_new 2023-06-07 23:08:32.435733075 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-xdoctest
#
-# Copyright (c) 2021 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,21 +16,22 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-xdoctest
-Version: 0.15.10
+Version: 1.1.1
Release: 0
Summary: Enhanced Python builtin doctest module
License: Apache-2.0
URL: https://github.com/Erotemic/xdoctest
Source:
https://github.com/Erotemic/xdoctest/archive/refs/tags/v%{version}.tar.gz#/xdoctest-%{version}.tar.gz
+# https://github.com/Erotemic/xdoctest/pull/142
+Patch0: python-xdoctest-no-six.patch
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pygments}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module six}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-six
Requires(post): update-alternatives
Requires(postun):update-alternatives
Recommends: python-pygments
@@ -41,15 +42,14 @@
A rewrite of the builtin doctest module with a pytest plugin.
%prep
-%setup -q -n xdoctest-%{version}
-sed -i '1{/^#!/d}' xdoctest/__main__.py
-sed -i 's/--ignore-glob=setup.py//' pytest.ini
+%autosetup -p1 -n xdoctest-%{version}
%build
-%python_build
+sed -i '1{/^#!/d}' src/xdoctest/__main__.py
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/xdoctest
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -60,18 +60,12 @@
%python_uninstall_alternative xdoctest
%check
-mkdir -p ~/bin
-export PATH=$PATH:~/bin
-export PYTHONDONTWRITEBYTECODE=1
-# Python 2 on openSUSE 15.x gets confused if buildroot installed copy is in
PYTHONPATH
-%{python_expand cp -p %{buildroot}%{_bindir}/xdoctest-%{$python_bin_suffix}
~/bin/xdoctest
-PYTHONPATH=. $python -m pytest -rs
-}
+%pytest
%files %{python_files}
%doc README.rst
%license LICENSE
%python_alternative %{_bindir}/xdoctest
-%{python_sitelib}/*
+%{python_sitelib}/xdoctest*
%changelog
++++++ python-xdoctest-no-six.patch ++++++
++++ 1263 lines (skipped)
++++++ xdoctest-0.15.10.tar.gz -> xdoctest-1.1.1.tar.gz ++++++
++++ 39406 lines of diff (skipped)