Skip to content

Commit

Permalink
Merge pull request #42 from hassaku63/fix-setup
Browse files Browse the repository at this point in the history
fix: use requests~=2.32.2
  • Loading branch information
hassaku63 authored Sep 7, 2024
2 parents 4e0f7b1 + 8ce57e2 commit ca5105a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
# lint
- name: Run lint
Expand All @@ -34,4 +35,4 @@ jobs:
- name: Run unittests & coverage
run: |
coverage run -m unittest -v
coverage report -m
coverage report -m
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
include VERSION
include requirements.txt
include requirements-dev.txt
1 change: 0 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
-r requirements.txt
flake8~=6.1.0
tox~=4.11.0
httpretty~=1.1.0
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
requests~=2.32.0
requests~=2.32.2
17 changes: 8 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@
with open(path.join(here, 'VERSION'), encoding='utf-8') as f:
version = f.read().strip()

with open(path.join(here, 'requirements.txt'), encoding='utf-8') as f:
install_requires = f.read().splitlines()

with open(path.join(here, 'requirements-dev.txt'), encoding='utf-8') as f:
tests_require = f.read().splitlines()

setup(
name='python-backlog',
version=version,
install_requires=[
'requests~=2.31.0',
],
install_requires=install_requires,
description='Backlog API v2 wrapper',
long_description=long_description,
long_description_content_type='text/markdown',
Expand All @@ -38,12 +42,7 @@
scripts=[],
packages=find_packages(exclude=['tests*']),
python_requires=">=3.8",
tests_require=[
"flake8~=6.1.0",
"tox~=4.11.0",
"httpretty~=1.1.0",
"coverage~=7.3.0",
],
tests_require=install_requires + tests_require,
project_urls={
'Source': 'https://github.com/hassaku63/pbl',
}
Expand Down

0 comments on commit ca5105a

Please sign in to comment.