Skip to content

Commit 2e0c552

Browse files
authored
Upgrade requirements (#279)
* upgrade requirements * quick remove some overlapping requirements from docs/rtd
1 parent f9a68b0 commit 2e0c552

File tree

6 files changed

+41
-13
lines changed

6 files changed

+41
-13
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ htmlcov/
55

66
*.py[cod]
77
.pytest_cache
8+
venv*
89

910

1011
# emacs

docs/requirements-rtd.txt

-4
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@ atomicwrites==1.4.1
44
Babel==2.11.0
55
certifi==2022.12.7
66
charset-normalizer==3.0.1
7-
colorama==0.4.6
87
docutils==0.17.1
9-
filelock==3.9.0
108
idna==3.4
119
imagesize==1.4.1
1210
Jinja2==3.1.2
1311
livereload==2.6.3
1412
MarkupSafe==2.1.1
1513
more-itertools==9.0.0
16-
packaging==23.0
17-
pluggy==0.13.1
1814
Pygments==2.14.0
1915
pytz==2022.7.1
2016
requests==2.28.2

glom/cli.py

+3
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
import glom
4848
from glom import Path, GlomError, Inspect
4949

50+
# TODO: --target-format scalar = unquoted if single value, error otherwise, maybe even don't output newline
51+
# TODO: --default
52+
5053
def glom_cli(target, spec, indent, debug, inspect):
5154
"""Command-line interface to the glom library, providing nested data
5255
access and data restructuring with the power of Python.

requirements.in

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
attrs>=19.2.0
2+
boltons>=20.2.0
3+
coverage<=7.2.7 # can unpin when dropping py37
4+
face>=20.1.1
5+
pytest>=6.2.5
6+
tox>=3.7.0
7+
PyYAML>=6.0.1

requirements.txt

+29-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,29 @@
1-
attrs==19.2.0
2-
boltons>=20.2.0
3-
coverage
4-
face<22.0.0
5-
pytest==4.6.11;python_version<'3.6'
6-
pytest>=6.2.5;python_version >= '3.6'
7-
tox==3.7.0
8-
PyYAML==6.0.1
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.7
3+
# by the following command:
4+
#
5+
# pip-compile --annotation-style=line --strip-extras requirements.in
6+
#
7+
attrs==23.1.0 # via -r requirements.in
8+
boltons==23.1.1 # via -r requirements.in, face
9+
cachetools==5.3.2 # via tox
10+
chardet==5.2.0 # via tox
11+
colorama==0.4.6 # via tox
12+
coverage==7.2.7 # via -r requirements.in
13+
distlib==0.3.8 # via virtualenv
14+
exceptiongroup==1.2.0 # via pytest
15+
face==22.0.0 # via -r requirements.in
16+
filelock==3.12.2 # via tox, virtualenv
17+
importlib-metadata==6.7.0 # via attrs, pluggy, pytest, tox, virtualenv
18+
iniconfig==2.0.0 # via pytest
19+
packaging==23.2 # via pyproject-api, pytest, tox
20+
platformdirs==4.0.0 # via tox, virtualenv
21+
pluggy==1.2.0 # via pytest, tox
22+
pyproject-api==1.5.3 # via tox
23+
pytest==7.4.3 # via -r requirements.in
24+
pyyaml==6.0.1 # via -r requirements.in
25+
tomli==2.0.1 # via pyproject-api, pytest, tox
26+
tox==4.8.0 # via -r requirements.in
27+
typing-extensions==4.7.1 # via importlib-metadata, platformdirs, tox
28+
virtualenv==20.25.0 # via tox
29+
zipp==3.15.0 # via importlib-metadata

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def import_path(module_name, path):
3838
'Documentation': 'https://glom.readthedocs.io/en/latest/',
3939
},
4040
packages=['glom', 'glom.test'],
41-
install_requires=['boltons>=19.3.0', 'attrs', 'face==20.1.1'],
41+
install_requires=['boltons>=19.3.0', 'attrs', 'face>=20.1.1'],
4242
extras_require={
4343
'toml': ['tomli; python_version<"3.11"'],
4444
'yaml': ['PyYAML'],

0 commit comments

Comments
 (0)