Skip to content

Commit

Permalink
add aiohttp requirement and update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pantherale0 committed Jul 15, 2023
1 parent 5175c71 commit 99faad2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Publish to PyPI.org
on: workflow_dispatch
name: Python test and build
on: [push]
jobs:
pypi:
runs-on: ubuntu-latest
Expand All @@ -15,6 +15,10 @@ jobs:
python -m pip install --upgrade pip
pip install build
pip install -r requirements.txt
pip install pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
- name: Build package
run: python -m build
- run: python3 -m pip install --upgrade build && python3 -m build
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.

requests>=2.14.2 # Apache-2.0
aiohttp>=3.7.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
author="pantherale0",
author_email="support@system32.uk",
license='MIT',
install_requires="requests")
install_requires="aiohttp")

0 comments on commit 99faad2

Please sign in to comment.