Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/linux_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-22.04]
python-version: [3.7, 3.8, 3.9, 3.10.5, 3.11.0, 3.12.0, 3.13.0, 3.14.0]
python-version: [3.8, 3.9, 3.10.5, 3.11.0, 3.12.0, 3.13.0, 3.14.0]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macOS_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-15-intel]
python-version: [3.7, 3.8, 3.9, 3.10.5, 3.11.0, 3.12.0, 3.13.0, 3.14.0]
python-version: [3.8, 3.9, 3.10.5, 3.11.0, 3.12.0, 3.13.0, 3.14.0]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fail-fast: false
matrix:
os: [windows-2025, windows-2022]
python-version: [3.7, 3.8, 3.9, 3.10.5, 3.11.0, 3.12.0, 3.13.0, 3.14.0]
python-version: [3.8, 3.9, 3.10.5, 3.11.0, 3.12.0, 3.13.0, 3.14.0]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- CLI style modified
- `nava_help` function modified
- `Python 3.7` support dropped
## [0.9] - 2026-09-02
### Added
- CLI tests
Expand Down
7 changes: 4 additions & 3 deletions nava/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"""Nava cli."""
import sys
import argparse
from art import tprint
from art import text2art
from typio import type_print, TypeMode
from .params import NAVA_VERSION, EXIT_MESSAGE, Engine
from .functions import nava_help, play_cli

Expand Down Expand Up @@ -54,8 +55,8 @@ def run(args: argparse.Namespace) -> None:
engine = Engine(args.engine)
play_cli(file_name, loop=loop, engine=engine)
else:
tprint("Nava")
tprint("V:" + NAVA_VERSION)
type_print(text2art("Nava"), mode=TypeMode.LINE, delay=0.1)
type_print(text2art("V:" + NAVA_VERSION), mode=TypeMode.LINE, delay=0.1)
nava_help()


Expand Down
7 changes: 4 additions & 3 deletions nava/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from functools import wraps
import importlib.util
from typing import Callable, List, Dict, Any, Optional
from typio import type_print, TypeMode
from .thread import NavaThread
from .params import OVERVIEW, Engine
from .params import SOUND_FILE_PLAY_ERROR, SOUND_FILE_EXIST_ERROR, ENGINE_TYPE_ERROR
Expand Down Expand Up @@ -44,9 +45,9 @@ def sound_id_gen() -> int:

def nava_help() -> None:
"""Print nava details."""
print(OVERVIEW)
print("Repo : https://github.com/openscilab/nava")
print("Webpage : https://openscilab.com/\n")
type_print(OVERVIEW, mode=TypeMode.CHAR, delay=0.05)
type_print("Repo : https://github.com/openscilab/nava", mode=TypeMode.CHAR, delay=0.05)
type_print("Webpage : https://openscilab.com/\n", mode=TypeMode.CHAR, delay=0.05)


def quote(func: Callable) -> Callable:
Expand Down
5 changes: 3 additions & 2 deletions others/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ requirements:
host:
- pip
- setuptools
- python >=3.7
- python >=3.8
run:
- art >=1.8
- python >=3.7
- typio >=0.4
- python >=3.8
about:
home: https://github.com/openscilab/nava
license: MIT
Expand Down
1 change: 1 addition & 0 deletions requirements-latest.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
art==6.5
typio==1.2
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,14 @@ def read_description() -> str:
'Source': 'https://github.com/openscilab/nava',
'Discord': 'https://discord.gg/MCbPKCFBs3',
},
install_requires=['art>=1.8'],
python_requires='>=3.7',
install_requires=['art>=1.8', 'typio>=0.4'],
python_requires='>=3.8',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
Expand Down
Loading