Skip to content

Commit

Permalink
Fix PyPi build (#226)
Browse files Browse the repository at this point in the history
* Update pillow to 9.1.1
* Setup.py -> build during PyPi build
* Fetch whole repository prior to PyPi build
  • Loading branch information
adamjanovsky authored Jun 2, 2022
1 parent e8ee684 commit ca40fcf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,18 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'crocs-muni/sec-certs'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Install build dependencies
run: python -m pip install build wheel
run: python -m pip install build
- name: Build distributions
shell: bash -l {0}
run: python setup.py sdist bdist_wheel
run: python -m build
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ numpy
pandas
pdftotext
pikepdf
Pillow
Pillow>=9.1.1
PyPDF2
python-dateutil
PyYAML
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ pickleshare==0.7.5
# via ipython
pikepdf==5.1.1
# via -r requirements.in
pillow==9.1.0
pillow==9.1.1
# via
# -r requirements.in
# matplotlib
Expand Down

0 comments on commit ca40fcf

Please sign in to comment.