From 71d04947b29fdaa5ea67d59ab72dbee4963eabe2 Mon Sep 17 00:00:00 2001 From: Ben Cumming Date: Wed, 15 Feb 2023 16:49:16 +0100 Subject: [PATCH] bump version to 1.0 (#62) --- .github/workflows/main.yaml | 18 ++++++++++++++++++ .github/workflows/publish.yaml | 2 +- setup.cfg | 7 ++++++- stackinator/__init__.py | 2 +- stackinator/main.py | 2 +- 5 files changed, 27 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 6a108ae..1217887 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -4,6 +4,24 @@ on: [push, pull_request] jobs: unittest: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Bootstrap + run: | + ./bootstrap.sh + - name: Generic Unittests + run: | + ./test_stackinator.py + + unittestpy36: runs-on: ubuntu-20.04 strategy: matrix: diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 38052f7..ca88c81 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -18,7 +18,7 @@ jobs: python -m pip install --upgrade pip setuptools build python -m build - name: Publish Stackinator to PyPI - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: verbose: true user: __token__ diff --git a/setup.cfg b/setup.cfg index 4016c86..1581482 100644 --- a/setup.cfg +++ b/setup.cfg @@ -8,8 +8,13 @@ license = BSD 3-Clause long_description = file: README.md long_description_content_type = text/markdown classifiers = - Development Status :: 4 - Beta + Development Status :: 5 - Production/Stable Programming Language :: Python :: 3.6 + Programming Language :: Python :: 3.7 + Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 License :: OSI Approved :: BSD License Operating System :: POSIX :: Linux Environment :: Console diff --git a/stackinator/__init__.py b/stackinator/__init__.py index 32cc430..41fcec4 100644 --- a/stackinator/__init__.py +++ b/stackinator/__init__.py @@ -2,7 +2,7 @@ import re -VERSION = '0.1' +VERSION = '1.0' root_logger = logging.getLogger('stackinator') stackinator_version_info = tuple(re.split(r'\.|-', VERSION)) diff --git a/stackinator/main.py b/stackinator/main.py index c31eb7a..ad02475 100644 --- a/stackinator/main.py +++ b/stackinator/main.py @@ -34,7 +34,7 @@ def configure_logging(logfile): def log_header(args): - root_logger.info('Spack Stack Tool') + root_logger.info('Stackinator') root_logger.info(f' recipe path: {args.recipe}') root_logger.info(f' build path : {args.build}')