Skip to content

Commit 42f38a5

Browse files
author
Luca
committed
include py 3.10
1 parent 4e90e54 commit 42f38a5

File tree

7 files changed

+643
-450
lines changed

7 files changed

+643
-450
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
1818
strategy:
1919
matrix:
20-
python-version: [3.7, 3.8, 3.9]
20+
python-version: ["3.7", "3.8", "3.9", "3.10"]
2121

2222
steps:
2323
- uses: actions/checkout@v2
@@ -32,8 +32,8 @@ jobs:
3232
- name: run tests
3333
run: make test
3434
- name: upload coverage
35-
if: matrix.python-version == '3.9'
35+
if: matrix.python-version == '3.10'
3636
run: poetry run codecov --file ./build/coverage.xml
3737
- name: release
38-
if: ${{matrix.python-version == '3.9' && github.ref == 'refs/heads/master' && github.event.head_commit.message == 'release'}}
38+
if: ${{matrix.python-version == '3.10' && github.ref == 'refs/heads/master' && github.event.head_commit.message == 'release'}}
3939
run: make publish

.github/workflows/update.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: update
2+
3+
on:
4+
schedule:
5+
- cron: "0 6 * * 5"
6+
7+
jobs:
8+
update:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: checkout repo
13+
uses: actions/checkout@v2
14+
- name: Set up Python
15+
uses: actions/setup-python@v2
16+
with:
17+
python-version: "3.10"
18+
- name: install poetry
19+
run: pip install -U pip poetry
20+
- name: update dependencies
21+
run: poetry update
22+
- name: Create Pull Request
23+
uses: peter-evans/create-pull-request@v3
24+
with:
25+
token: ${{ secrets.QMBOT_GITHUB_TOKEN }}
26+
author: qmbot <bot@quantmind.com>
27+
commit-message: update dependencies
28+
title: Automated Dependency Updates
29+
body: This is an auto-generated PR with dependency updates.
30+
branch: ci-poetry-update
31+
labels: ci, automated pr

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,7 @@ test-lint: ## run linters
4040

4141
publish: ## release to pypi and github tag
4242
@poetry publish --build -u lsbardel -p $(PYPI_PASSWORD)
43+
44+
45+
outdated: ## show outdated packages
46+
poetry show -o

metablock/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from .spaces import Extension, Service, Space, SpaceExtension
55
from .user import User
66

7-
__version__ = "0.1.4"
7+
__version__ = "0.2.1"
88
__all__ = [
99
"Metablock",
1010
"MetablockError",

0 commit comments

Comments
 (0)