Skip to content

Commit 92ca41f

Browse files
authored
Lower requests version dependency, add Tox config, add requirements for local dev & test (#21)
* lower requests version dependency * bump lib version to 0.1.4 * add requirements.txt file for local dev * add tox config for local testing
1 parent 766060c commit 92ca41f

File tree

3 files changed

+37
-4
lines changed

3 files changed

+37
-4
lines changed

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[build-system]
2-
requires = ["setuptools>=61.0", "requests>=2.22.0",]
2+
requires = ["setuptools>=61.0", "requests>=2.17.3",]
33
build-backend = "setuptools.build_meta"
44

55
[project]
6-
name = "fred_py_api"
7-
version = "0.1.3"
6+
name = "fred-py-api"
7+
version = "0.1.4"
88
authors = [
99
{ name="Zachary Spar", email="[email protected]" },
1010
{ name="Prasiddha Parthsarthy", email="[email protected]" },
@@ -26,7 +26,7 @@ classifiers = [
2626
"Operating System :: OS Independent",
2727
]
2828
dependencies = [
29-
"requests>=2.22.0",
29+
"requests>=2.17.3",
3030
]
3131

3232
[project.urls]

requirements.txt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
black==22.6.0
2+
build==0.8.0
3+
certifi==2022.6.15
4+
charset-normalizer==2.1.0
5+
click==8.1.3
6+
coverage==6.4.2
7+
distlib==0.3.5
8+
filelock==3.7.1
9+
idna==3.3
10+
mypy-extensions==0.4.3
11+
packaging==21.3
12+
pathspec==0.9.0
13+
pep517==0.12.0
14+
platformdirs==2.5.2
15+
pluggy==1.0.0
16+
py==1.11.0
17+
pyparsing==3.0.9
18+
requests==2.28.1
19+
six==1.16.0
20+
toml==0.10.2
21+
tomli==2.0.1
22+
tox==3.25.1
23+
typing_extensions==4.3.0
24+
urllib3==1.26.10
25+
virtualenv==20.15.1

tox.ini

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[tox]
2+
envlist = python3.6,python3.7,python3.8,python3.9,python3.10
3+
isolated_build = True
4+
5+
[testenv]
6+
passenv = FRED_API_KEY
7+
commands =
8+
python3 -m unittest discover -s tests

0 commit comments

Comments
 (0)