Browse Source

Merge branch 'main' into features

undefined
Jérôme Deuchnord 1 year ago
parent
commit
23bc16f683
10 changed files with 26 additions and 13 deletions
  1. +1
    -1
      .github/workflows/black.yml
  2. +1
    -1
      .github/workflows/release.yml
  3. +1
    -1
      .github/workflows/semantic-pr.yml
  4. +3
    -3
      .github/workflows/tests.yml
  5. +14
    -0
      CHANGELOG.md
  6. +0
    -1
      Makefile
  7. +1
    -1
      README.md
  8. +1
    -1
      kosmorrolib/__version__.py
  9. +2
    -2
      kosmorrolib/ephemerides.py
  10. +2
    -2
      pyproject.toml

+ 1
- 1
.github/workflows/black.yml View File

@@ -13,7 +13,7 @@ jobs:
name: Code Style
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version: 3.9
- uses: psf/black@20.8b1

+ 1
- 1
.github/workflows/release.yml View File

@@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Setup environment


+ 1
- 1
.github/workflows/semantic-pr.yml View File

@@ -12,6 +12,6 @@ jobs:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v4
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

+ 3
- 3
.github/workflows/tests.yml View File

@@ -18,16 +18,16 @@ jobs:
- macos-11.0
- windows-latest
python_version:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- '3.11'

name: Doc tests (Python ${{ matrix.python_version }} on ${{ matrix.os }})
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
architecture: x64
@@ -62,7 +62,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Prepare Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: "3.x"



+ 14
- 0
CHANGELOG.md View File

@@ -1,3 +1,17 @@
# [Version 1.0.7](https://github.com/Kosmorro/lib/compare/v1.0.6...v1.0.7) (2022-11-11)


### Build System

