<86>Jul 6 01:10:34 userdel[2586827]: delete user 'rooter' <86>Jul 6 01:10:34 userdel[2586827]: removed group 'rooter' owned by 'rooter' <86>Jul 6 01:10:34 userdel[2586827]: removed shadow group 'rooter' owned by 'rooter' <86>Jul 6 01:10:34 groupadd[2586860]: group added to /etc/group: name=rooter, GID=1823 <86>Jul 6 01:10:34 groupadd[2586860]: group added to /etc/gshadow: name=rooter <86>Jul 6 01:10:34 groupadd[2586860]: new group: name=rooter, GID=1823 <86>Jul 6 01:10:34 useradd[2586884]: new user: name=rooter, UID=1823, GID=1823, home=/root, shell=/bin/bash, from=none <86>Jul 6 01:10:34 userdel[2586909]: delete user 'builder' <86>Jul 6 01:10:34 userdel[2586909]: removed group 'builder' owned by 'builder' <86>Jul 6 01:10:34 userdel[2586909]: removed shadow group 'builder' owned by 'builder' <86>Jul 6 01:10:34 groupadd[2586933]: group added to /etc/group: name=builder, GID=1824 <86>Jul 6 01:10:34 groupadd[2586933]: group added to /etc/gshadow: name=builder <86>Jul 6 01:10:34 groupadd[2586933]: new group: name=builder, GID=1824 <86>Jul 6 01:10:34 useradd[2586949]: new user: name=builder, UID=1824, GID=1824, home=/usr/src, shell=/bin/bash, from=none warning: user aris does not exist - using root warning: group aris does not exist - using root warning: user aris does not exist - using root warning: group aris does not exist - using root <13>Jul 6 01:10:38 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432004 installed <13>Jul 6 01:10:38 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468404 installed <13>Jul 6 01:10:38 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349835 installed <13>Jul 6 01:10:38 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962877 installed <13>Jul 6 01:10:38 rpmi: libp11-kit-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645560 installed <13>Jul 6 01:10:38 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Jul 6 01:10:38 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jul 6 01:10:38 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jul 6 01:10:38 rpmi: ca-certificates-2024.07.01-alt1 sisyphus+351897.100.1.1 1719826350 installed <13>Jul 6 01:10:38 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Jul 6 01:10:38 rpmi: p11-kit-trust-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645560 installed <13>Jul 6 01:10:38 rpmi: libcrypto3-3.1.6-alt1 sisyphus+350419.100.1.1 1717605656 installed <13>Jul 6 01:10:38 rpmi: libssl3-3.1.6-alt1 sisyphus+350419.100.1.1 1717605656 installed <13>Jul 6 01:10:38 rpmi: python3-3.12.2-alt1 sisyphus+341702.200.1.1 1709232871 installed <13>Jul 6 01:10:39 rpmi: python3-base-3.12.2-alt1 sisyphus+341702.200.1.1 1709232871 installed <13>Jul 6 01:10:39 rpmi: python3-module-py3dephell-0.1.0-alt2 sisyphus+328191.600.5.1 1693609196 installed <13>Jul 6 01:10:39 rpmi: tests-for-installed-python3-pkgs-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed <13>Jul 6 01:10:39 rpmi: rpm-build-python3-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed <13>Jul 6 01:10:41 rpmi: python3-module-pluggy-1.5.0-alt1 sisyphus+345632.100.2.1 1713864244 installed <13>Jul 6 01:10:41 rpmi: python3-module-pkg_resources-1:70.0.0-alt1 sisyphus+349080.100.2.1 1716802750 installed <13>Jul 6 01:10:41 rpmi: python3-module-packaging-24.1-alt1 sisyphus+350717.100.2.1 1718268656 installed <13>Jul 6 01:10:41 rpmi: python3-module-iniconfig-2.0.0-alt1 sisyphus+314076.200.3.1 1674737275 installed <13>Jul 6 01:10:41 rpmi: python3-module-pytest-8.2.2-alt1 sisyphus+350387.100.2.1 1717665127 installed <13>Jul 6 01:10:41 rpmi: libsqlite3-3.44.2-alt1 sisyphus+335409.100.3.3 1701347810 installed <13>Jul 6 01:10:41 rpmi: python3-modules-sqlite3-3.12.2-alt1 sisyphus+341702.200.1.1 1709232871 installed <13>Jul 6 01:10:41 rpmi: python3-module-coverage-7.3.2-alt1 sisyphus+340977.100.1.1 1708279274 installed <13>Jul 6 01:10:41 rpmi: libpython3-3.12.2-alt1 sisyphus+341702.200.1.1 1709232871 installed <13>Jul 6 01:10:41 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>Jul 6 01:10:41 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>Jul 6 01:10:41 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>Jul 6 01:10:42 rpmi: python3-dev-3.12.2-alt1 sisyphus+341702.200.1.1 1709232871 installed <13>Jul 6 01:10:42 rpmi: python3-module-setuptools-1:70.0.0-alt1 sisyphus+349080.100.2.1 1716802750 installed <13>Jul 6 01:10:42 rpmi: python3-module-pytest-cov-5.0.0-alt1 sisyphus+343602.100.1.1 1711449884 installed <13>Jul 6 01:10:42 rpmi: python3-module-wheel-0.43.0-alt1 sisyphus+342546.200.3.1 1710867409 installed <13>Jul 6 01:10:42 rpmi: python3-module-mccabe-0.7.0-alt1.1 sisyphus+308548.100.1.1 1665999981 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python3-module-pymeeus-0.5.12-alt1.nosrc.rpm (w1.gzdio) <13>Jul 6 01:10:43 rpmi: python3-module-pyproject-installer-0.5.3-alt1 sisyphus+344989.100.3.1 1713974805 installed Installing python3-module-pymeeus-0.5.12-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.27520 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf PyMeeus-0.5.12 + echo 'Source #0 (PyMeeus-0.5.12.tar.gz):' Source #0 (PyMeeus-0.5.12.tar.gz): + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/PyMeeus-0.5.12.tar.gz + /bin/tar -xf - + cd PyMeeus-0.5.12 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.27520 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd PyMeeus-0.5.12 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'FFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + /usr/bin/python3 -m pyproject_installer -v build INFO : pyproject_installer.build_cmd._build : Building wheel INFO : pyproject_installer.build_cmd._build : Source tree: /usr/src/RPM/BUILD/PyMeeus-0.5.12 INFO : pyproject_installer.build_cmd._build : Output dir: /usr/src/RPM/BUILD/PyMeeus-0.5.12/dist DEBUG : pyproject_installer.lib.build_backend : Validating source path DEBUG : pyproject_installer.lib.build_backend : Checking for PEP517 spec INFO : pyproject_installer.lib.build_backend : pyproject.toml was not found, using defaults INFO : backend_caller.py : Calling hook build_wheel in subprocess INFO : backend_caller.py : Build backend: setuptools.build_meta:__legacy__ INFO : backend_caller.py : Hook args: ['/usr/src/RPM/BUILD/PyMeeus-0.5.12/dist'] INFO : backend_caller.py : Hook kwargs: {'config_settings': None} INFO : root : running bdist_wheel INFO : root : running build INFO : root : running build_py WARNING : root : file base.py (for module base) not found INFO : root : creating build INFO : root : creating build/lib INFO : root : creating build/lib/pymeeus INFO : root : copying pymeeus/base.py -> build/lib/pymeeus INFO : root : copying pymeeus/__init__.py -> build/lib/pymeeus INFO : root : copying pymeeus/Venus.py -> build/lib/pymeeus INFO : root : copying pymeeus/Uranus.py -> build/lib/pymeeus INFO : root : copying pymeeus/Sun.py -> build/lib/pymeeus INFO : root : copying pymeeus/Saturn.py -> build/lib/pymeeus INFO : root : copying pymeeus/Pluto.py -> build/lib/pymeeus INFO : root : copying pymeeus/Neptune.py -> build/lib/pymeeus INFO : root : copying pymeeus/Moon.py -> build/lib/pymeeus INFO : root : copying pymeeus/Minor.py -> build/lib/pymeeus INFO : root : copying pymeeus/Mercury.py -> build/lib/pymeeus INFO : root : copying pymeeus/Mars.py -> build/lib/pymeeus INFO : root : copying pymeeus/JupiterMoons.py -> build/lib/pymeeus INFO : root : copying pymeeus/Jupiter.py -> build/lib/pymeeus INFO : root : copying pymeeus/Interpolation.py -> build/lib/pymeeus INFO : root : copying pymeeus/Epoch.py -> build/lib/pymeeus INFO : root : copying pymeeus/Earth.py -> build/lib/pymeeus INFO : root : copying pymeeus/CurveFitting.py -> build/lib/pymeeus INFO : root : copying pymeeus/Coordinates.py -> build/lib/pymeeus INFO : root : copying pymeeus/Angle.py -> build/lib/pymeeus WARNING : root : file base.py (for module base) not found INFO : wheel : installing to build/bdist.linux-x86_64/wheel INFO : root : running install INFO : root : running install_lib INFO : root : creating build/bdist.linux-x86_64 INFO : root : creating build/bdist.linux-x86_64/wheel INFO : root : creating build/bdist.linux-x86_64/wheel/pymeeus INFO : root : copying build/lib/pymeeus/Angle.py -> build/bdist.linux-x86_64/wheel/pymeeus INFO : root : copying build/lib/pymeeus/Coordinates.py -> build/bdist.linux-x86_64/wheel/pymeeus INFO : root : copying build/lib/pymeeus/CurveFitting.py -> build/bdist.linux-x86_64/wheel/pymeeus INFO : root : copying build/lib/pymeeus/Earth.py -> build/bdist.linux-x86_64/wheel/pymeeus INFO : root : copying build/lib/pymeeus/Epoch.py -> build/bdist.linux-x86_64/wheel/pymeeus INFO : root : copying build/lib/pymeeus/Interpolation.py -> build/bdist.linux-x86_64/wheel/pymeeus INFO : root : copying build/lib/pymeeus/Jupiter.py -> build/bdist.linux-x86_64/wheel/pymeeus INFO : root : copying build/lib/pymeeus/JupiterMoons.py -> build/bdist.linux-x86_64/wheel/pymeeus INFO : root : copying build/lib/pymeeus/Mars.py -> build/bdist.linux-x86_64/wheel/pymeeus INFO : root : copying build/lib/pymeeus/Mercury.py -> build/bdist.linux-x86_64/wheel/pymeeus INFO : root : copying build/lib/pymeeus/Minor.py -> build/bdist.linux-x86_64/wheel/pymeeus INFO : root : copying build/lib/pymeeus/Moon.py -> build/bdist.linux-x86_64/wheel/pymeeus INFO : root : copying build/lib/pymeeus/Neptune.py -> build/bdist.linux-x86_64/wheel/pymeeus INFO : root : copying build/lib/pymeeus/Pluto.py -> build/bdist.linux-x86_64/wheel/pymeeus INFO : root : copying build/lib/pymeeus/Saturn.py -> build/bdist.linux-x86_64/wheel/pymeeus INFO : root : copying build/lib/pymeeus/Sun.py -> build/bdist.linux-x86_64/wheel/pymeeus INFO : root : copying build/lib/pymeeus/Uranus.py -> build/bdist.linux-x86_64/wheel/pymeeus INFO : root : copying build/lib/pymeeus/Venus.py -> build/bdist.linux-x86_64/wheel/pymeeus INFO : root : copying build/lib/pymeeus/__init__.py -> build/bdist.linux-x86_64/wheel/pymeeus INFO : root : copying build/lib/pymeeus/base.py -> build/bdist.linux-x86_64/wheel/pymeeus INFO : root : running install_egg_info INFO : root : running egg_info INFO : root : writing PyMeeus.egg-info/PKG-INFO INFO : root : writing dependency_links to PyMeeus.egg-info/dependency_links.txt INFO : root : writing top-level names to PyMeeus.egg-info/top_level.txt WARNING : root : file base.py (for module base) not found INFO : root : reading manifest file 'PyMeeus.egg-info/SOURCES.txt' INFO : root : reading manifest template 'MANIFEST.in' WARNING : root : warning: no files found matching '*.py' under directory 'bin' INFO : root : adding license file 'LICENSE.txt' INFO : root : adding license file 'COPYING.LESSER' INFO : root : writing manifest file 'PyMeeus.egg-info/SOURCES.txt' INFO : root : Copying PyMeeus.egg-info to build/bdist.linux-x86_64/wheel/PyMeeus-0.5.12-py3.12.egg-info INFO : root : running install_scripts INFO : wheel : creating build/bdist.linux-x86_64/wheel/PyMeeus-0.5.12.dist-info/WHEEL INFO : wheel : creating '/usr/src/RPM/BUILD/PyMeeus-0.5.12/dist/.tmp-_854m5db/PyMeeus-0.5.12-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it INFO : wheel : adding 'pymeeus/Angle.py' INFO : wheel : adding 'pymeeus/Coordinates.py' INFO : wheel : adding 'pymeeus/CurveFitting.py' INFO : wheel : adding 'pymeeus/Earth.py' INFO : wheel : adding 'pymeeus/Epoch.py' INFO : wheel : adding 'pymeeus/Interpolation.py' INFO : wheel : adding 'pymeeus/Jupiter.py' INFO : wheel : adding 'pymeeus/JupiterMoons.py' INFO : wheel : adding 'pymeeus/Mars.py' INFO : wheel : adding 'pymeeus/Mercury.py' INFO : wheel : adding 'pymeeus/Minor.py' INFO : wheel : adding 'pymeeus/Moon.py' INFO : wheel : adding 'pymeeus/Neptune.py' INFO : wheel : adding 'pymeeus/Pluto.py' INFO : wheel : adding 'pymeeus/Saturn.py' INFO : wheel : adding 'pymeeus/Sun.py' INFO : wheel : adding 'pymeeus/Uranus.py' INFO : wheel : adding 'pymeeus/Venus.py' INFO : wheel : adding 'pymeeus/__init__.py' INFO : wheel : adding 'pymeeus/base.py' INFO : wheel : adding 'PyMeeus-0.5.12.dist-info/COPYING.LESSER' INFO : wheel : adding 'PyMeeus-0.5.12.dist-info/LICENSE.txt' INFO : wheel : adding 'PyMeeus-0.5.12.dist-info/METADATA' INFO : wheel : adding 'PyMeeus-0.5.12.dist-info/WHEEL' INFO : wheel : adding 'PyMeeus-0.5.12.dist-info/top_level.txt' INFO : wheel : adding 'PyMeeus-0.5.12.dist-info/RECORD' INFO : wheel : removing build/bdist.linux-x86_64/wheel INFO : pyproject_installer.build_cmd._build : Built wheel: PyMeeus-0.5.12-py3-none-any.whl + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.93886 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-pymeeus-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-pymeeus-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd PyMeeus-0.5.12 + /usr/bin/python3 -m pyproject_installer -v install --destdir=/usr/src/tmp/python3-module-pymeeus-buildroot INFO : pyproject_installer.install_cmd._install : Installing wheel INFO : pyproject_installer.install_cmd._install : Wheel directory: /usr/src/RPM/BUILD/PyMeeus-0.5.12/dist INFO : pyproject_installer.install_cmd._install : Wheel filename: PyMeeus-0.5.12-py3-none-any.whl INFO : pyproject_installer.install_cmd._install : Destination: /usr/src/tmp/python3-module-pymeeus-buildroot DEBUG : pyproject_installer.lib.wheel : Parsing wheel filename DEBUG : pyproject_installer.lib.wheel : Validating wheel file DEBUG : pyproject_installer.lib.wheel : Validating wheel spec version DEBUG : pyproject_installer.lib.wheel : Parsing wheel spec metadata DEBUG : pyproject_installer.lib.wheel : Validating RECORD INFO : pyproject_installer.install_cmd._install : Wheel installation root: /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages INFO : pyproject_installer.install_cmd._install : Extracting wheel DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: PyMeeus-0.5.12.dist-info/COPYING.LESSER DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: PyMeeus-0.5.12.dist-info/LICENSE.txt DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: PyMeeus-0.5.12.dist-info/WHEEL DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: PyMeeus-0.5.12.dist-info/top_level.txt DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: PyMeeus-0.5.12.dist-info/RECORD INFO : pyproject_installer.install_cmd._install : Wheel was installed + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-pymeeus-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-pymeeus-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-pymeeus-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-pymeeus-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-pymeeus-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-pymeeus-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/python3-module-pymeeus-buildroot Bytecompiling python3 modules in /usr/src/tmp/python3-module-pymeeus-buildroot using /usr/bin/python3 compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Angle.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Coordinates.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/CurveFitting.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Earth.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Epoch.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Interpolation.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Jupiter.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/JupiterMoons.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Mars.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Mercury.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Minor.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Moon.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Neptune.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Pluto.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Saturn.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Sun.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Uranus.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Venus.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/__init__.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/base.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-pymeeus-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Angle.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Coordinates.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/CurveFitting.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Earth.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Epoch.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Interpolation.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Jupiter.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/JupiterMoons.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Mars.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Mercury.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Minor.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Moon.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Neptune.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Pluto.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Saturn.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Sun.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Uranus.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Venus.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/__init__.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/base.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-pymeeus-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Angle.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Coordinates.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/CurveFitting.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Earth.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Epoch.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Interpolation.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Jupiter.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/JupiterMoons.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Mars.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Mercury.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Minor.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Moon.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Neptune.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Pluto.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Saturn.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Sun.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Uranus.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/Venus.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/__init__.py compile /usr/src/tmp/python3-module-pymeeus-buildroot/usr/lib/python3/site-packages/pymeeus/base.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/pymeeus/__pycache__/Angle.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pymeeus/__pycache__/Angle.cpython-312.pyc' './usr/lib/python3/site-packages/pymeeus/__pycache__/Coordinates.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pymeeus/__pycache__/Coordinates.cpython-312.pyc' './usr/lib/python3/site-packages/pymeeus/__pycache__/CurveFitting.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pymeeus/__pycache__/CurveFitting.cpython-312.pyc' './usr/lib/python3/site-packages/pymeeus/__pycache__/Earth.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pymeeus/__pycache__/Earth.cpython-312.pyc' './usr/lib/python3/site-packages/pymeeus/__pycache__/Epoch.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pymeeus/__pycache__/Epoch.cpython-312.pyc' './usr/lib/python3/site-packages/pymeeus/__pycache__/Interpolation.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pymeeus/__pycache__/Interpolation.cpython-312.pyc' './usr/lib/python3/site-packages/pymeeus/__pycache__/Jupiter.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pymeeus/__pycache__/Jupiter.cpython-312.pyc' './usr/lib/python3/site-packages/pymeeus/__pycache__/JupiterMoons.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pymeeus/__pycache__/JupiterMoons.cpython-312.pyc' './usr/lib/python3/site-packages/pymeeus/__pycache__/Mars.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pymeeus/__pycache__/Mars.cpython-312.pyc' './usr/lib/python3/site-packages/pymeeus/__pycache__/Mercury.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pymeeus/__pycache__/Mercury.cpython-312.pyc' './usr/lib/python3/site-packages/pymeeus/__pycache__/Minor.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pymeeus/__pycache__/Minor.cpython-312.pyc' './usr/lib/python3/site-packages/pymeeus/__pycache__/Moon.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pymeeus/__pycache__/Moon.cpython-312.pyc' './usr/lib/python3/site-packages/pymeeus/__pycache__/Neptune.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pymeeus/__pycache__/Neptune.cpython-312.pyc' './usr/lib/python3/site-packages/pymeeus/__pycache__/Pluto.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pymeeus/__pycache__/Pluto.cpython-312.pyc' './usr/lib/python3/site-packages/pymeeus/__pycache__/Saturn.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pymeeus/__pycache__/Saturn.cpython-312.pyc' './usr/lib/python3/site-packages/pymeeus/__pycache__/Sun.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pymeeus/__pycache__/Sun.cpython-312.pyc' './usr/lib/python3/site-packages/pymeeus/__pycache__/Uranus.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pymeeus/__pycache__/Uranus.cpython-312.pyc' './usr/lib/python3/site-packages/pymeeus/__pycache__/Venus.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pymeeus/__pycache__/Venus.cpython-312.pyc' './usr/lib/python3/site-packages/pymeeus/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pymeeus/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/pymeeus/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pymeeus/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pymeeus/__pycache__/base.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pymeeus/__pycache__/base.cpython-312.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.89860 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd PyMeeus-0.5.12 + export PYTHONPATH=/usr/src/tmp/python3-module-pymeeus-buildroot//usr/lib/python3/site-packages + PYTHONPATH=/usr/src/tmp/python3-module-pymeeus-buildroot//usr/lib/python3/site-packages + py.test3 tests ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-8.2.2, pluggy-1.5.0 rootdir: /usr/src/RPM/BUILD/PyMeeus-0.5.12 plugins: cov-5.0.0 collected 251 items tests/test_angle.py ........................................ [ 15%] tests/test_coordinates.py ....................................... [ 31%] tests/test_curvefitting.py .FFFF [ 33%] tests/test_earth.py ................ [ 39%] tests/test_epoch.py ................................. [ 52%] tests/test_interpolation.py .FFF. [ 54%] tests/test_jupiter.py .......... [ 58%] tests/test_jupiterMoons.py ......... [ 62%] tests/test_mars.py .......... [ 66%] tests/test_mercury.py ............ [ 71%] tests/test_minor.py .. [ 72%] tests/test_moon.py .............. [ 77%] tests/test_neptune.py ...... [ 80%] tests/test_pluto.py .. [ 80%] tests/test_saturn.py .............. [ 86%] tests/test_sun.py ............ [ 91%] tests/test_uranus.py ........ [ 94%] tests/test_venus.py .............. [100%] =================================== FAILURES =================================== _____________________ test_curvefitting_correlation_coeff ______________________ def test_curvefitting_correlation_coeff(): """Tests the correlation_coeff() method of CurveFitting class""" > r = cf1.correlation_coeff() tests/test_curvefitting.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = CurveFitting([], []) def correlation_coeff(self): """This method returns the coefficient of correlation, as a float. :returns: Coefficient of correlation. :rtype: float >>> cf = CurveFitting([73.0, 38.0, 35.0, 42.0, 78.0, 68.0, 74.0, 42.0, ... 52.0, 54.0, 39.0, 61.0, 42.0, 49.0, 50.0, 62.0, ... 44.0, 39.0, 43.0, 54.0, 44.0, 37.0], ... [90.4, 125.3, 161.8, 143.4, 52.5, 50.8, 71.5, ... 152.8, 131.3, 98.5, 144.8, 78.1, 89.5, 63.9, ... 112.1, 82.0, 119.8, 161.2, 208.4, 111.6, 167.1, ... 162.1]) >>> r = cf.correlation_coeff() >>> print(round(r, 3)) -0.767 """ > n = self._N E AttributeError: 'CurveFitting' object has no attribute '_N' pymeeus/CurveFitting.py:324: AttributeError _______________________ test_curvefitting_linear_fitting _______________________ def test_curvefitting_linear_fitting(): """Tests the linear_fitting() method of CurveFitting class""" > a, b = cf1.linear_fitting() tests/test_curvefitting.py:103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = CurveFitting([], []) def linear_fitting(self): """This method returns a tuple with the 'a', 'b' coefficients of the linear equation *'y = a*x + b'* that best fits the table data, using the least squares approach. :returns: 'a', 'b' coefficients of best linear equation fit. :rtype: tuple :raises: ZeroDivisionError if input data leads to a division by zero >>> cf = CurveFitting([73.0, 38.0, 35.0, 42.0, 78.0, 68.0, 74.0, 42.0, ... 52.0, 54.0, 39.0, 61.0, 42.0, 49.0, 50.0, 62.0, ... 44.0, 39.0, 43.0, 54.0, 44.0, 37.0], ... [90.4, 125.3, 161.8, 143.4, 52.5, 50.8, 71.5, ... 152.8, 131.3, 98.5, 144.8, 78.1, 89.5, 63.9, ... 112.1, 82.0, 119.8, 161.2, 208.4, 111.6, 167.1, ... 162.1]) >>> a, b = cf.linear_fitting() >>> print("a = {}\tb = {}".format(round(a, 2), round(b, 2))) a = -2.49 b = 244.18 """ > n = self._N E AttributeError: 'CurveFitting' object has no attribute '_N' pymeeus/CurveFitting.py:354: AttributeError _____________________ test_curvefitting_quadratic_fitting ______________________ def test_curvefitting_quadratic_fitting(): """Tests the quadratic_fitting() method of CurveFitting class""" > a, b, c = cf3.quadratic_fitting() tests/test_curvefitting.py:121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = CurveFitting([], []) def quadratic_fitting(self): """This method returns a tuple with the 'a', 'b', 'c' coefficients of the quadratic equation *'y = a*x*x + b*x + c'* that best fits the table data, using the least squares approach. :returns: 'a', 'b', 'c' coefficients of best quadratic equation fit. :rtype: tuple :raises: ZeroDivisionError if input data leads to a division by zero >>> cf2 = CurveFitting([-2.0, -1.5, -1.0, -0.5, 0.0, 0.5, 1.0, 1.5, ... 2.0, 2.5,3.0], ... [-9.372, -3.821, 0.291, 3.730, 5.822, 8.324, ... 9.083, 6.957, 7.006, 0.365, -1.722]) >>> a, b, c = cf2.quadratic_fitting() >>> print("a = {}; b = {}; c = {}".format(round(a, 2), round(b, 2), ... round(c, 2))) a = -2.22; b = 3.76; c = 6.64 """ > n = self._N E AttributeError: 'CurveFitting' object has no attribute '_N' pymeeus/CurveFitting.py:387: AttributeError ______________________ test_curvefitting_general_fitting _______________________ def test_curvefitting_general_fitting(): """Tests the general_fitting() method of CurveFitting class""" # Let's define the three functions to be used for fitting def sin1(x): return sin(radians(x)) def sin2(x): return sin(radians(2.0*x)) def sin3(x): return sin(radians(3.0*x)) > a, b, c = cf4.general_fitting(sin1, sin2, sin3) tests/test_curvefitting.py:145: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = CurveFitting([], []) f0 = .sin1 at 0x7ff2c636d6c0> f1 = .sin2 at 0x7ff2c636cea0> f2 = .sin3 at 0x7ff2c636cf40> def general_fitting(self, f0, f1=lambda *args: 0.0, f2=lambda *args: 0.0): """This method returns a tuple with the 'a', 'b', 'c' coefficients of the general equation *'y = a*f0(x) + b*f1(x) + c*f2(x)'* that best fits the table data, using the least squares approach. :param f0, f1, f2: Functions used to build the general equation. :type f0, f1, f2: function :returns: 'a', 'b', 'c' coefficients of best general equation fit. :rtype: tuple :raises: ZeroDivisionError if input functions are null or input data leads to a division by zero >>> cf4 = CurveFitting([3, 20, 34, 50, 75, 88, 111, 129, 143, 160, 183, ... 200, 218, 230, 248, 269, 290, 303, 320, 344], ... [0.0433, 0.2532, 0.3386, 0.3560, 0.4983, 0.7577, ... 1.4585, 1.8628, 1.8264, 1.2431, -0.2043, ... -1.2431, -1.8422, -1.8726, -1.4889, -0.8372, ... -0.4377, -0.3640, -0.3508, -0.2126]) >>> def sin1(x): return sin(radians(x)) >>> def sin2(x): return sin(radians(2.0*x)) >>> def sin3(x): return sin(radians(3.0*x)) >>> a, b, c = cf4.general_fitting(sin1, sin2, sin3) >>> print("a = {}; b = {}; c = {}".format(round(a, 2), round(b, 2), ... round(c, 2))) a = 1.2; b = -0.77; c = 0.39 >>> cf5 = CurveFitting([0, 1.2, 1.4, 1.7, 2.1, 2.2]) >>> a, b, c = cf5.general_fitting(sqrt) >>> print("a = {}; b = {}; c = {}".format(round(a, 3), round(b, 3), ... round(c, 3))) a = 1.016; b = 0.0; c = 0.0 """ m = 0 p = 0 q = 0 r = 0 s = 0 t = 0 u = 0 v = 0 w = 0 xl = list(self._x) yl = list(self._y) for i, value in enumerate(xl): x = value y = yl[i] m += f0(x) * f0(x) p += f0(x) * f1(x) q += f0(x) * f2(x) r += f1(x) * f1(x) s += f1(x) * f2(x) t += f2(x) * f2(x) u += y * f0(x) v += y * f1(x) w += y * f2(x) if abs(r) < TOL and abs(t) < TOL and abs(m) >= TOL: return (u / m, 0.0, 0.0) if abs(m * r * t) < TOL: > raise ZeroDivisionError("Invalid input functions: They are null") E ZeroDivisionError: Invalid input functions: They are null pymeeus/CurveFitting.py:470: ZeroDivisionError ___________________________ test_interpolation_call ____________________________ def test_interpolation_call(): """Tests the __call__() method of Interpolation class""" m = Interpolation([-1.0, 0.0, 1.0], [-2.0, 3.0, 2.0]) assert abs(m(-0.8) - (-0.52)) < TOL, \ "ERROR: In 1st __call__() test, output value doesn't match" assert abs(m(0.7) - 2.93) < TOL, \ "ERROR: In 2nd __call__() test, output value doesn't match" assert abs(m(-1.0) - (-2.0)) < TOL, \ "ERROR: In 3rd __call__() test, output value doesn't match" m = Interpolation([-3.0, 0.0, 2.5], [12.0, -3.0, -1.75]) assert abs(m(-2.0) - 5.0) < TOL, \ "ERROR: In 4th __call__() test, output value doesn't match" assert abs(m(2.5) - (-1.75)) < TOL, \ "ERROR: In 5th __call__() test, output value doesn't match" # This interpolation test uses Right Ascension > a = Angle(i_ra(11.0)) tests/test_interpolation.py:121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Interpolation([], []), x = 11.0 def __call__(self, x): """Method to interpolate the function at a given 'x'. :param x: Point where the interpolation will be carried out. :type x: int, float, :py:class:`Angle` :returns: Resulting value of the interpolation. :rtype: float :raises: ValueError if input value is outside of interpolation range. :raises: TypeError if input value is of wrong type. >>> i = Interpolation([7, 8, 9], [0.884226, 0.877366, 0.870531]) >>> y = round(i(8.18125), 6) >>> print(y) 0.876125 """ # Check if input value is of correct type if isinstance(x, (int, float, Angle)): # Check if 'x' already belongs to the data table for i in range(len(self._x)): if abs(x - self._x[i]) < self._tol: return self._y[i] # We don't need to look further # Check if Newton coefficients table is not empty if len(self._table) == 0: > raise RuntimeError("Internal table is empty. Use set().") E RuntimeError: Internal table is empty. Use set(). pymeeus/Interpolation.py:407: RuntimeError ________________________ test_interpolation_derivative _________________________ def test_interpolation_derivative(): """Tests the derivative() method of Interpolation class""" m = Interpolation([-1.0, 0.0, 1.0], [-2.0, 3.0, 2.0]) assert abs(m.derivative(-1.0) - 8.0) < TOL, \ "ERROR: In 1st derivative() test, output value doesn't match" assert abs(m.derivative(0.0) - 2.0) < TOL, \ "ERROR: In 2nd derivative() test, output value doesn't match" assert abs(m.derivative(0.5) - (-1.0)) < TOL, \ "ERROR: In 3rd derivative() test, output value doesn't match" m = Interpolation([-3.0, 0.0, 2.5], [12.0, -3.0, -1.75]) assert abs(m.derivative(-3.0) - (-8.0)) < TOL, \ "ERROR: In 4th derivative() test, output value doesn't match" assert abs(m.derivative(0.0) - (-2.0)) < TOL, \ "ERROR: In 5th derivative() test, output value doesn't match" assert abs(m.derivative(2.5) - 3.0) < TOL, \ "ERROR: In 6th derivative() test, output value doesn't match" # Do test with an interpolation object with 6 table entries, based on sine # We need to adjust the result because degrees were used instead of radians > res = degrees(i_sine.derivative(30.0)) tests/test_interpolation.py:161: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Interpolation([], []), x = 30.0 def derivative(self, x): """Method to compute the derivative from interpolation polynomial. :param x: Point where the interpolation derivative will be carried out. :type x: int, float, :py:class:`Angle` :returns: Resulting value of the interpolation derivative. :rtype: float :raises: ValueError if input value is outside of interpolation range. :raises: TypeError if input value is of wrong type. >>> m = Interpolation([-1.0, 0.0, 1.0], [-2.0, 3.0, 2.0]) >>> m.derivative(-1.0) 8.0 >>> m.derivative(0.5) -1.0 """ # Check if input value is of correct type if isinstance(x, (int, float, Angle)): # Check that x is within interpolation table values > if x < self._x[0] or x > self._x[-1]: E IndexError: list index out of range pymeeus/Interpolation.py:441: IndexError ___________________________ test_interpolation_root ____________________________ def test_interpolation_root(): """Tests the root() method of Interpolation class""" m = Interpolation([-1.0, 0.0, 1.0], [-2.0, 3.0, 2.0]) assert abs(m.root() - (-0.7207592200561265)) < TOL, \ "ERROR: In 1st root() test, output value doesn't match" m = Interpolation([-3.0, 0.0, 2.5], [12.0, -3.0, -1.75]) assert abs(m.root(-2.0, 0.0) - (-1.0)) < TOL, \ "ERROR: In 2nd root() test, output value doesn't match" assert abs(m.root() - (-1.0)) < TOL, \ "ERROR: In 3rd root() test, output value doesn't match" m = Interpolation([-3.0, 0.0, 2.5, 3.5], [12.0, -3.0, -1.75, 2.25]) assert abs(m.root(0.0, 3.15) - 3.0) < TOL, \ "ERROR: In 4th root() test, output value doesn't match" # Let's do some tests with Angles > assert abs(i_angles1.root() - 26.798732705) < TOL, \ "ERROR: In 5th root() test, output value doesn't match" tests/test_interpolation.py:188: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Interpolation([], []), xl = 0, xh = 0, max_iter = 1000 def root(self, xl=0, xh=0, max_iter=1000): """Method to find the root inside the [xl, xh] range. This method applies, in principle, the Newton method to find the root; however, if conditions are such that Newton method may not bei properly behaving or converging, then it switches to the linear Interpolation method. If values xl, xh are not given, the limits of the interpolation table values will be used. .. note:: This method returns a ValueError exception if the corresponding yl = f(xl) and yh = f(xh) values have the same sign. In that case, the method assumes there is no root in the [xl, xh] interval. .. note:: If any of the xl, xh values is beyond the limits given by the interpolation values, its value will be set to the corresponding limit. .. note:: If xl == xh (and not zero), a ValueError exception is raised. .. note:: If the method doesn't converge within max_iter ierations, then a ValueError exception is raised. :param xl: Lower limit of interval where the root will be looked for. :type xl: int, float, :py:class:`Angle` :param xh: Higher limit of interval where the root will be looked for. :type xh: int, float, :py:class:`Angle` :param max_iter: Maximum number of iterations allowed. :type max_iter: int :returns: Root of the interpolated function within [xl, xh] interval. :rtype: int, float, :py:class:`Angle` :raises: ValueError if yl = f(xl), yh = f(xh) have same sign. :raises: ValueError if xl == xh. :raises: ValueError if maximum number of iterations is exceeded. :raises: TypeError if input value is of wrong type. >>> m = Interpolation([-1.0, 0.0, 1.0], [-2.0, 3.0, 2.0]) >>> round(m.root(), 8) -0.72075922 """ # Get the limits of the interpolation table > xmin = self._x[0] E IndexError: list index out of range pymeeus/Interpolation.py:506: IndexError =============================== warnings summary =============================== tests/test_epoch.py::test_epoch_constructor tests/test_epoch.py::test_epoch_constructor tests/test_epoch.py::test_epoch_constructor tests/test_epoch.py::test_epoch_constructor /usr/src/RPM/BUILD/PyMeeus-0.5.12/pymeeus/Epoch.py:987: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). utchour = datetime.datetime.utcnow().hour tests/test_epoch.py::test_epoch_constructor tests/test_epoch.py::test_epoch_constructor tests/test_epoch.py::test_epoch_constructor tests/test_epoch.py::test_epoch_constructor /usr/src/RPM/BUILD/PyMeeus-0.5.12/pymeeus/Epoch.py:989: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). utcminute = datetime.datetime.utcnow().minute -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_curvefitting.py::test_curvefitting_correlation_coeff - Attr... FAILED tests/test_curvefitting.py::test_curvefitting_linear_fitting - Attribu... FAILED tests/test_curvefitting.py::test_curvefitting_quadratic_fitting - Attr... FAILED tests/test_curvefitting.py::test_curvefitting_general_fitting - ZeroDi... FAILED tests/test_interpolation.py::test_interpolation_call - RuntimeError: I... FAILED tests/test_interpolation.py::test_interpolation_derivative - IndexErro... FAILED tests/test_interpolation.py::test_interpolation_root - IndexError: lis... ================== 7 failed, 244 passed, 8 warnings in 1.18s =================== error: Bad exit status from /usr/src/tmp/rpm-tmp.89860 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.89860 (%check) Command exited with non-zero status 1 3.10user 0.65system 0:03.67elapsed 102%CPU (0avgtext+0avgdata 72164maxresident)k 0inputs+0outputs (0major+165356minor)pagefaults 0swaps hsh-rebuild: rebuild of `python3-module-pymeeus-0.5.12-alt1.src.rpm' failed. Command exited with non-zero status 1 5.20user 2.81system 0:16.78elapsed 47%CPU (0avgtext+0avgdata 133360maxresident)k 0inputs+0outputs (0major+314560minor)pagefaults 0swaps