Skip to content

Commit 34731b3

Browse files
1.0.1 (#10)
* Add dependencies to pyproject.toml * Install build module * Remove user args * Add poetry install to GH action * Install Poetry * Add responses package to dev-dependencies * Update poetry.lock * Run tests using poetry run * Fix version import * Bump version * Use absolute import
1 parent 6bea576 commit 34731b3

File tree

6 files changed

+288
-11
lines changed

6 files changed

+288
-11
lines changed

.github/workflows/publish-to-pypi.yml

+12-5
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,22 @@ jobs:
1313
uses: actions/setup-python@v4
1414
with:
1515
python-version: "3.x"
16+
- name: Install build module
17+
run: python3 -m pip install build
18+
19+
- name: Install Poetry
20+
run: |
21+
curl -sSL https://install.python-poetry.org | python3 -
22+
23+
- name: Install dependencies
24+
run: poetry install
25+
1626
- name: Install pypa/build
1727
run: >-
18-
python3 -m
19-
pip install -r requirements.txt
20-
build
21-
--user
28+
python3 -m build
2229
2330
- name: Run tests
24-
run: python authsignal/client_tests.py
31+
run: poetry run python authsignal/client_tests.py
2532

2633
- name: Build a binary wheel and a source tarball
2734
run: python3 -m build

authsignal/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import decimal
22
import jwt
3-
from version import VERSION
3+
from authsignal.version import VERSION
44

55
import humps
66
import json

authsignal/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = '1.0.0'
1+
VERSION = '1.0.1'

0 commit comments

Comments
 (0)