File tree Expand file tree Collapse file tree 6 files changed +22
-14
lines changed
Expand file tree Collapse file tree 6 files changed +22
-14
lines changed Original file line number Diff line number Diff line change 11[bumpversion]
2- current_version = 0 .1.0
2+ current_version = 1 .1.0
33commit = False
44allow_dirty = True
55
Original file line number Diff line number Diff line change 11# Changelog
22Versions follow [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) (` <major> ` .` <minor> ` .` <patch> ` )
33
4- ## [ vNext ]
4+ ## [ v1.1.0 ]
55### Added
66* #3 Add optional screenshot UI target, enabled using the ` SHOW_SCREENSHOT_BUTTON ` config var
77* #3 Add aircraft information popup on icon touch
88* Add UI indicator to show when touch input is being blocked by a URL request
9+ * #12 Add ` USE_DEFAULT_MAP ` config var to control whether or not to attempt to obtain the map tile from Geoapify
10+
11+ ### Fixed
12+ * #12 Fix map tile being hardcoded to using the default vs. querying Geoapify
13+
14+ ### Changed
15+ * (Internal) Refactor initialization flow to attempt to preserve memory early on for high-usage tasks
916
1017## [ v1.0.0]
1118Initial release 🎉
Original file line number Diff line number Diff line change 88
99from skyportal .displaylib import SkyPortalUI
1010from skyportal .maplib import build_bounding_box
11- from skyportal .opensky import APIException , APITimeoutError , OpenSky
11+ from skyportal .networklib import APIException , APITimeoutError
12+ from skyportal .opensky import OpenSky
1213
1314try :
1415 from secrets import secrets
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " skyportal"
3- version = " 0 .1.0"
3+ version = " 1 .1.0"
44description = " A PyPortal based flight tracker"
55authors = [" sco1 <sco1.git@gmail.com>" ]
66
77readme = " README.md"
88homepage = " https://github.com/sco1/"
99repository = " https://github.com/sco1/skyportal"
1010classifiers = [
11- " Development Status :: 3 - Alpha " ,
11+ " Development Status :: 5 - Production/Stable " ,
1212 " Intended Audience :: Developers" ,
1313 " License :: OSI Approved :: MIT License" ,
1414 " Operating System :: Other OS" ,
Original file line number Diff line number Diff line change 55 pass
66
77
8+ class APITimeoutError (TimeoutError ): # noqa: D101
9+ pass
10+
11+
12+ class APIException (RuntimeError ): # noqa: D101
13+ pass
14+
15+
816def build_url (base : str , params : dict [str , t .Any ]) -> str :
917 """Build a url from the provided base & parameter(s)."""
1018 param_str = "&" .join (f"{ k } ={ v } " for k , v in params .items ())
Original file line number Diff line number Diff line change 55from circuitpython_base64 import b64encode
66
77from skyportal .aircraftlib import AircraftState
8- from skyportal .networklib import build_url
8+ from skyportal .networklib import APIException , APITimeoutError , build_url
99
1010# CircuitPython doesn't have the typing module, so throw this away at runtime
1111try :
1616OPENSKY_URL_BASE = "https://opensky-network.org/api/states/all"
1717
1818
19- class APITimeoutError (TimeoutError ): # noqa: D101
20- pass
21-
22-
23- class APIException (RuntimeError ): # noqa: D101
24- pass
25-
26-
2719def _build_opensky_request (
2820 lat_min : float ,
2921 lat_max : float ,
You can’t perform that action at this time.
0 commit comments