Your message dated Mon, 23 Dec 2019 13:04:16 +0000
with message-id <[email protected]>
and subject line Bug#934871: fixed in lmfit-py 1.0.0-1
has caused the Debian Bug report #934871,
regarding lmfit-py: Please drop python2 support
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
934871: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934871
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lmfit-py
Version: 0.9.11+dfsg-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu eoan ubuntu-patch

Dear Frédéric-Emmanuel,

As you may know, we are in the process of deprecating python2 in Debian for
the next release.  In Ubuntu, I've identified that it may be useful to
accelerate this deprecation for pandas and its reverse-dependencies, because
the pandas tests appear to have bit-rotted for python2 on one architecture,
and it would be better to remove the python2 bits rather than invest in
fixing them.

lmfit-py is a package that build-depends on python-pandas, so I've gone
ahead and uploaded the attached patch to Ubuntu which drops the python2
module.  python-lmfit has many reverse-recommends, but no hard
reverse-dependencies, so I think this change can be uploaded at any point.

Thanks for considering,
--
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
[email protected]                                     [email protected]
diff -Nru lmfit-py-0.9.11+dfsg/debian/control 
lmfit-py-0.9.11+dfsg/debian/control
--- lmfit-py-0.9.11+dfsg/debian/control 2019-02-18 02:50:01.000000000 -0800
+++ lmfit-py-0.9.11+dfsg/debian/control 2019-08-15 20:59:59.000000000 -0700
@@ -5,15 +5,7 @@
 Priority: optional
 Build-Depends: debhelper (>= 11~),
                dh-python,
-               python-all,
-               python-nose,
-               python-asteval,
-               python-numpy,
-               python-pandas,
-               python-scipy,
-               python-setuptools,
                python3-sphinx,
-               python-uncertainties (>= 3.0.2.github~),
                python3-all,
                python3-nose,
                python3-asteval,
@@ -27,63 +19,6 @@
 Vcs-Git: https://salsa.debian.org/science-team/lmfit-py.git
 Homepage: http://lmfit.github.io/lmfit-py/
 
-Package: python-lmfit
-Architecture: all
-Section: python
-Depends: python-scipy,
-         ${misc:Depends},
-         ${python:Depends}
-Suggests: python-lmfit-doc
-Description: Least-Squares Minimization with Constraints (Python 2)
- The lmfit Python package provides a simple, flexible interface to
- non-linear optimization or curve fitting problems. The package
- extends the optimization capabilities of scipy.optimize by replacing
- floating pointing values for the variables to be optimized with
- Parameter objects. These Parameters can be fixed or varied, have
- upper and/or lower bounds placed on its value, or written as an
- algebraic expression of other Parameters.
- .
- The principal advantage of using Parameters instead of simple
- variables is that the objective function does not have to be
- rewritten to reflect every change of what is varied in the fit, or
- what relationships or constraints are placed on the Parameters. This
- means a scientific programmer can write a general model that
- encapsulates the phenomenon to be optimized, and then allow user of
- that model to change what is varied and fixed, what range of values
- is acceptable for Parameters, and what constraints are placed on the
- model. The ease with which the model can be changed also allows one
- to easily test the significance of certain Parameters in a fitting
- model.
- .
- The lmfit package allows a choice of several optimization methods
- available from scipy.optimize. The default, and by far best tested
- optimization method used is the Levenberg-Marquardt algorithm from
- MINPACK-1 as implemented in scipy.optimize.leastsq. This method
- is by far the most tested and best support method in lmfit, and much
- of this document assumes this algorithm is used unless explicitly
- stated. An important point for many scientific analysis is that this
- is only method that automatically estimates uncertainties and
- correlations between fitted variables from the covariance matrix
- calculated during the fit.
- .
- A few other optimization routines are also supported, including
- Nelder-Mead simplex downhill, Powell's method, COBYLA, Sequential
- Least Squares methods as implemented in scipy.optimize.fmin, and
- several others from scipy.optimize. In their native form, some of
- these methods setting allow upper or lower bounds on parameter
- variables, or adding constraints on fitted variables. By using
- Parameter objects, lmfit allows bounds and constraints for all of
- these methods, and makes it easy to swap between methods without
- hanging the objective function or set of Parameters.
- .
- Finally, because the approach derived from MINPACK-1 usin the
- covariance matrix to determine uncertainties is sometimes questioned
- (and sometimes rightly so), lmfit supports methods to do a brute
- force search of the confidence intervals and correlations for sets of
- parameters.
- .
- This is the Python 2 version of the package.
-
 Package: python3-lmfit
 Architecture: all
 Section: python
