Skip to content

Commit 085771e

Browse files
authored
v0.15.5 (#136)
* support ibis 10 * fix designation join * lock * ibis
1 parent d6e4f33 commit 085771e

File tree

6 files changed

+15
-12
lines changed

6 files changed

+15
-12
lines changed

docs/changelog.md

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
- [**v0.15.4**]
1414
- Fixes constellation lines for Mensa
1515
- Optimizes star catalog loading
16+
- [**v0.15.5**]
17+
- Fixes compatibility with Ibis 10.x
18+
- Fixes bug with getting star names and designations
1619

1720
## v0.14.x
1821
[Documentation](https://archives.starplot.dev/0.14.0/)

hash_checks/hashlock.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
horizon_base:
2-
dhash: 2f83990dc60b44702e83890d461b44700383dd0d861b4460
2+
dhash: 2f83990dc60b44702e83890d461b44700383cd0d861b4460
33
filename: /starplot/hash_checks/data/horizon-base.png
44
phash: e3b81ced14b63386
55
horizon_north_celestial_pole:
66
dhash: 30aa6ad0c2728c54212a6850c272a45431aa48c8c262ac54
77
filename: /starplot/hash_checks/data/horizon-north-celestial-pole.png
88
phash: d59a38c94ad20be7
99
map_coma_berenices_dso_size:
10-
dhash: aa84acecc288c0c0a2848ceca288c6c08a8a92a2aa82c282
10+
dhash: aa84acecc888c0c0a2848ceca888c6c08a8a92a2a882c282
1111
filename: /starplot/hash_checks/data/map-coma-berenices-dso-size.png
1212
phash: 969669696f961269
1313
map_custom_stars:
@@ -35,11 +35,11 @@ map_moon_phase_waxing_crescent:
3535
filename: /starplot/hash_checks/data/map-moon-phase-waxing-crescent.png
3636
phash: b3cccc3333cccc31
3737
map_orion_base:
38-
dhash: 18393b5e3e2f65681d393b5e2e2d65681c392bce2e2f6468
38+
dhash: 18393b5e3e2f656819393b5e2e2d65681c392bce2e2f6468
3939
filename: /starplot/hash_checks/data/map-orion-base.png
40-
phash: be795a649584b594
40+
phash: bf795a649504b594
4141
map_orion_extra:
42-
dhash: 193b3b7f3b656d17193b3b7f2b656d0f1c3b0b4e2b256c0f
42+
dhash: 193b1b7f3b656d17193b1b7f2b656d0f1c3b0b4e2b256c0f
4343
filename: /starplot/hash_checks/data/map-orion-extra.png
4444
phash: be71e01ee117e491
4545
map_plot_custom_clip_path_virgo:
@@ -55,7 +55,7 @@ map_scope_bino_fov:
5555
filename: /starplot/hash_checks/data/map-scope-bino-fov.png
5656
phash: e465997166649979
5757
map_stereo_base:
58-
dhash: 77766470353b5416777664f435185412777664f0b598d416
58+
dhash: 77766470353b5412777664f435185416777664f0b598d412
5959
filename: /starplot/hash_checks/data/map-stereo-north-base.png
6060
phash: 9dce6961c291f23a
6161
map_with_planets:

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies = [
3232
"rtree >= 1.2.0",
3333
"requests >= 2.31.0",
3434
"duckdb ~= 1.1.3",
35-
"ibis-framework[duckdb,geospatial] ~= 9.5.0",
35+
"ibis-framework[duckdb,geospatial] < 11",
3636
]
3737

3838
[project.urls]

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ pyogrio==0.10.0
1313
rtree==1.3.0
1414
requests==2.31.0
1515
duckdb==1.1.3
16-
ibis-framework[duckdb,geospatial]==9.5.0
16+
ibis-framework[duckdb,geospatial]==10.0.0

src/starplot/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Star charts and maps of the sky"""
22

3-
__version__ = "0.15.4"
3+
__version__ = "0.15.5"
44

55
from .base import BasePlot # noqa: F401
66
from .map import MapPlot, Projection # noqa: F401

src/starplot/data/stars.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -463,10 +463,10 @@ def read_catalog(catalog: StarCatalog = StarCatalog.BIG_SKY_MAG11, table_name="s
463463
con = db.connect()
464464

465465
if catalog == StarCatalog.BIG_SKY_MAG11:
466-
stars = con.read_parquet(DataFiles.BIG_SKY_MAG11, table_name)
466+
stars = con.read_parquet(DataFiles.BIG_SKY_MAG11, table_name=table_name)
467467
elif catalog == StarCatalog.BIG_SKY:
468468
bigsky.download_if_not_exists()
469-
stars = con.read_parquet(DataFiles.BIG_SKY, table_name)
469+
stars = con.read_parquet(DataFiles.BIG_SKY, table_name=table_name)
470470
else:
471471
raise ValueError("Unrecognized star catalog.")
472472

@@ -487,7 +487,7 @@ def read_catalog(catalog: StarCatalog = StarCatalog.BIG_SKY_MAG11, table_name="s
487487
designations,
488488
[
489489
stars.hip == designations.hip,
490-
(stars.ccdm == "A") | (stars.ccdm == "") | (stars.ccdm.isnull()),
490+
(stars.ccdm.startswith("A")) | (stars.ccdm == "") | (stars.ccdm.isnull()),
491491
],
492492
how="left",
493493
)

0 commit comments

Comments
 (0)