Skip to content
Open
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
10 changes: 5 additions & 5 deletions .github/workflows/continuous-integration-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.9]
python-version: ['3.13']

steps:
- uses: actions/checkout@master
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -34,8 +34,8 @@ jobs:
python -m pip install tox
- name: Test sub tools
run: |
tox -e py$(echo ${{ matrix.python-version }} | tr -d .)-tools
tox -e py$(echo ${{ matrix.python-version }} | tr -d .)-tools
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
34 changes: 17 additions & 17 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,51 +20,51 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.10', '3.13', '3.14']

steps:
- uses: actions/checkout@master
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox
python -m pip install tox hatch
- name: Test with tox
run: |
tox -e py$(echo ${{ matrix.python-version }} | tr -d .)-tests
- name: Test cli
run: |
tox -e py$(echo ${{ matrix.python-version }} | tr -d .)-cli
tox -e py$(echo ${{ matrix.python-version }} | tr -d .)-cli
- name: Check style
if: ${{ matrix.python-version == 3.8 }}
if: ${{ matrix.python-version == '3.13' }}
run: |
tox -e py$(echo ${{ matrix.python-version }} | tr -d .)-lint
tox -e py313-lint
tox -e copying
- name: Upload coverage to Codecov
if: ${{ (matrix.python-version == 3.8 || matrix.python-version == 2.7) }}
uses: codecov/codecov-action@v1
if: ${{ matrix.python-version == '3.13' }}
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
- name: Build a source tarball
if: matrix.python-version == 3.8
run: python setup.py sdist check --strict --metadata
- name: Build package
if: matrix.python-version == '3.13'
run: hatch build
- name: Publish package to TestPyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
if: >-
matrix.python-version == 3.8 &&
matrix.python-version == '3.13' &&
github.event_name == 'push' &&
startsWith(github.event.ref, 'refs/tags')
with:
user: __token__
password: ${{ secrets.test_pypi_password }}
repository_url: https://test.pypi.org/legacy/
repository-url: https://test.pypi.org/legacy/
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
if: >-
matrix.python-version == 3.8 &&
matrix.python-version == '3.13' &&
github.event_name == 'push' &&
startsWith(github.event.ref, 'refs/tags')
with:
Expand Down
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
frederic.saint-marcel@inria.fr
gaetan.harter@inria.fr
alexandre.abadie@inria.fr
11 changes: 1 addition & 10 deletions DEV.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ You can run all tests with:

Running test for one specific version

tox -e py37
tox -e py313


Step by step validation
Expand All @@ -24,12 +24,3 @@ Step by step validation
Development depencencies can be installed with

pip install -r tests_utils/test-requirements


### Manually running tests ###

python setup.py lint
python setup.py pep8
flake8 # it does not work from setup.py script
python setup.py nosetests

5 changes: 0 additions & 5 deletions MANIFEST.in

This file was deleted.

7 changes: 2 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,11 @@ Description
The cli-tools leverage the IoT-LAB ``REST API`` and simply wrap calls to
module ``iotlabcli``, which is a Python client for the API.

The cli-tools come as an installable Python package and require that
module ``setuptools`` be installed before tools installation can happen.
Please grab the relevant python-setuptools package for your
distribution.
The cli-tools come as an installable Python package.

To install cli-tools from Pypi, use ``pip install iotlabcli``.

To install cli-tools from source, use ``pip install --user .`` or ``python setup.py install``
To install cli-tools from source, use ``pip install --user .``

Installing cli-tools automatically fetches additional dependencies as
needed.
Expand Down
23 changes: 0 additions & 23 deletions iotlab

This file was deleted.

23 changes: 0 additions & 23 deletions iotlab-auth

This file was deleted.

23 changes: 0 additions & 23 deletions iotlab-experiment

This file was deleted.

23 changes: 0 additions & 23 deletions iotlab-node

This file was deleted.

23 changes: 0 additions & 23 deletions iotlab-profile

This file was deleted.

23 changes: 0 additions & 23 deletions iotlab-robot

This file was deleted.

23 changes: 0 additions & 23 deletions iotlab-status

This file was deleted.

7 changes: 3 additions & 4 deletions iotlabcli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" iotlabcli package implementing a cli for iotlab REST API """
"""iotlabcli package implementing a cli for iotlab REST API"""

# This file is a part of IoT-LAB cli-tools
# Copyright (C) 2015 INRIA (Contact: admin@iot-lab.info)
Expand All @@ -22,8 +22,7 @@
# flake8: noqa
# simpler access for external usage
from iotlabcli.auth import get_user_credentials
from iotlabcli.rest import Api
from iotlabcli.helpers import get_current_experiment
from iotlabcli.rest import Api


__version__ = '3.3.0-dev0'
__version__ = "3.3.0-dev0"
Loading
Loading