diff -Nru lmfit-py-0.9.11+dfsg/debian/python-lmfit-doc.doc-base 
lmfit-py-0.9.11+dfsg/debian/python-lmfit-doc.doc-base
--- lmfit-py-0.9.11+dfsg/debian/python-lmfit-doc.doc-base       2019-02-18 
02:50:01.000000000 -0800
+++ lmfit-py-0.9.11+dfsg/debian/python-lmfit-doc.doc-base       2019-08-15 
20:59:59.000000000 -0700
@@ -5,5 +5,5 @@
 Section: Text
 
 Format: HTML
-Index: /usr/share/doc/python-lmfit/html/index.html
-Files: /usr/share/doc/python-lmfit/html/*
+Index: /usr/share/doc/python3-lmfit/html/index.html
+Files: /usr/share/doc/python3-lmfit/html/*
diff -Nru lmfit-py-0.9.11+dfsg/debian/rules lmfit-py-0.9.11+dfsg/debian/rules
--- lmfit-py-0.9.11+dfsg/debian/rules   2019-02-18 02:50:01.000000000 -0800
+++ lmfit-py-0.9.11+dfsg/debian/rules   2019-08-15 20:59:59.000000000 -0700
@@ -14,11 +14,10 @@
 # copy the tests to the build dir to be able to pass nose
 export PYBUILD_AFTER_BUILD=cp -r NIST_STRD {build_dir}
 export PYBUILD_BEFORE_INSTALL=rm -fr {build_dir}/NIST_STRD
-export PYBUILD_AFTER_INSTALL_python2=dh_numpy
 export PYBUILD_AFTER_INSTALL_python3=dh_numpy3
 
 %:
-       dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+       dh $@ --with python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_clean:
        rm -rf doc/_static/conf_interval2.png
@@ -37,9 +36,10 @@
 endif
 
 override_dh_installdocs-indep:
-       dh_installdocs -i
+       dh_installdocs -p python-$(PYBUILD_NAME)-doc --doc-main-package 
python3-$(PYBUILD_NAME)
+       dh_installdocs -p python3-$(PYBUILD_NAME)
        find debian/python-$(PYBUILD_NAME)-doc/usr/share/doc -name "*.html" 
-type f | xargs sed -i 's;https://cdn[js]*\..*/MathJax.js;_static/MathJax.js;g'
-       ln -s /usr/share/javascript/mathjax/MathJax.js  
debian/python-$(PYBUILD_NAME)-doc/usr/share/doc/python-$(PYBUILD_NAME)/html/_static
+       ln -s /usr/share/javascript/mathjax/MathJax.js  
debian/python-$(PYBUILD_NAME)-doc/usr/share/doc/python3-$(PYBUILD_NAME)/html/_static
 
 override_dh_python3:
        dh_python3
diff -Nru lmfit-py-0.9.11+dfsg/debian/tests/control 
lmfit-py-0.9.11+dfsg/debian/tests/control
--- lmfit-py-0.9.11+dfsg/debian/tests/control   2019-02-18 02:50:01.000000000 
-0800
+++ lmfit-py-0.9.11+dfsg/debian/tests/control   2019-08-15 20:59:59.000000000 
-0700
@@ -1,5 +1,2 @@
-Tests: python2
-Depends: python-lmfit, python-all, python-tk, python-nose, python-matplotlib, 
python-pandas, python-scipy
-
 Tests: python3
 Depends: python3-lmfit, python3-all, python3-tk, python3-nose, 
python3-matplotlib, python3-pandas, python3-scipy
diff -Nru lmfit-py-0.9.11+dfsg/debian/tests/python2 
lmfit-py-0.9.11+dfsg/debian/tests/python2
--- lmfit-py-0.9.11+dfsg/debian/tests/python2   2019-02-18 02:50:01.000000000 
-0800
+++ lmfit-py-0.9.11+dfsg/debian/tests/python2   1969-12-31 16:00:00.000000000 
-0800
@@ -1,10 +0,0 @@
-#!/bin/sh
-set -e -u
-
-cp -a  NIST_STRD/ "$ADTTMP"
-cd "$ADTTMP/NIST_STRD"
-
-for python in $(pyversions -i); do
-        PYTHONWARNINGS=d $python /usr/bin/nosetests -v 2>&1
-done
-

--- End Message ---
--- Begin Message ---
Source: lmfit-py
Source-Version: 1.0.0-1

