You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, I read the instructions and I am sure this is a GitHub Issue.
Or at least rather confident.
Description
I am trying to package lmfit for nixpkgs, but the test suite fails with these three errors, due to skipped tests:
======================================================================
ERROR: test_emcee_multiprocessing (tests.test_nose.CommonMinimizerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/lmfit-1.2.1/tests/test_nose.py", line 490, in test_emcee_multiprocessing
raise pytest.skip("Pytest fails with multiprocessing")
File "/nix/store/j9ld50p4ky8zizisxphn1vaa3ly7dcva-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/outcomes.py", line 175, in skip
raise Skipped(msg=reason, allow_module_level=allow_module_level)
Skipped: Pytest fails with multiprocessing
======================================================================
ERROR: test_explicit_independent_vars (tests.test_model.TestConstant)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/lmfit-1.2.1/tests/test_model.py", line 608, in test_explicit_independent_vars
self.check_skip_independent_vars()
File "/build/lmfit-1.2.1/tests/test_model.py", line 1347, in check_skip_independent_vars
raise pytest.skip("ConstantModel has not independent_vars.")
File "/nix/store/j9ld50p4ky8zizisxphn1vaa3ly7dcva-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/outcomes.py", line 175, in skip
raise Skipped(msg=reason, allow_module_level=allow_module_level)
Skipped: ConstantModel has not independent_vars.
======================================================================
ERROR: test_result_eval_custom_x (tests.test_model.TestConstant)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/lmfit-1.2.1/tests/test_model.py", line 666, in test_result_eval_custom_x
self.check_skip_independent_vars()
File "/build/lmfit-1.2.1/tests/test_model.py", line 1347, in check_skip_independent_vars
raise pytest.skip("ConstantModel has not independent_vars.")
File "/nix/store/j9ld50p4ky8zizisxphn1vaa3ly7dcva-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/outcomes.py", line 175, in skip
raise Skipped(msg=reason, allow_module_level=allow_module_level)
Skipped: ConstantModel has not independent_vars.
----------------------------------------------------------------------
Ran 144 tests in 2.182s
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing setuptools-check-hook
Using setuptoolsCheckPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/zrfxigpfdl3sn897n6jqhla4spak17v4-lmfit-1.2.1.tar.gz
source root is lmfit-1.2.1
setting SOURCE_DATE_EPOCH to timestamp 1683049963 of file lmfit-1.2.1/setup.cfg
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
Executing setuptoolsBuildPhase
/nix/store/laiizs9x3qx26f82s9x5nb8ywd0ffy1c-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/__init__.py:85: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
dist.fetch_build_eggs(dist.setup_requires)
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/lmfit
copying lmfit/version.py -> build/lib/lmfit
copying lmfit/conf_emcee.py -> build/lib/lmfit
copying lmfit/_ampgo.py -> build/lib/lmfit
copying lmfit/jsonutils.py -> build/lib/lmfit
copying lmfit/parameter.py -> build/lib/lmfit
copying lmfit/__init__.py -> build/lib/lmfit
copying lmfit/minimizer.py -> build/lib/lmfit
copying lmfit/printfuncs.py -> build/lib/lmfit
copying lmfit/model.py -> build/lib/lmfit
copying lmfit/models.py -> build/lib/lmfit
copying lmfit/lineshapes.py -> build/lib/lmfit
copying lmfit/confidence.py -> build/lib/lmfit
/nix/store/laiizs9x3qx26f82s9x5nb8ywd0ffy1c-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/lmfit
copying build/lib/lmfit/version.py -> build/bdist.linux-x86_64/wheel/lmfit
copying build/lib/lmfit/conf_emcee.py -> build/bdist.linux-x86_64/wheel/lmfit
copying build/lib/lmfit/_ampgo.py -> build/bdist.linux-x86_64/wheel/lmfit
copying build/lib/lmfit/jsonutils.py -> build/bdist.linux-x86_64/wheel/lmfit
copying build/lib/lmfit/parameter.py -> build/bdist.linux-x86_64/wheel/lmfit
copying build/lib/lmfit/__init__.py -> build/bdist.linux-x86_64/wheel/lmfit
copying build/lib/lmfit/minimizer.py -> build/bdist.linux-x86_64/wheel/lmfit
copying build/lib/lmfit/printfuncs.py -> build/bdist.linux-x86_64/wheel/lmfit
copying build/lib/lmfit/model.py -> build/bdist.linux-x86_64/wheel/lmfit
copying build/lib/lmfit/models.py -> build/bdist.linux-x86_64/wheel/lmfit
copying build/lib/lmfit/lineshapes.py -> build/bdist.linux-x86_64/wheel/lmfit
copying build/lib/lmfit/confidence.py -> build/bdist.linux-x86_64/wheel/lmfit
running install_egg_info
running egg_info
writing lmfit.egg-info/PKG-INFO
writing dependency_links to lmfit.egg-info/dependency_links.txt
writing requirements to lmfit.egg-info/requires.txt
writing top-level names to lmfit.egg-info/top_level.txt
reading manifest file 'lmfit.egg-info/SOURCES.txt'
adding license file 'LICENSE'
adding license file 'AUTHORS.txt'
writing manifest file 'lmfit.egg-info/SOURCES.txt'
Copying lmfit.egg-info to build/bdist.linux-x86_64/wheel/lmfit-1.2.1-py3.10.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/lmfit-1.2.1.dist-info/WHEEL
creating 'dist/lmfit-1.2.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'lmfit/__init__.py'
adding 'lmfit/_ampgo.py'
adding 'lmfit/conf_emcee.py'
adding 'lmfit/confidence.py'
adding 'lmfit/jsonutils.py'
adding 'lmfit/lineshapes.py'
adding 'lmfit/minimizer.py'
adding 'lmfit/model.py'
adding 'lmfit/models.py'
adding 'lmfit/parameter.py'
adding 'lmfit/printfuncs.py'
adding 'lmfit/version.py'
adding 'lmfit-1.2.1.dist-info/AUTHORS.txt'
adding 'lmfit-1.2.1.dist-info/LICENSE'
adding 'lmfit-1.2.1.dist-info/METADATA'
adding 'lmfit-1.2.1.dist-info/WHEEL'
adding 'lmfit-1.2.1.dist-info/top_level.txt'
adding 'lmfit-1.2.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Finished executing setuptoolsBuildPhase
@nix { "action": "setPhase", "phase": "installPhase" }
installing
Executing pipInstallPhase
/build/lmfit-1.2.1/dist /build/lmfit-1.2.1
Processing ./lmfit-1.2.1-py3-none-any.whl
Requirement already satisfied: asteval>=0.9.28 in /nix/store/vni7rap2bnpnr7svsnm7p7s8b3qgxwfc-python3.10-asteval-0.9.29/lib/python3.10/site-packages (from lmfit==1.2.1) (0.9.29)
Requirement already satisfied: numpy>=1.19 in /nix/store/9jnlpm3r4i8rcynr8674cg123r4wx0gy-python3.10-numpy-1.24.2/lib/python3.10/site-packages (from lmfit==1.2.1) (1.24.2)
Requirement already satisfied: uncertainties>=3.1.4 in /nix/store/h9r71380vpv2lsh2x3m40imga80906f0-python3.10-uncertainties-3.1.7/lib/python3.10/site-packages (from lmfit==1.2.1) (3.1.7)
Requirement already satisfied: scipy>=1.6 in /nix/store/i9098fjra2lqj82hjwrf28h6rjnkv14y-python3.10-scipy-1.10.1/lib/python3.10/site-packages (from lmfit==1.2.1) (1.10.1)
Requirement already satisfied: future in /nix/store/jcz06x2ccdapcjs2icxnlkl0ffyyq0gr-python3.10-future-0.18.3/lib/python3.10/site-packages (from uncertainties>=3.1.4->lmfit==1.2.1) (0.18.3)
Installing collected packages: lmfit
Successfully installed lmfit-1.2.1
/build/lmfit-1.2.1
Finished executing pipInstallPhase
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" }
pythonOutputDistPhase
Executing pythonOutputDistPhase
Finished executing pythonOutputDistPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/2y141pi2q8kdsxyi7m1kmvlz7jvpyk4p-python3.10-lmfit-1.2.1
checking for references to /build/ in /nix/store/2y141pi2q8kdsxyi7m1kmvlz7jvpyk4p-python3.10-lmfit-1.2.1...
patching script interpreter paths in /nix/store/2y141pi2q8kdsxyi7m1kmvlz7jvpyk4p-python3.10-lmfit-1.2.1
stripping (with command strip and flags -S -p) in /nix/store/2y141pi2q8kdsxyi7m1kmvlz7jvpyk4p-python3.10-lmfit-1.2.1/lib
shrinking RPATHs of ELF executables and libraries in /nix/store/f4n668dszcxqznn8wi6bqjv8j45mf9mc-python3.10-lmfit-1.2.1-dist
checking for references to /build/ in /nix/store/f4n668dszcxqznn8wi6bqjv8j45mf9mc-python3.10-lmfit-1.2.1-dist...
patching script interpreter paths in /nix/store/f4n668dszcxqznn8wi6bqjv8j45mf9mc-python3.10-lmfit-1.2.1-dist
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
@nix { "action": "setPhase", "phase": "installCheckPhase" }
running install tests
no Makefile or custom installCheckPhase, doing nothing
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" }
pythonCatchConflictsPhase
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" }
pythonRemoveBinBytecodePhase
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" }
pythonImportsCheckPhase
Executing pythonImportsCheckPhase
@nix { "action": "setPhase", "phase": "setuptoolsCheckPhase" }
setuptoolsCheckPhase
Executing setuptoolsCheckPhase
/nix/store/laiizs9x3qx26f82s9x5nb8ywd0ffy1c-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/__init__.py:85: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
dist.fetch_build_eggs(dist.setup_requires)
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
/nix/store/laiizs9x3qx26f82s9x5nb8ywd0ffy1c-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/command/test.py:194: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
ir_d = dist.fetch_build_eggs(dist.install_requires)
/nix/store/laiizs9x3qx26f82s9x5nb8ywd0ffy1c-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/command/test.py:195: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
tr_d = dist.fetch_build_eggs(dist.tests_require or [])
/nix/store/laiizs9x3qx26f82s9x5nb8ywd0ffy1c-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/command/test.py:196: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
er_d = dist.fetch_build_eggs(
running egg_info
writing lmfit.egg-info/PKG-INFO
writing dependency_links to lmfit.egg-info/dependency_links.txt
writing requirements to lmfit.egg-info/requires.txt
writing top-level names to lmfit.egg-info/top_level.txt
reading manifest file 'lmfit.egg-info/SOURCES.txt'
adding license file 'LICENSE'
adding license file 'AUTHORS.txt'
writing manifest file 'lmfit.egg-info/SOURCES.txt'
running build_ext
Matplotlib created a temporary config/cache directory at /build/matplotlib-r7cene7i because the default path (/homeless-shelter/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
test_diffev_bounds_check (tests.test_nose.CommonMinimizerTest) ... ok
test_emcee (tests.test_nose.CommonMinimizerTest) ... ok
test_emcee_bounds_length (tests.test_nose.CommonMinimizerTest) ... ok
test_emcee_custom_pool (tests.test_nose.CommonMinimizerTest) ... ok
test_emcee_float (tests.test_nose.CommonMinimizerTest) ... ok
test_emcee_init_with_chain (tests.test_nose.CommonMinimizerTest) ... ok
test_emcee_lnpost (tests.test_nose.CommonMinimizerTest) ... ok
test_emcee_method_kwarg (tests.test_nose.CommonMinimizerTest) ... ok
test_emcee_multiprocessing (tests.test_nose.CommonMinimizerTest) ... ERROR
test_emcee_ntemps (tests.test_nose.CommonMinimizerTest) ... ok
test_emcee_output (tests.test_nose.CommonMinimizerTest) ... ok
test_emcee_partial_bounds (tests.test_nose.CommonMinimizerTest) ... ok
test_emcee_reuse_sampler (tests.test_nose.CommonMinimizerTest) ... ok
test_emcee_seed (tests.test_nose.CommonMinimizerTest) ... ok
test_nan_policy (tests.test_nose.CommonMinimizerTest) ... capi_return is NULL
Call-back cb_calcfc_in__cobyla__user__routines failed.
ok
test_nan_policy_function (tests.test_nose.CommonMinimizerTest) ... ok
test_scalar_minimizers (tests.test_nose.CommonMinimizerTest) ... /build/lmfit-1.2.1/lmfit/minimizer.py:1036: DeprecationWarning: 'maxiter' has been deprecated in favor of 'maxfun' and will be removed in SciPy 1.11.0.
ret = scipy_minimize(self.penalty, variables, **fmin_kws)
ok
test_aic (tests.test_model.TestComplexConstant) ... ok
test_bic (tests.test_model.TestComplexConstant) ... ok
test_data_alignment (tests.test_model.TestComplexConstant) ... ok
test_explicit_independent_vars (tests.test_model.TestComplexConstant) ... ok
test_fit (tests.test_model.TestComplexConstant) ... ok
test_fit_with_weights (tests.test_model.TestComplexConstant) ... ok
test_result_attributes (tests.test_model.TestComplexConstant) ... ok
test_result_eval (tests.test_model.TestComplexConstant) ... ok
test_result_eval_custom_x (tests.test_model.TestComplexConstant) ... ok
test_result_report (tests.test_model.TestComplexConstant) ... ok
test_aic (tests.test_model.TestConstant) ... ok
test_bic (tests.test_model.TestConstant) ... ok
test_data_alignment (tests.test_model.TestConstant) ... ok
test_explicit_independent_vars (tests.test_model.TestConstant) ... ERROR
test_fit (tests.test_model.TestConstant) ... ok
test_fit_with_weights (tests.test_model.TestConstant) ... ok
test_result_attributes (tests.test_model.TestConstant) ... ok
test_result_eval (tests.test_model.TestConstant) ... ok
test_result_eval_custom_x (tests.test_model.TestConstant) ... ERROR
test_result_report (tests.test_model.TestConstant) ... ok
test_aic (tests.test_model.TestExponential) ... ok
test_bic (tests.test_model.TestExponential) ... ok
test_data_alignment (tests.test_model.TestExponential) ... ok
test_explicit_independent_vars (tests.test_model.TestExponential) ... ok
test_fit (tests.test_model.TestExponential) ... ok
test_fit_with_weights (tests.test_model.TestExponential) ... ok
test_result_attributes (tests.test_model.TestExponential) ... ok
test_result_eval (tests.test_model.TestExponential) ... ok
test_result_eval_custom_x (tests.test_model.TestExponential) ... ok
test_result_report (tests.test_model.TestExponential) ... ok
test_aic (tests.test_model.TestExpression) ... ok
test_bic (tests.test_model.TestExpression) ... ok
test_composite_with_expression (tests.test_model.TestExpression) ... ok
test_data_alignment (tests.test_model.TestExpression) ... ok
test_explicit_independent_vars (tests.test_model.TestExpression) ... ok
test_fit (tests.test_model.TestExpression) ... ok
test_fit_with_weights (tests.test_model.TestExpression) ... ok
test_result_attributes (tests.test_model.TestExpression) ... ok
test_result_eval (tests.test_model.TestExpression) ... ok
test_result_eval_custom_x (tests.test_model.TestExpression) ... ok
test_result_report (tests.test_model.TestExpression) ... ok
test_aic (tests.test_model.TestLinear) ... ok
test_bic (tests.test_model.TestLinear) ... ok
test_data_alignment (tests.test_model.TestLinear) ... ok
test_explicit_independent_vars (tests.test_model.TestLinear) ... ok
test_fit (tests.test_model.TestLinear) ... ok
test_fit_with_weights (tests.test_model.TestLinear) ... ok
test_result_attributes (tests.test_model.TestLinear) ... ok
test_result_eval (tests.test_model.TestLinear) ... ok
test_result_eval_custom_x (tests.test_model.TestLinear) ... ok
test_result_report (tests.test_model.TestLinear) ... ok
test_aic (tests.test_model.TestParabolic) ... ok
test_bic (tests.test_model.TestParabolic) ... ok
test_data_alignment (tests.test_model.TestParabolic) ... ok
test_explicit_independent_vars (tests.test_model.TestParabolic) ... ok
test_fit (tests.test_model.TestParabolic) ... ok
test_fit_with_weights (tests.test_model.TestParabolic) ... ok
test_result_attributes (tests.test_model.TestParabolic) ... ok
test_result_eval (tests.test_model.TestParabolic) ... ok
test_result_eval_custom_x (tests.test_model.TestParabolic) ... ok
test_result_report (tests.test_model.TestParabolic) ... ok
test_aic (tests.test_model.TestPolynomialOrder2) ... ok
test_bic (tests.test_model.TestPolynomialOrder2) ... ok
test_data_alignment (tests.test_model.TestPolynomialOrder2) ... ok
test_explicit_independent_vars (tests.test_model.TestPolynomialOrder2) ... ok
test_fit (tests.test_model.TestPolynomialOrder2) ... ok
test_fit_with_weights (tests.test_model.TestPolynomialOrder2) ... ok
test_result_attributes (tests.test_model.TestPolynomialOrder2) ... ok
test_result_eval (tests.test_model.TestPolynomialOrder2) ... ok
test_result_eval_custom_x (tests.test_model.TestPolynomialOrder2) ... ok
test_result_report (tests.test_model.TestPolynomialOrder2) ... ok
test_aic (tests.test_model.TestPolynomialOrder3) ... ok
test_bic (tests.test_model.TestPolynomialOrder3) ... ok
test_data_alignment (tests.test_model.TestPolynomialOrder3) ... ok
test_explicit_independent_vars (tests.test_model.TestPolynomialOrder3) ... ok
test_fit (tests.test_model.TestPolynomialOrder3) ... ok
test_fit_with_weights (tests.test_model.TestPolynomialOrder3) ... ok
test_result_attributes (tests.test_model.TestPolynomialOrder3) ... ok
test_result_eval (tests.test_model.TestPolynomialOrder3) ... ok
test_result_eval_custom_x (tests.test_model.TestPolynomialOrder3) ... ok
test_result_report (tests.test_model.TestPolynomialOrder3) ... ok
test_aic (tests.test_model.TestPowerlaw) ... ok
test_bic (tests.test_model.TestPowerlaw) ... ok
test_data_alignment (tests.test_model.TestPowerlaw) ... ok
test_explicit_independent_vars (tests.test_model.TestPowerlaw) ... ok
test_fit (tests.test_model.TestPowerlaw) ... ok
test_fit_with_weights (tests.test_model.TestPowerlaw) ... ok
test_result_attributes (tests.test_model.TestPowerlaw) ... ok
test_result_eval (tests.test_model.TestPowerlaw) ... ok
test_result_eval_custom_x (tests.test_model.TestPowerlaw) ... ok
test_result_report (tests.test_model.TestPowerlaw) ... ok
test_aic (tests.test_model.TestUserDefiniedModel) ... ok
test_bic (tests.test_model.TestUserDefiniedModel) ... ok
test_bounding (tests.test_model.TestUserDefiniedModel) ... ok
test_change_prefix (tests.test_model.TestUserDefiniedModel)
should pass! ... ok
test_composite_has_bestvalues (tests.test_model.TestUserDefiniedModel) ... ok
test_composite_model_with_expr_constrains (tests.test_model.TestUserDefiniedModel)
Smoke test for composite model fitting with expr constraints. ... ok
test_composite_plotting (tests.test_model.TestUserDefiniedModel) ... generated new fontManager
ok
test_data_alignment (tests.test_model.TestUserDefiniedModel) ... ok
test_different_independent_vars_composite_modeld (tests.test_model.TestUserDefiniedModel)
Regression test for different independent variables in CompositeModel. ... ok
test_eval_components (tests.test_model.TestUserDefiniedModel) ... ok
test_explicit_independent_vars (tests.test_model.TestUserDefiniedModel) ... ok
test_extra_param_issues_warning (tests.test_model.TestUserDefiniedModel) ... ok
test_fit (tests.test_model.TestUserDefiniedModel) ... ok
test_fit_with_weights (tests.test_model.TestUserDefiniedModel) ... ok
test_hints_for_peakmodels (tests.test_model.TestUserDefiniedModel) ... ok
test_hints_in_composite_models (tests.test_model.TestUserDefiniedModel) ... ok
test_lists_become_arrays (tests.test_model.TestUserDefiniedModel) ... ok
test_missing_independent_variable_raises_error (tests.test_model.TestUserDefiniedModel) ... ok
test_missing_param_raises_error (tests.test_model.TestUserDefiniedModel) ... ok
test_model_name (tests.test_model.TestUserDefiniedModel) ... ok
test_model_nan_policy (tests.test_model.TestUserDefiniedModel)
Tests for nan_policy with NaN values in the input data. ... ok
test_model_nan_policy_NaNs_by_model (tests.test_model.TestUserDefiniedModel)
Test for nan_policy with NaN values generated by the model function. ... ok
test_model_with_prefix (tests.test_model.TestUserDefiniedModel) ... ok
test_param_hint_explicit_value (tests.test_model.TestUserDefiniedModel) ... ok
test_result_attributes (tests.test_model.TestUserDefiniedModel) ... ok
test_result_eval (tests.test_model.TestUserDefiniedModel) ... ok
test_result_eval_custom_x (tests.test_model.TestUserDefiniedModel) ... ok
test_result_report (tests.test_model.TestUserDefiniedModel) ... ok
test_sum_composite_models (tests.test_model.TestUserDefiniedModel) ... ok
test_sum_of_two_gaussians (tests.test_model.TestUserDefiniedModel) ... ok
test_symmetric_boundss (tests.test_model.TestUserDefiniedModel) ... [[Model]]
Model(gaussian)
[[Fit Statistics]]
# fitting method = leastsq
# function evals = 26
# data points = 51
# variables = 3
chi-square = 0.63097732
reduced chi-square = 0.01314536
Akaike info crit = -218.007861
Bayesian info crit = -212.212384
R-squared = 0.93909122
[[Variables]]
amplitude: 7.89848798 +/- 0.26132589 (3.31%) (init = 10)
center: 12.9007899 +/- 0.09320727 (0.72%) (init = 10)
sigma: 2.44044133 +/- 0.09329306 (3.82%) (init = 2.2)
[[Correlations]] (unreported correlations are < 0.100)
C(amplitude, sigma) = +0.5778
ok
test_unprefixed_name_collisions (tests.test_model.TestUserDefiniedModel) ... ok
test_user_defined_gaussian_plus_constant (tests.test_model.TestUserDefiniedModel) ... ok
test_vary_false (tests.test_model.TestUserDefiniedModel) ... ok
test_weird_param_hints (tests.test_model.TestUserDefiniedModel) ... ok
test_wrapped_model_func (tests.test_model.TestUserDefiniedModel) ... ok
======================================================================
ERROR: test_emcee_multiprocessing (tests.test_nose.CommonMinimizerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/lmfit-1.2.1/tests/test_nose.py", line 490, in test_emcee_multiprocessing
raise pytest.skip("Pytest fails with multiprocessing")
File "/nix/store/j9ld50p4ky8zizisxphn1vaa3ly7dcva-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/outcomes.py", line 175, in skip
raise Skipped(msg=reason, allow_module_level=allow_module_level)
Skipped: Pytest fails with multiprocessing
======================================================================
ERROR: test_explicit_independent_vars (tests.test_model.TestConstant)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/lmfit-1.2.1/tests/test_model.py", line 608, in test_explicit_independent_vars
self.check_skip_independent_vars()
File "/build/lmfit-1.2.1/tests/test_model.py", line 1347, in check_skip_independent_vars
raise pytest.skip("ConstantModel has not independent_vars.")
File "/nix/store/j9ld50p4ky8zizisxphn1vaa3ly7dcva-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/outcomes.py", line 175, in skip
raise Skipped(msg=reason, allow_module_level=allow_module_level)
Skipped: ConstantModel has not independent_vars.
======================================================================
ERROR: test_result_eval_custom_x (tests.test_model.TestConstant)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/lmfit-1.2.1/tests/test_model.py", line 666, in test_result_eval_custom_x
self.check_skip_independent_vars()
File "/build/lmfit-1.2.1/tests/test_model.py", line 1347, in check_skip_independent_vars
raise pytest.skip("ConstantModel has not independent_vars.")
File "/nix/store/j9ld50p4ky8zizisxphn1vaa3ly7dcva-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/outcomes.py", line 175, in skip
raise Skipped(msg=reason, allow_module_level=allow_module_level)
Skipped: ConstantModel has not independent_vars.
----------------------------------------------------------------------
Ran 144 tests in 2.201s
FAILED (errors=3)
Test failed: <unittest.runner.TextTestResult run=144 errors=3 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=144 errors=3 failures=0>
Is this an issue with the versions of dependencies I am using, or something else?
The text was updated successfully, but these errors were encountered:
Yes, I read the instructions and I am sure this is a GitHub Issue.
Or at least rather confident.
Description
I am trying to package lmfit for nixpkgs, but the test suite fails with these three errors, due to skipped tests:
Version information
This is trying to package
lmfit-1.2.1
Dependencies:
Also,
pytest-7.2.1
.Full build log
Is this an issue with the versions of dependencies I am using, or something else?
The text was updated successfully, but these errors were encountered: