Skip to content

Commit

Permalink
Build with poetry, bump version to 9.4.1 (#203)
Browse files Browse the repository at this point in the history
* build with poetry, bump version to 9.4.1

* add pyproject.toml

* add poetry steps to workfows

* update dependencies
  • Loading branch information
zhukovny authored Sep 16, 2021
1 parent 3d8a23b commit c8e3bd8
Show file tree
Hide file tree
Showing 15 changed files with 1,471 additions and 97 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: latest
virtualenvs-create: false
- name: Install dependencies
run: |
pip install -r ./requirements/base.txt
pip install -r ./requirements/test.txt
pip install -r ./requirements/ci.txt
run: poetry install
- name: Test with pytest
run: |
pytest -rfs --cov --cov-config=.coveragerc --cov-report="" --disable-warnings
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/upload-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ jobs:
- uses: actions/setup-python@v1
with:
python-version: '3.6'
- name: Install dependencies
run: python -m pip install --upgrade pip setuptools wheel
- name: Build a package
run: python setup.py sdist
- name: Install dependencies
run: pip install twine
- name: Publish to private PyPI
run: python -m twine upload dist/* -u __token__ -p ${{ secrets.pypi_token }}
- name: Build and publish to PyPi
uses: JRubics/poetry-publish@v1.8
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [9.4.1] - 2021-09-16

Change build system to poetry

## [9.4.0] - 2021-06-28

Update sqlalchemy to 1.4.0+
Expand Down
Loading

0 comments on commit c8e3bd8

Please sign in to comment.