Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-skyfield for openSUSE:Factory
checked in at 2021-04-18 21:45:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-skyfield (Old)
and /work/SRC/openSUSE:Factory/.python-skyfield.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-skyfield"
Sun Apr 18 21:45:31 2021 rev:12 rq:886492 version:1.39
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-skyfield/python-skyfield.changes
2021-03-02 12:45:37.588364324 +0100
+++
/work/SRC/openSUSE:Factory/.python-skyfield.new.12324/python-skyfield.changes
2021-04-18 21:45:50.364795811 +0200
@@ -1,0 +2,56 @@
+Sun Apr 18 17:20:33 UTC 2021 - Ben Greiner <[email protected]>
+
+- Update to 1.39
+ * The Angle.dstr() and Angle.hstr() methods now accept a
+ format= argument that lets callers override Skyfield???s default
+ angle formatting and supply their own; see Formatting angles.
+ #513
+ * The prototype planetary_magnitude() function now works not
+ only when given a single position, but when given a vector of
+ several positions.
+- Release 1.38
+ * Replaced the old historic ???T table from the United States
+ Naval Observatory with up-to-date splines from the 2020 release
+ of the extensive research by Morrison, Stephenson, Hohenkerk,
+ and Zawilski and also adjusted the slope of Skyfield???s
+ near-future ???T estimates to make the slope of ???T much less
+ abrupt over the coming century.
+ * Added a full reference frame object for the TEME reference
+ frame used by SGP4 Earth satellite elements.
+- Release 1.37
+ * Added a frame_latlon_and_rates() method that can compute the
+ rates at which angles like altitude and azimuth, or right
+ ascension and declination, are changing.
+ * Accepted a contributor???s helpful fix for a rounding error that
+ had slightly shifted a few constellation boundaries. #548
+ * The Time tuple utc and method utc_strftime() are now backed by
+ the same math, so they always advance to the next calendar day
+ at the same moment. This makes it safe to mix values returned
+ by one of them with values returned by the other. #542
+ * Vector subtraction now returns the position subclass specific
+ to the resulting vector???s center. #549
+- Release 1.36
+ * Tweaked several lines of code that build NumPy arrays to avoid
+ a new deprecation warning Creating an ndarray from ragged
+ nested sequences (which is a list-or-tuple of
+ lists-or-tuples-or ndarrays with different lengths or shapes)
+ is deprecated. NumPy no longer wants to accept a simple
+ constant like 0.0 where the resulting array needs a whole row
+ of zeros. #536
+ * Added an hadec() position method that returns hour angle and
+ declination. #510
+ * The default str() and repr() strings for geographic positions
+ have been streamlined, and no longer raise ValueError when
+ elevation is an array. They now show simple decimals instead
+ of splitting degrees of longitude and latitude into minutes
+ and seconds; always show elevation, even if zero; properly
+ format NumPy arrays; and abbreviate long arrays. #524
+ * Fixed Angle.dstr() and Angle.hstr() to return an array of
+ strings when the angle itself is an array. #527
+- refressh finals2000A.all
+- new assay version
+- new Table-S15.2020.txt
+- allow some float error for all platforms
+ gh#skyfielders/python-skyfield#582
+
+-------------------------------------------------------------------
Old:
----
assay-master-256.23c18c2.tar.gz
skyfield-1.35.tar.gz
New:
----
Table-S15.2020.txt
assay-master-259.d61a16e.tar.gz
skyfield-1.39.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-skyfield.spec ++++++
--- /var/tmp/diff_new_pack.z6uAPd/_old 2021-04-18 21:45:51.304797400 +0200
+++ /var/tmp/diff_new_pack.z6uAPd/_new 2021-04-18 21:45:51.308797408 +0200
@@ -17,13 +17,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define assaycommit 23c18c2457c035996057144e1fe74cd6e19b44eb
-%define assayver 256.23c18c2
+%define assaycommit d61a16e060c50f9c1a97df84ad9960825031915e
+%define assayver 259.d61a16e
%define skip_python2 1
# current astropy in TW requires python >= 3.7
%define skip_python36 1
Name: python-skyfield
-Version: 1.35
+Version: 1.39
Release: 0
Summary: Elegant astronomy for Python
License: MIT
@@ -38,6 +38,8 @@
# use generate-hipparcos.sh to download and truncate the test data
Source6: hip_main.dat.gz
Source7: https://datacenter.iers.org/data/9/finals2000A.all
+# Original with invalid https certificate or http url:
http://astro.ukho.gov.uk/nao/lvm/Table-S15.2020.txt
+Source8:
https://raw.githubusercontent.com/skyfielders/python-skyfield/master/Table-S15.2020.txt
Source97: generate-hipparcos.sh
# upstreams custom test runner assay: gh#skyfielders/python-skyfield#405
Source98:
https://github.com/brandon-rhodes/assay/archive/%{assaycommit}.tar.gz#/assay-master-%{assayver}.tar.gz
@@ -76,7 +78,10 @@
%prep
%setup -q -n skyfield-%{version} -b 98
# copy all test data files into the rootdir from where the tests are run
-cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6}
%{SOURCE7} ./
+cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6}
%{SOURCE7} %{SOURCE8} ./
+
+# allow some float error for all platforms --
gh#skyfielders/python-skyfield#582
+sed -i 's/if IS_32_BIT/if True/' skyfield/tests/test_planetarylib.py
%build
%python_build
++++++ Table-S15.2020.txt ++++++
-+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table S15: The Polynomial Coefficients for DT -720.0 to 2019.0 v. 2020
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Row Years Polynomial Coefficients
i K_i K_{i+1} a_0 a_1 a_2 a_3
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 -720.0 -100.0 20371.848 -9999.586 776.247 409.160
2 -100.0 400.0 11557.668 -5822.270 1303.151 -503.433
3 400.0 1000.0 6535.116 -5671.519 -298.291 1085.087
4 1000.0 1150.0 1650.393 -753.210 184.811 -25.346
5 1150.0 1300.0 1056.647 -459.628 108.771 -24.641
6 1300.0 1500.0 681.149 -421.345 61.953 -29.414
7 1500.0 1600.0 292.343 -192.841 -6.572 16.197
8 1600.0 1650.0 109.127 -78.697 10.505 3.018
9 1650.0 1720.0 43.952 -68.089 38.333 -2.127
10 1720.0 1800.0 12.068 2.507 41.731 -37.939
11 1800.0 1810.0 18.367 -3.481 -1.126 1.918
12 1810.0 1820.0 15.678 0.021 4.629 -3.812
13 1820.0 1830.0 16.516 -2.157 -6.806 3.250
14 1830.0 1840.0 10.804 -6.018 2.944 -0.096
15 1840.0 1850.0 7.634 -0.416 2.658 -0.539
16 1850.0 1855.0 9.338 1.642 0.261 -0.883
17 1855.0 1860.0 10.357 -0.486 -2.389 1.558
18 1860.0 1865.0 9.040 -0.591 2.284 -2.477
19 1865.0 1870.0 8.255 -3.456 -5.148 2.720
20 1870.0 1875.0 2.371 -5.593 3.011 -0.914
21 1875.0 1880.0 -1.126 -2.314 0.269 -0.039
22 1880.0 1885.0 -3.210 -1.893 0.152 0.563
23 1885.0 1890.0 -4.388 0.101 1.842 -1.438
24 1890.0 1895.0 -3.884 -0.531 -2.474 1.871
25 1895.0 1900.0 -5.017 0.134 3.138 -0.232
26 1900.0 1905.0 -1.977 5.715 2.443 -1.257
27 1905.0 1910.0 4.923 6.828 -1.329 0.720
28 1910.0 1915.0 11.142 6.330 0.831 -0.825
29 1915.0 1920.0 17.479 5.518 -1.643 0.262
30 1920.0 1925.0 21.617 3.020 -0.856 0.008
31 1925.0 1930.0 23.789 1.333 -0.831 0.127
32 1930.0 1935.0 24.418 0.052 -0.449 0.142
33 1935.0 1940.0 24.164 -0.419 -0.022 0.702
34 1940.0 1945.0 24.426 1.645 2.086 -1.106
35 1945.0 1950.0 27.050 2.499 -1.232 0.614
36 1950.0 1953.0 28.932 1.127 0.220 -0.277
37 1953.0 1956.0 30.002 0.737 -0.610 0.631
38 1956.0 1959.0 30.760 1.409 1.282 -0.799
39 1959.0 1962.0 32.652 1.577 -1.115 0.507
40 1962.0 1965.0 33.621 0.868 0.406 0.199
41 1965.0 1968.0 35.093 2.275 1.002 -0.414
42 1968.0 1971.0 37.956 3.035 -0.242 0.202
43 1971.0 1974.0 40.951 3.157 0.364 -0.229
44 1974.0 1977.0 44.244 3.199 -0.323 0.172
45 1977.0 1980.0 47.291 3.069 0.193 -0.192
46 1980.0 1983.0 50.361 2.878 -0.384 0.081
47 1983.0 1986.0 52.936 2.354 -0.140 -0.165
48 1986.0 1989.0 54.984 1.577 -0.637 0.448
49 1989.0 1992.0 56.373 1.648 0.708 -0.276
50 1992.0 1995.0 58.453 2.235 -0.121 0.110
51 1995.0 1998.0 60.678 2.324 0.210 -0.313
52 1998.0 2001.0 62.898 1.804 -0.729 0.109
53 2001.0 2004.0 64.083 0.674 -0.402 0.199
54 2004.0 2007.0 64.553 0.466 0.194 -0.017
55 2007.0 2010.0 65.197 0.804 0.144 -0.084
56 2010.0 2013.0 66.061 0.839 -0.109 0.128
57 2013.0 2016.0 66.920 1.007 0.277 -0.095
58 2016.0 2019.0 68.109 1.277 -0.007 -0.139
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The above table of polynomial coefficients enables evaluation of DT in
seconds (s) and its derivative (the length of day lod) in milliseconds
(ms) for any epoch between $-720$ and 2019. It is not valid outside the
specified range of years.
For the year and fraction Y, extract the coefficients a_0, a_1, a_2,
a_3 from row i, where K_i <= Y <= K_{i+1} and form
t = (Y - K_i)/(K_{i+1} - K_i), where 0 <= t < 1, and
thus calculate
DT = a_0 + a_1 t + a_2 t^2 + a_3 t^3 seconds
lod = (a_1 + 2 a_2 t + 3 a_3 t^2) / (K_{i+1}-K_i) / 0.36525 ms
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
These coefficients reproduce the spline approximation discussed by
L.V. Morrison, F.R. Stephenson, C.Y. Hohenkerk and M. Zawilski, in
their latest paper entitled ``Addendum 2020 to `Measurement of the
Earth's Rotation: 720 BC to AD 2015'' published in the Royal Society
Proceedings A, 478, 2021, see https://doi.org/10.1098/rspa.2020.0776.
Details of the original analysis is published in Royal Society
Proceedings A, 472, 2016, at https://doi.org/10.1098/rspa.2016.0404
All the data is also available from the website of HM Nautical Almanac
Office at http://astro.ukho.gov.uk/nao/lvm/.
-+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
++++++ assay-master-256.23c18c2.tar.gz -> assay-master-259.d61a16e.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/assay-23c18c2457c035996057144e1fe74cd6e19b44eb/.github/workflows/test.yml
new/assay-d61a16e060c50f9c1a97df84ad9960825031915e/.github/workflows/test.yml
---
old/assay-23c18c2457c035996057144e1fe74cd6e19b44eb/.github/workflows/test.yml
1970-01-01 01:00:00.000000000 +0100
+++
new/assay-d61a16e060c50f9c1a97df84ad9960825031915e/.github/workflows/test.yml
2021-04-13 15:57:54.000000000 +0200
@@ -0,0 +1,18 @@
+name: Test
+
+on: [push]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9]
+
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python-version }}
+ - run: python -m assay.tests -v
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/assay-23c18c2457c035996057144e1fe74cd6e19b44eb/.travis.yml
new/assay-d61a16e060c50f9c1a97df84ad9960825031915e/.travis.yml
--- old/assay-23c18c2457c035996057144e1fe74cd6e19b44eb/.travis.yml
2020-08-06 15:49:17.000000000 +0200
+++ new/assay-d61a16e060c50f9c1a97df84ad9960825031915e/.travis.yml
1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
-# Config file for automatic testing at travis-ci.org
-
-language: python
-
-python:
- - "2.7"
- - "3.5"
- - "3.6"
- - "3.7"
- - "3.8"
-
-script:
- - "python -m assay.tests"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/assay-23c18c2457c035996057144e1fe74cd6e19b44eb/assay/assertion.py
new/assay-d61a16e060c50f9c1a97df84ad9960825031915e/assay/assertion.py
--- old/assay-23c18c2457c035996057144e1fe74cd6e19b44eb/assay/assertion.py
2020-08-06 15:49:17.000000000 +0200
+++ new/assay-d61a16e060c50f9c1a97df84ad9960825031915e/assay/assertion.py
2021-04-13 15:57:54.000000000 +0200
@@ -78,7 +78,6 @@
op.load_const, b'%%', # stack: ... op1 op2 function
op.rot_three, # stack: ... function op1 op2
op.call_function, 2, 0, # stack: ... return_value
- op.nop, op.nop, op.nop, op.nop, op.nop, op.nop,
op.pop_top, # stack: ...
])
@@ -96,13 +95,13 @@
op.rot_three, # stack: ... function op1 op2
op.call_function, 2, 0, # stack: ... return_value
op.pop_top, # stack: ...
- op.nop, op.nop, op.nop, op.nop,
])
else:
assert_pattern_text = assemble_pattern([
op.compare_op, b'(.)',
+ b'(?:', op.extended_arg, b'.)?',
op.pop_jump_if_true, b'.',
op.load_global, b'(.)',
op.raise_varargs, 1,
@@ -130,6 +129,9 @@
code = replacement.replace(b'%%', chr(lsb) + chr(msb))
else:
code = replacement.replace(b'%%', chr(offset + ord(compare_op)))
+ short = len(match.group(0)) - len(code)
+ if short:
+ code += chr(op.nop) * short
return code
c = get_code(function)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/assay-23c18c2457c035996057144e1fe74cd6e19b44eb/assay/monitor.py
new/assay-d61a16e060c50f9c1a97df84ad9960825031915e/assay/monitor.py
--- old/assay-23c18c2457c035996057144e1fe74cd6e19b44eb/assay/monitor.py
2020-08-06 15:49:17.000000000 +0200
+++ new/assay-d61a16e060c50f9c1a97df84ad9960825031915e/assay/monitor.py
2021-04-13 15:57:54.000000000 +0200
@@ -29,7 +29,10 @@
def write(string):
"""Send `string` immediately to standard output, without buffering."""
- os.write(stdout_fd, string.encode('ascii'))
+ # TODO: Write a test which exercises this choice of encoding; this
+ # used to be "ascii" but raised an exception if the source had fancy
+ # characters.
+ os.write(stdout_fd, string.encode('utf-8'))
def main_loop(arguments, batch_mode):
"""Run and report on tests while also letting the user type commands."""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/assay-23c18c2457c035996057144e1fe74cd6e19b44eb/assay/samples.py
new/assay-d61a16e060c50f9c1a97df84ad9960825031915e/assay/samples.py
--- old/assay-23c18c2457c035996057144e1fe74cd6e19b44eb/assay/samples.py
2020-08-06 15:49:17.000000000 +0200
+++ new/assay-d61a16e060c50f9c1a97df84ad9960825031915e/assay/samples.py
2021-04-13 15:57:54.000000000 +0200
@@ -19,6 +19,12 @@
def test_assert2():
sub_assert2()
+def test_assert3():
+ f = int
+ n = f()+0+1+2+3+4+5+6+7+8+9+0+1+2+3+4+5+6+7+8+9+0+1+2+3+4+5+6+7+8+9
+ n += f()+0+1+2+3+4+5+6+7+8+9+0+1+2+3+4+5+6+7+8+9+0+1+2+3+4+5+6+7+8+9
+ assert n == 100
+
def test_assert_tab():
assert 1+1 == 3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/assay-23c18c2457c035996057144e1fe74cd6e19b44eb/assay/tests.py
new/assay-d61a16e060c50f9c1a97df84ad9960825031915e/assay/tests.py
--- old/assay-23c18c2457c035996057144e1fe74cd6e19b44eb/assay/tests.py
2020-08-06 15:49:17.000000000 +0200
+++ new/assay-d61a16e060c50f9c1a97df84ad9960825031915e/assay/tests.py
2021-04-13 15:57:54.000000000 +0200
@@ -148,7 +148,7 @@
def test_runner_on_good_module(self):
value = list(run_tests_of('assay.samples'))
- self.assertEqual(len(value), 24)
+ self.assertEqual(len(value), 25)
def test_runner_on_syntax_error(self):
with tempfile.NamedTemporaryFile(suffix='.py') as f:
@@ -250,6 +250,14 @@
]),
])
+ def test_assertion_in_long_function_that_uses_EXTENDED_ARG(self):
+ result = self.execute(samples.test_assert3)
+ self.assertEqual(result, [
+ ('E', 'AssertionError', '270 != 100', [
+ ('assay/samples.py', 4, 'test_assert3', 'assert n == 100'),
+ ]),
+ ])
+
def test_assert_with_tab(self):
result = self.execute(samples.test_assert_tab)
self.assertEqual(result, [
++++++ finals2000A.all ++++++
++++ 1727 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/python-skyfield/finals2000A.all
++++ and /work/SRC/openSUSE:Factory/.python-skyfield.new.12324/finals2000A.all
++++++ skyfield-1.35.tar.gz -> skyfield-1.39.tar.gz ++++++
++++ 5556 lines of diff (skipped)