From 1b4c4991274503663ace52c02fd46a19bef6b718 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Thu, 19 Mar 2020 20:04:13 +0100 Subject: [PATCH 1/2] fix: remove Mercury and Venus opposition --- kosmorrolib/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kosmorrolib/events.py b/kosmorrolib/events.py index 41e0e2d..4fd5ab3 100644 --- a/kosmorrolib/events.py +++ b/kosmorrolib/events.py @@ -80,7 +80,7 @@ def _search_oppositions(start_time: Time, end_time: Time) -> [Event]: events = [] for aster in ASTERS: - if not isinstance(aster, Planet) or aster.name in ['Mercury', 'Venus']: + if not isinstance(aster, Planet) or aster.skyfield_name in ['MERCURY', 'VENUS']: continue times, _ = find_discrete(start_time, end_time, is_oppositing) From 2fb3a2c8281c9f141cf87552a14f2137607ec446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Thu, 19 Mar 2020 20:13:58 +0100 Subject: [PATCH 2/2] build: bump version 0.6.2 --- CHANGELOG.md | 9 +++++++++ kosmorrolib/locales/messages.pot | 4 ++-- kosmorrolib/version.py | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cdec36b..ada2236 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# [v0.6.2](https://github.com/Deuchnord/kosmorro/compare/v0.6.1...v0.6.2) (2020-03-19) + + +### Bug Fixes + +* remove Mercury and Venus opposition ([1b4c499](https://github.com/Deuchnord/kosmorro/commit/1b4c4991274503663ace52c02fd46a19bef6b718)) + + + # [v0.6.1](https://github.com/Deuchnord/kosmorro/compare/v0.6.0...v0.6.1) (2020-03-08) diff --git a/kosmorrolib/locales/messages.pot b/kosmorrolib/locales/messages.pot index 1191943..b1dd940 100644 --- a/kosmorrolib/locales/messages.pot +++ b/kosmorrolib/locales/messages.pot @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: kosmorro 0.6.1\n" +"Project-Id-Version: kosmorro 0.6.2\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2020-03-08 10:46+0100\n" +"POT-Creation-Date: 2020-03-19 20:13+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/kosmorrolib/version.py b/kosmorrolib/version.py index 85ed0b3..960427f 100644 --- a/kosmorrolib/version.py +++ b/kosmorrolib/version.py @@ -16,4 +16,4 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -VERSION = '0.6.1' +VERSION = '0.6.2'