guix_mirror_bot pushed a commit to branch astro-update
in repository guix.
commit c123ae97348d0ba55676c3e121507d046135edf4
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Mar 15 20:39:41 2026 +0000
gnu: Remove python-poliastro.
* gnu/packages/astronomy.scm (python-poliastro): Delete variable.
Fixes: guix/guix#6387
Change-Id: I2380f793aca8bb1b19b6803e75849e1ab76eebb5
---
gnu/packages/astronomy.scm | 90 ----------------------------------------------
1 file changed, 90 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 30bbd82f1d..e571798f14 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -7267,96 +7267,6 @@ binned galaxy positions or shear) in cylindrical
projection, but its core
functionality is more general.")
(license license:bsd-3)))
-;; XXX: The project is archived, maintained fork is available see
-;; <https://github.com/poliastro/poliastro/issues/1640>.
-;; Maintained fork <https://github.com/pleiszenburg/hapsira>.
-(define-public python-poliastro
- (package
- (name "python-poliastro")
- (version "0.17.0")
- (source
- (origin
- ;; PyPi tarball lacks tests.
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/poliastro/poliastro")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1iclyjp0cvm6hp5qf4fzklszxvhj3idkxgb6a9h7xzg9bf5j5gi2"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- #:test-flags
- #~(list "-m" "not remote_data"
- ;; TODO: Review failing tests later when any upstream
- ;; suggestions are provided:
- ;; https://github.com/poliastro/poliastro/issues/1618
- "--ignore=tests/test_czml.py"
- "-k" (string-append
- ;; This fails with "ufunc 'isfinite' not
- ;; supported for the input types"
- "not test_porkchop_plotting"
- " and not
test_maneuver_constructor_raises_error_if_invalid_delta_v"))
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'relax-requirements
- (lambda _
- (substitute* "pyproject.toml"
- (("5.0,<6") "5.0,<7"))))
- (add-after 'unpack 'matplotlib-compatibility
- (lambda _
- (substitute* "src/poliastro/plotting/static.py"
- (("import numpy as np.*" m)
- (string-append m "\
-import itertools\n"))
- (("( +)self._ax = ax.*" m indent)
- (string-append m indent
- "\
-self.colors =
itertools.cycle(plt.rcParams[\"axes.prop_cycle\"].by_key()[\"color\"])\n"))
- (("color =
next\\(self._ax._get_lines.prop_cycler\\)\\[\"color\"\\]")
- "color = next(self.colors)"))))
- ;; NOTE: Tests take about 7-10 minutes to pass.
- (add-before 'check 'prepare-test-environment
- (lambda _
- (setenv "HOME" "/tmp"))))))
- (native-inputs
- (list python-coverage
- python-hypothesis
- python-mypy
- python-flit-core
- python-pytest
- python-pytest-cov
- python-pytest-doctestplus
- python-pytest-mpl
- python-pytest-mypy))
- (propagated-inputs
- (list python-astropy-6
- python-astroquery
- python-czml3
- python-jplephem
- python-matplotlib
- python-numba
- python-numpy
- python-pandas
- python-plotly
- python-pyerfa
- python-scipy))
- (home-page "https://www.poliastro.space/")
- (synopsis "Astrodynamics in Python")
- (description
- "POLIASTRO is a Python library for interactive Astrodynamics and Orbital
-Mechanics, with a focus on ease of use, speed, and quick visualization. It
-provides a simple and intuitive API, and handles physical quantities with
-units.
-
-Some features include orbit propagation, solution of the Lambert's problem,
-conversion between position and velocity vectors and classical orbital
-elements and orbit plotting, among others. It focuses on interplanetary
-applications, but can also be used to analyze artificial satellites in
-Low-Earth Orbit (LEO).")
- (license license:expat)))
-
(define-public python-poppy
(package
(name "python-poppy")