Skip to content

Commit

Permalink
upgrade requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmoud committed Dec 18, 2023
1 parent f9a68b0 commit c8bf9a1
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ htmlcov/

*.py[cod]
.pytest_cache
venv*


# emacs
Expand Down
3 changes: 3 additions & 0 deletions glom/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
import glom
from glom import Path, GlomError, Inspect

# TODO: --target-format scalar = unquoted if single value, error otherwise, maybe even don't output newline
# TODO: --default

def glom_cli(target, spec, indent, debug, inspect):
"""Command-line interface to the glom library, providing nested data
access and data restructuring with the power of Python.
Expand Down
7 changes: 7 additions & 0 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
attrs>=19.2.0
boltons>=20.2.0
coverage<=7.2.7 # can unpin when dropping py37
face>=20.1.1
pytest>=6.2.5
tox>=3.7.0
PyYAML>=6.0.1
37 changes: 29 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,29 @@
attrs==19.2.0
boltons>=20.2.0
coverage
face<22.0.0
pytest==4.6.11;python_version<'3.6'
pytest>=6.2.5;python_version >= '3.6'
tox==3.7.0
PyYAML==6.0.1
#
# This file is autogenerated by pip-compile with Python 3.7
# by the following command:
#
# pip-compile --annotation-style=line --strip-extras requirements.in
#
attrs==23.1.0 # via -r requirements.in
boltons==23.1.1 # via -r requirements.in, face
cachetools==5.3.2 # via tox
chardet==5.2.0 # via tox
colorama==0.4.6 # via tox
coverage==7.2.7 # via -r requirements.in
distlib==0.3.8 # via virtualenv
exceptiongroup==1.2.0 # via pytest
face==22.0.0 # via -r requirements.in
filelock==3.12.2 # via tox, virtualenv
importlib-metadata==6.7.0 # via attrs, pluggy, pytest, tox, virtualenv
iniconfig==2.0.0 # via pytest
packaging==23.2 # via pyproject-api, pytest, tox
platformdirs==4.0.0 # via tox, virtualenv
pluggy==1.2.0 # via pytest, tox
pyproject-api==1.5.3 # via tox
pytest==7.4.3 # via -r requirements.in
pyyaml==6.0.1 # via -r requirements.in
tomli==2.0.1 # via pyproject-api, pytest, tox
tox==4.8.0 # via -r requirements.in
typing-extensions==4.7.1 # via importlib-metadata, platformdirs, tox
virtualenv==20.25.0 # via tox
zipp==3.15.0 # via importlib-metadata
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def import_path(module_name, path):
'Documentation': 'https://glom.readthedocs.io/en/latest/',
},
packages=['glom', 'glom.test'],
install_requires=['boltons>=19.3.0', 'attrs', 'face==20.1.1'],
install_requires=['boltons>=19.3.0', 'attrs', 'face>=20.1.1'],
extras_require={
'toml': ['tomli; python_version<"3.11"'],
'yaml': ['PyYAML'],
Expand Down

0 comments on commit c8bf9a1

Please sign in to comment.