From 27736ff2a024bc257854f4c0cafe2bcd20c342725e4e90ff92ed97fb97248da9 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sat, 26 Sep 2020 08:26:10 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=20version=201.29=20=20=20*=20Fi?= =?UTF-8?q?x:=20the=20new=20Julian=20calendar=20feature=20was=20raising=20?= =?UTF-8?q?an=20=20=20=20=20exception=20in=20the=20calendar=20methods=20li?= =?UTF-8?q?ke=20=20=20=20=20`skyfield.timelib.Time.tt=5Fcalendar()`=20if?= =?UTF-8?q?=20the=20time=20=20=20=20=20object=20was=20in=20fact=20an=20arr?= =?UTF-8?q?ay=20of=20times.=20#450=20=20=20*=20Fix:=20trying=20to=20iterat?= =?UTF-8?q?e=20over=20a=20time=20object=20would=20raise=20an=20=20=20=20?= =?UTF-8?q?=20exception=20if=20the=20time=20was=20created=20through=20=20?= =?UTF-8?q?=20=20=20`~skyfield.timelib.Timescale.ut1()`.=20-=20Version=201?= =?UTF-8?q?.28=20=20=20*=20Broken=20URL:=20Because=20the=20VizieR=20archiv?= =?UTF-8?q?e=20apparently=20decided=20=20=20=20=20to=20uncompress=20their?= =?UTF-8?q?=20copy=20of=20the=20hip=5Fmain.dat.gz=20Hipparcos=20=20=20=20?= =?UTF-8?q?=20catalog=20file,=20the=20old=20URL=20now=20returns=20a=20404?= =?UTF-8?q?=20error.=20As=20an=20=20=20=20=20emergency=20fix,=20this=20ver?= =?UTF-8?q?sion=20of=20Skyfield=20switches=20to=20their=20=20=20=20=20unco?= =?UTF-8?q?mpressed=20hip=5Fmain.dat.=20Hopefully=20they=20don=E2=80=99t?= =?UTF-8?q?=20compress=20=20=20=20=20it=20again=20and=20break=20the=20new?= =?UTF-8?q?=20URL!=20A=20more=20permanent=20solution=20=20=20=20=20is=20di?= =?UTF-8?q?scussed=20at:=20#454=20=20=20*=20To=20unblock=20this=20release,?= =?UTF-8?q?=20removed=20a=20few=20deprecated=20pre-1.0=20=20=20=20=20exper?= =?UTF-8?q?iments=20from=20April=202015=20in=20skyfield.hipparcos=20and=20?= =?UTF-8?q?=20=20=20=20skyfield.named=5Fstars=20that=20broke=20because=20t?= =?UTF-8?q?he=20Hipparcos=20=20=20=20=20catalog=20is=20no=20longer=20compr?= =?UTF-8?q?essed;=20hopefully=20no=20one=20was=20=20=20=20=20using=20them.?= =?UTF-8?q?=20=20=20*=20In=20a=20sweeping=20internal=20change,=20the=20=20?= =?UTF-8?q?=20=20=20`~skyfield.timelib.Timescale`=20and=20=20=20=20=20`~sk?= =?UTF-8?q?yfield.timelib.Time`=20objects=20now=20offer=20support=20=20=20?= =?UTF-8?q?=20=20for=20the=20Julian=20calendar=20that=E2=80=99s=20used=20b?= =?UTF-8?q?y=20historians=20for=20=20=20=20=20dates=20preceding=20the=20ad?= =?UTF-8?q?option=20of=20the=20Gregorian=20calendar=20in=20=20=20=20=20158?= =?UTF-8?q?2.=20See=20choice=20of=20calendars=20if=20you=20want=20to=20tur?= =?UTF-8?q?n=20on=20=20=20=20=20Julian=20dates=20in=20your=20application.?= =?UTF-8?q?=20#450?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-skyfield?expand=0&rev=24 --- python-skyfield.changes | 32 ++++++++++++++++++++++++++++++++ python-skyfield.spec | 2 +- skyfield-1.27.tar.gz | 3 --- skyfield-1.29.tar.gz | 3 +++ 4 files changed, 36 insertions(+), 4 deletions(-) delete mode 100644 skyfield-1.27.tar.gz create mode 100644 skyfield-1.29.tar.gz diff --git a/python-skyfield.changes b/python-skyfield.changes index 0e7ea66..b75bc9a 100644 --- a/python-skyfield.changes +++ b/python-skyfield.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Sat Sep 26 08:13:08 UTC 2020 - Benjamin Greiner + +- Update to version 1.29 + * Fix: the new Julian calendar feature was raising an + exception in the calendar methods like + `skyfield.timelib.Time.tt_calendar()` if the time + object was in fact an array of times. #450 + * Fix: trying to iterate over a time object would raise an + exception if the time was created through + `~skyfield.timelib.Timescale.ut1()`. +- Version 1.28 + * Broken URL: Because the VizieR archive apparently decided + to uncompress their copy of the hip_main.dat.gz Hipparcos + catalog file, the old URL now returns a 404 error. As an + emergency fix, this version of Skyfield switches to their + uncompressed hip_main.dat. Hopefully they don’t compress + it again and break the new URL! A more permanent solution + is discussed at: #454 + * To unblock this release, removed a few deprecated pre-1.0 + experiments from April 2015 in skyfield.hipparcos and + skyfield.named_stars that broke because the Hipparcos + catalog is no longer compressed; hopefully no one was + using them. + * In a sweeping internal change, the + `~skyfield.timelib.Timescale` and + `~skyfield.timelib.Time` objects now offer support + for the Julian calendar that’s used by historians for + dates preceding the adoption of the Gregorian calendar in + 1582. See choice of calendars if you want to turn on + Julian dates in your application. #450 + ------------------------------------------------------------------- Wed Sep 16 09:53:08 UTC 2020 - Benjamin Greiner diff --git a/python-skyfield.spec b/python-skyfield.spec index 4309dd4..3fc27f8 100644 --- a/python-skyfield.spec +++ b/python-skyfield.spec @@ -21,7 +21,7 @@ %define assayver 256.23c18c2 %define skip_python2 1 Name: python-skyfield -Version: 1.27 +Version: 1.29 Release: 0 Summary: Elegant astronomy for Python License: MIT diff --git a/skyfield-1.27.tar.gz b/skyfield-1.27.tar.gz deleted file mode 100644 index 161c289..0000000 --- a/skyfield-1.27.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0a1b01b4fd18cf6bfa555224ff2e3e357108282151fd132bd929d7f35da8c641 -size 293073 diff --git a/skyfield-1.29.tar.gz b/skyfield-1.29.tar.gz new file mode 100644 index 0000000..2129632 --- /dev/null +++ b/skyfield-1.29.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:80b67acb8b655305890d80005cd5e53986c459fb01521637e433df751d3bce86 +size 294015