We believe that the bug you reported is fixed in the latest version of
lmfit-py, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Picca Frédéric-Emmanuel <[email protected]> (supplier of updated lmfit-py 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 23 Dec 2019 13:52:39 +0100
Source: lmfit-py
Architecture: source
Version: 1.0.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Picca Frédéric-Emmanuel <[email protected]>
Closes: 922111 934871 943786
Changes:
 lmfit-py (1.0.0-1) unstable; urgency=medium
 .
   [ Alexandre Marie ]
   * Fixed compatibility with python3.8 (Closes: #943786)
   * Forced asteval version to >=0.9.16
 .
   [ Picca Frédéric-Emmanuel ]
   * added jupyter-sphinx as Build-Depends
   * Forgotten with the previous upload (Closes: #934871, #922111)
   * Do not build the documentation for now.
 .
   [ Andreas Tille ]
   * Use secure URI in Homepage field.
   * Fix day-of-week for changelog entry 0.8.3+dfsg.1-1~exp1.
   * Build-Depends: python3-sphinx-gallery
   TODO:
     Exception occurred:
       File "/usr/lib/python3/dist-packages/sphinx_gallery/gen_gallery.py", 
line 313, in sumarize_failing_examples
         "\n" + "-" * 79)
     ValueError: Here is a summary of the problems encountered when running the 
examples
Checksums-Sha1:
 967bbbca196651118d7c3510b7c0ffa7ede42969 2584 lmfit-py_1.0.0-1.dsc
 78624f48fe6325615552f7e2e85cf56eccdfbf75 262704 lmfit-py_1.0.0.orig.tar.gz
 842aae1a212d5812a281898c09d5ecf4840fb9a7 7172 lmfit-py_1.0.0-1.debian.tar.xz
Checksums-Sha256:
 9c86a71a220f7c1c3a1834eb992f572e1569e649850aad72266703f82f0c94c3 2584 
lmfit-py_1.0.0-1.dsc
 f06b129971da50bf0a3e7db496f96b3c7e8fda1993be7349719e46ee8cfb6632 262704 
lmfit-py_1.0.0.orig.tar.gz
 8817e7276e8622e036f1233f239b9d40e9ce2ae5a439415d9989c86ae68bcd1b 7172 
lmfit-py_1.0.0-1.debian.tar.xz
Files:
 1b0b3e13f7c5939d5612e228cf3d9536 2584 science optional lmfit-py_1.0.0-1.dsc
 bc98ff3a7a64e6c6be87509f516c16e9 262704 science optional 
lmfit-py_1.0.0.orig.tar.gz
 c8e993ba93dd8134f5df45a6268aa18c 7172 science optional 
lmfit-py_1.0.0-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE2bRTt5m4gw2UXmoKW/VOXhK5ALsFAl4AuOURHHBpY2NhQGRl
Ymlhbi5vcmcACgkQW/VOXhK5ALtjJQ/9EhhaZ5NH1dzQ5PqpUHspLlaeDJjQkTCT
LCq3u84Y+G7AZTPAgMjt+3ExK1PwdVbq49Fq2egZ56pmSRt2PmSb+BumJOdqxMDl
ivGwUdQWbA3bJXQYXdr6RnyO5Fp8r3dC57MDf6BiZxj0QJ1+OKykKe4lZ41ETFWs
g4QCLaqapwavYK1yXjH2qIsTaqZ/3fVk6VFI066HJvcWd1JwbBcr4fLPGYJjvEpw
OPdrIsbcwP2PNG9Ulp7Rf3Q7nOQgfK8MLJhoGHePPuZ9HK8n64qoWsCjPDO7XcqR
On0gpQGa9xv+d29Wr10KulewBA3XwkB2Ze5o7gKIn9U6fxwccZZx290ZqKWX3LYL
6q/+/xylH2co1gDgF/z8SYtv+nHX2rG8wRXXa/Ck0umV8t6KlGSlqS9/lWLXqPeq
3OPv5rqu9nWU83m13228alP5FVHlKEDJskc0AbGyNYTARqonkEsZ6K3bx28Bo0UO
kL/gcxUoa/6sAtx2JgAz4RnpsXVD7CxSUfb23ZUG1bIhe/8eUU0KCneTZ5Z/PUp/
kySIO+Yu0njmUR8Wuth4GqlPKvJaEKK6hqzVEMOIiy6cw9wLfKFn7/4V0jWyvvxP
IWmND2pubUsBUXa5XDgRnWAXZmNCJ+Wr6jNgOpZ8EDeELST/57OEKoG4Iit7NTZG
DkogXo3/wcc=
=e4BP
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to