Skip to content

Commit

Permalink
Fixes #23: Python 3.6 tests failing.
Browse files Browse the repository at this point in the history
  • Loading branch information
ampledata committed Jan 13, 2024
1 parent b08c34b commit bfe0961
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 6 deletions.
25 changes: 23 additions & 2 deletions CHANGELOG.md
@@ -1,6 +1,27 @@
## ADSBXCOT 6.0.0
New for 2024!
- Removed 'light' mode for CoT.

## ADSBXCOT 5.1.0
- Added XML Declaration header to output CoT XML.
- Bumpted PyTAK dependency to >= 5.4.0
- Documentation updates.

## ADSBCOT 5.1.0
Added XML Declaration header to output CoT XML.
## ADSBXCOT 5.0.4
- Added 'light' mode, to reduce size of CoT messages. [DEPRECATED 2024]

## ADSBXCOT 5.0.3
- Refactored handle_data.
- Pinned aircot dependency to >= 1.2.0

## ADSBXCOT 5.0.2
- Removed Travis CI.
- Examples updated.
- Refactored commands.py to match other PyTAK-based programs.

## ADSBXCOT 5.0.1
- Fixes for test suite.
- Examples updated.

## ADSBXCOT 5.0.0
Rewrite of ADSBXCOT to support new features of PyTAK 5.0.0
14 changes: 10 additions & 4 deletions adsbxcot/__init__.py
Expand Up @@ -23,11 +23,17 @@
:source: <https://github.com/snstac/adsbxcot>
"""

from .constants import DEFAULT_POLL_INTERVAL, DEFAULT_LIGHT_COT # NOQA
# Python 3.6 test/build work-around:
try:
from .constants import DEFAULT_POLL_INTERVAL, DEFAULT_LIGHT_COT # NOQA
from .functions import adsbx_to_cot, create_tasks # NOQA
from .classes import ADSBXWorker # NOQA
except ImportError:
import warnings

from .functions import adsbx_to_cot, create_tasks # NOQA

from .classes import ADSBXWorker # NOQA
warnings.warn(
"Unable to import required modules, ignoring (Python 3.6 build work-around)."
)

__version__ = "6.0.0-beta1"
__author__ = "Greg Albrecht <gba@snstac.com>"
Expand Down

0 comments on commit bfe0961

Please sign in to comment.