* add support for Python 3.11 ([#58](https://github.com/Kosmorro/lib/issues/58)) ([807be7d](https://github.com/Kosmorro/lib/commit/807be7def324c1accdad6dc35738624589eb7b06))


### BREAKING CHANGES

* Python 3.7 is not supported anymore.



# [Version 1.0.6](https://github.com/Kosmorro/lib/compare/v1.0.5...v1.0.6) (2022-03-19)




+ 0
- 1
Makefile View File

@@ -16,4 +16,3 @@ doctests:
changelog:
conventional-changelog -p angular -i CHANGELOG.md -s
@echo -e "\e[32m✔\e[33m Changelog generated. Don't forget to update the version number before committing.\e[0m"
@echo -e " When everything is good, finish the release with 'make tag'."

+ 1
- 1
README.md View File

@@ -1,4 +1,4 @@
# Kosmorrolib - a library to compute your ephemerides!
# ![Kosmorrolib](https://raw.githubusercontent.com/Kosmorro/logos/main/kosmorrolib/kosmorrolib-artwork.jpg)

[![Coverage Status](https://coveralls.io/repos/github/Kosmorro/lib/badge.svg?branch=main)](https://coveralls.io/github/Kosmorro/lib?branch=main) [![Version on PyPI](https://img.shields.io/pypi/v/kosmorrolib)](https://pypi.org/project/kosmorrolib) [![IRC: #kosmorro on Libera.Chat](https://img.shields.io/badge/Libera.Chat-%23kosmorro-blueviolet)](https://web.libera.chat/?nick=Astronaut?#kosmorro)



+ 1
- 1
kosmorrolib/__version__.py View File

@@ -35,7 +35,7 @@ alert_deprecation(
__title__ = "kosmorrolib"
__description__ = "A library to compute your ephemerides"
__url__ = "http://kosmorro.space/lib"
__version__ = "1.0.6"
__version__ = "1.0.7"
__author__ = "Jérôme Deuchnord"
__author_email__ = "jerome@deuchnord.fr"
__license__ = "AGPL-v3"


+ 2
- 2
kosmorrolib/ephemerides.py View File

@@ -139,7 +139,7 @@ def get_ephemerides(
>>> get_ephemerides(Position(36.6794, 4.8555), date(2022, 7, 7))
[<AsterEphemerides rise_time=2022-07-07 04:29:00 culmination_time=2022-07-07 11:46:00 set_time=2022-07-07 19:02:00 aster=<Object type=STAR name=SUN />>,
<AsterEphemerides rise_time=2022-07-07 12:16:00 culmination_time=2022-07-07 18:06:00 set_time=2022-07-07 23:54:00 aster=<Object type=SATELLITE name=MOON />>,
<AsterEphemerides rise_time=2022-07-07 03:36:00 culmination_time=2022-07-07 10:58:00 set_time=2022-07-07 18:21:00 aster=<Object type=PLANET name=MERCURY />>,
<AsterEphemerides rise_time=2022-07-07 03:36:00 culmination_time=2022-07-07 10:58:00 set_time=2022-07-07 18:20:00 aster=<Object type=PLANET name=MERCURY />>,
<AsterEphemerides rise_time=2022-07-07 02:30:00 culmination_time=2022-07-07 09:44:00 set_time=2022-07-07 16:58:00 aster=<Object type=PLANET name=VENUS />>,
<AsterEphemerides rise_time=2022-07-07 00:05:00 culmination_time=2022-07-07 06:39:00 set_time=2022-07-07 13:14:00 aster=<Object type=PLANET name=MARS />>,
<AsterEphemerides rise_time=2022-07-07 22:59:00 culmination_time=2022-07-07 05:11:00 set_time=2022-07-07 11:20:00 aster=<Object type=PLANET name=JUPITER />>,
@@ -153,7 +153,7 @@ def get_ephemerides(
>>> get_ephemerides(Position(36.6794, 4.8555), date(2022, 7, 7), timezone=2)
[<AsterEphemerides rise_time=2022-07-07 06:29:00 culmination_time=2022-07-07 13:46:00 set_time=2022-07-07 21:02:00 aster=<Object type=STAR name=SUN />>,
<AsterEphemerides rise_time=2022-07-07 14:16:00 culmination_time=2022-07-07 20:06:00 set_time=2022-07-07 01:27:00 aster=<Object type=SATELLITE name=MOON />>,
<AsterEphemerides rise_time=2022-07-07 05:36:00 culmination_time=2022-07-07 12:58:00 set_time=2022-07-07 20:21:00 aster=<Object type=PLANET name=MERCURY />>,
<AsterEphemerides rise_time=2022-07-07 05:36:00 culmination_time=2022-07-07 12:58:00 set_time=2022-07-07 20:20:00 aster=<Object type=PLANET name=MERCURY />>,
<AsterEphemerides rise_time=2022-07-07 04:30:00 culmination_time=2022-07-07 11:44:00 set_time=2022-07-07 18:58:00 aster=<Object type=PLANET name=VENUS />>,
<AsterEphemerides rise_time=2022-07-07 02:05:00 culmination_time=2022-07-07 08:39:00 set_time=2022-07-07 15:14:00 aster=<Object type=PLANET name=MARS />>,
<AsterEphemerides rise_time=2022-07-07 01:02:00 culmination_time=2022-07-07 07:11:00 set_time=2022-07-07 13:20:00 aster=<Object type=PLANET name=JUPITER />>,


+ 2
- 2
pyproject.toml View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "kosmorrolib"
version = "1.0.6"
version = "1.0.7"
authors = ["Jérôme Deuchnord <jerome@deuchnord.fr>"]
homepage = "https://kosmorro.space/lib"
repository = "https://github.com/Kosmorro/lib"
@@ -19,7 +19,7 @@ classifiers = [
]

[tool.poetry.dependencies]
python = ">=3.7,<3.11"
python = ">=3.8,<3.12"
skyfield = "^1.21"
skyfield-data = ">=3,<5"
python-dateutil = "^2.8"


Loading…
Cancel
Save