Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

op/remove support for python 3.7 #153

Merged
merged 7 commits into from
Jun 12, 2023
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
7 changes: 0 additions & 7 deletions .github/workflows/create_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
branches: [ "main" ]
schedule:
- cron: "0 0 1 * *"
release:
types: [published]

jobs:

Expand All @@ -22,8 +20,3 @@ jobs:
run: |
export actor=$(echo ${{ github.actor }} | tr -d '[]')
docker build . --file Dockerfile --tag ghcr.io/${actor}/pyriemann-qiskit:$tag
- name: Publish the Docker image
if: ${{ github.event_name == 'release' }}
run: |
docker login ghcr.io -u ${{ github.actor }} -p $GITHUB_TOKEN
docker push ghcr.io/${{ github.actor }}/pyriemann-qiskit:$tag
31 changes: 31 additions & 0 deletions .github/workflows/publish_docker_image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Docker Image CI

on:
release:
types: [published]
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: false
default: 'info'
tags:
description: 'Tags'
required: false

jobs:
build:
runs-on: ubuntu-latest
env:
tag: $(git rev-parse --short "$GITHUB_SHA")
GITHUB_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: |
export actor=pyRiemann
docker build . --file Dockerfile --tag ghcr.io/${actor}/pyriemann-qiskit:$tag
- name: Publish the Docker image
run: |
docker login ghcr.io -u ${{ github.actor }} -p $GITHUB_TOKEN
docker push ghcr.io/${{ github.actor }}/pyriemann-qiskit:$tag
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: [3.8, 3.9]
os: [ubuntu-latest, macOS-latest, windows-latest]

steps:
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ https://doi.org/10.3897/rio.9.e101006.
_We recommend the use of [Anaconda](https://www.anaconda.com/) to manage python
environements._

`pyRiemann-qiskit` currently supports Windows, Mac and Linux OS with Python 3.7, 3.8 and
3.9.
`pyRiemann-qiskit` currently supports Windows, Mac and Linux OS with Python 3.8 and 3.9.

You can install `pyRiemann-qiskit` release from PyPI:

Expand Down
4 changes: 2 additions & 2 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ pyRiemann-qiskit: Qiskit wrapper for pyRiemann
<img src="_images/sphx_glr_plot_classify_P300_bi_thumb.png">
</div>
</a>
<a href="auto_examples/ERP/plot_firebase_moabb.html">
<a href="auto_examples/ERP/firebase_moabb.html">
<div class="col-md-3 thumbnail">
<img src="_images/sphx_glr_plot_firebase_moabb_thumb.png">
<img src="_images/sphx_glr_firebase_moabb_thumb.png">
</div>
</a>
<a href="auto_examples/ERP/plot_compare_dim_red.html">
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
'Tracker': 'https://github.com/pyRiemann/pyRiemann-qiskit/issues/',
},
platforms='any',
python_requires=">=3.7",
python_requires=">=3.8",
install_requires=['cython', 'pyriemann==0.4',
'qiskit_machine_learning==0.6.1',
'qiskit-ibm-provider==0.5.2',
Expand Down