Skip to content

Commit

Permalink
Scheduled weekly dependency update for week 30 (#2064)
Browse files Browse the repository at this point in the history
Scheduled weekly dependency update for week 30
  • Loading branch information
Zac-HD committed Jul 30, 2019
2 parents 1bbdab8 + a63d721 commit c327ca4
Show file tree
Hide file tree
Showing 11 changed files with 51 additions and 40 deletions.
2 changes: 2 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:
TASK: check-pandas23
check-pandas24:
TASK: check-pandas24
check-pandas25:
TASK: check-pandas25
steps:
- script: sudo apt-get update && sudo apt-get install libreadline-dev libsqlite3-dev shellcheck
displayName: Install apt dependencies
Expand Down
4 changes: 4 additions & 0 deletions hypothesis-python/RELEASE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
RELEASE_TYPE: patch

This patch updates some internal comments for :pypi:`mypy` 0.720.
There is no user-visible impact.
4 changes: 1 addition & 3 deletions hypothesis-python/src/hypothesis/_strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -1376,9 +1376,7 @@ def as_strategy(strat_or_callable, thing):
return one_of([from_type(t) for t in args])
# We can't resolve forward references, and under Python 3.5 (only)
# a forward reference is an instance of type. Hence, explicit check:
elif (
hasattr(typing, "_ForwardRef") and type(thing) == typing._ForwardRef
): # pragma: no cover
elif type(thing) == getattr(typing, "_ForwardRef", None): # pragma: no cover
raise ResolutionFailed(
"thing=%s cannot be resolved. Upgrading to python>=3.6 may "
"fix this problem via improvements to the typing module." % (thing,)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ def __repr__(self):
def do_validate(self):
self.mapped_strategy.validate()

def pack(self, x): # type: ignore
def pack(self, x):
"""Take a value produced by the underlying mapped_strategy and turn it
into a value suitable for outputting from this strategy."""
raise NotImplementedError("%s.pack()" % (self.__class__.__name__))
Expand Down
4 changes: 2 additions & 2 deletions hypothesis-python/src/hypothesis/searchstrategy/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ def from_typing_type(thing):
_global_type_lookup.update(
{
typing.ByteString: st.binary(),
typing.io.BinaryIO: st.builds(io.BytesIO, st.binary()), # type: ignore
typing.io.TextIO: st.builds(io.StringIO, st.text()), # type: ignore
typing.io.BinaryIO: st.builds(io.BytesIO, st.binary()),
typing.io.TextIO: st.builds(io.StringIO, st.text()),
typing.Reversible: st.lists(st.integers()),
typing.SupportsAbs: st.complex_numbers(),
typing.SupportsComplex: st.complex_numbers(),
Expand Down
10 changes: 5 additions & 5 deletions hypothesis-python/src/hypothesis/vendor/pretty.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ def remove(self, group):


try:
_baseclass_reprs = (object.__repr__, types.InstanceType.__repr__) # type: ignore
_baseclass_reprs = (object.__repr__, types.InstanceType.__repr__)
except AttributeError: # Python 3
_baseclass_reprs = (object.__repr__,) # type: ignore

Expand Down Expand Up @@ -809,12 +809,12 @@ def _exception_pprint(obj, p, cycle):
}

try: # pragma: no cover
if types.DictProxyType != dict: # type: ignore
_type_pprinters[types.DictProxyType] = _dict_pprinter_factory( # type: ignore
if types.DictProxyType != dict:
_type_pprinters[types.DictProxyType] = _dict_pprinter_factory(
"<dictproxy {", "}>"
)
_type_pprinters[types.ClassType] = _type_pprint # type: ignore
_type_pprinters[types.SliceType] = _repr_pprint # type: ignore
_type_pprinters[types.ClassType] = _type_pprint
_type_pprinters[types.SliceType] = _repr_pprint
except AttributeError: # Python 3
_type_pprinters[slice] = _repr_pprint

Expand Down
7 changes: 7 additions & 0 deletions hypothesis-python/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,13 @@ deps =
commands =
python -m pytest tests/pandas -n2

[testenv:pandas25]
deps =
-r../requirements/test.txt
pandas~=0.25.0
commands =
python -m pytest tests/pandas -n2


[testenv:django111]
commands =
Expand Down
6 changes: 3 additions & 3 deletions requirements/coverage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
#
# pip-compile --output-file=requirements/coverage.txt requirements/coverage.in
#
coverage==4.5.3
coverage==4.5.4
lark-parser==0.7.1
numpy==1.16.4
pandas==0.24.2
numpy==1.17.0
pandas==0.25.0
python-dateutil==2.8.0 # via pandas
pytz==2019.1
six==1.12.0 # via python-dateutil
12 changes: 6 additions & 6 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
apipkg==1.5 # via execnet
atomicwrites==1.3.0 # via pytest
attrs==19.1.0
execnet==1.6.0 # via pytest-xdist
importlib-metadata==0.18 # via pluggy, pytest
more-itertools==5.0.0 # via pytest
execnet==1.6.1 # via pytest-xdist
importlib-metadata==0.19 # via pluggy, pytest
more-itertools==7.2.0 # via pytest
packaging==19.0 # via pytest
pluggy==0.12.0 # via pytest
py==1.8.0 # via pytest
pyparsing==2.4.0 # via packaging
pyparsing==2.4.1.1 # via packaging
pytest-forked==1.0.2 # via pytest-xdist
pytest-xdist==1.29.0
pytest==5.0.0
pytest==5.0.1
six==1.12.0 # via more-itertools, packaging, pytest-xdist
wcwidth==0.1.7 # via pytest
zipp==0.5.1 # via importlib-metadata
zipp==0.5.2 # via importlib-metadata
38 changes: 19 additions & 19 deletions requirements/tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,43 +18,43 @@ bleach==3.1.0 # via readme-renderer
certifi==2019.6.16 # via requests
chardet==3.0.4 # via requests
click==7.0 # via black, pip-tools, pyupio, safety
coverage==4.5.3
coverage==4.5.4
decorator==4.4.0 # via ipython, traitlets
deprecated==1.2.5 # via pygithub
django==2.2.3
docutils==0.14 # via readme-renderer, restructuredtext-lint, sphinx
docutils==0.15.1.post1 # via readme-renderer, restructuredtext-lint, sphinx
dparse==0.4.1 # via pyupio, safety
dpcontracts==0.6.0
entrypoints==0.3 # via flake8
filelock==3.0.12 # via tox
flake8-alfred==1.1.1
flake8-docstrings==1.3.0
flake8-polyfill==1.0.2 # via flake8-docstrings
flake8==3.7.7
flake8==3.7.8
gitdb2==2.0.5 # via gitpython
gitpython==2.1.11 # via bandit
gitpython==2.1.13 # via bandit
idna==2.8 # via requests
imagesize==1.1.0 # via sphinx
importlib-metadata==0.18 # via pluggy, pytest, tox
importlib-metadata==0.19 # via pluggy, pytest, tox
ipython-genutils==0.2.0 # via traitlets
ipython==7.6.0
ipython==7.7.0
isort==4.3.21
jedi==0.14.0 # via ipython
jedi==0.14.1 # via ipython
jinja2==2.10.1 # via pyupio, sphinx
lark-parser==0.7.1
lazy-object-proxy==1.4.1 # via astroid
markupsafe==1.1.1 # via jinja2
mccabe==0.6.1 # via flake8, pylint
more-itertools==7.1.0 # via pytest
more-itertools==7.2.0 # via pytest
mypy-extensions==0.4.1 # via mypy
mypy==0.711
numpy==1.16.4
mypy==0.720
numpy==1.17.0
packaging==19.0 # via dparse, pytest, pyupio, safety, sphinx, tox
parso==0.5.0 # via jedi
pbr==5.3.1 # via stevedore
parso==0.5.1 # via jedi
pbr==5.4.1 # via stevedore
pexpect==4.7.0 # via ipython
pickleshare==0.7.5 # via ipython
pip-tools==3.8.0
pip-tools==4.0.0
pkginfo==1.5.0.1 # via twine
pluggy==0.12.0 # via pytest, tox
prompt-toolkit==2.0.9 # via ipython
Expand All @@ -63,14 +63,14 @@ py==1.8.0 # via pytest, tox
pycodestyle==2.5.0 # via flake8
pydocstyle==3.0.0 # via flake8-docstrings
pyflakes==2.1.1 # via autoflake, flake8
pygithub==1.43.7 # via pyupio
pygithub==1.43.8 # via pyupio
pygments==2.4.2 # via ipython, readme-renderer, sphinx
pyjwt==1.7.1 # via pygithub
pylint==2.3.1
pyparsing==2.4.0 # via packaging
pytest==5.0.0
pyparsing==2.4.1.1 # via packaging
pytest==5.0.1
python-dateutil==2.8.0
python-gitlab==1.9.0 # via pyupio
python-gitlab==1.10.0 # via pyupio
pytz==2019.1 # via babel, django
pyupgrade==1.19.0
pyupio==1.0.2
Expand Down Expand Up @@ -101,11 +101,11 @@ traitlets==4.3.2 # via ipython
twine==1.13.0
typed-ast==1.4.0 # via astroid, mypy
urllib3==1.25.3 # via requests
virtualenv==16.6.1 # via tox
virtualenv==16.7.2 # via tox
wcwidth==0.1.7 # via prompt-toolkit, pytest
webencodings==0.5.1 # via bleach
wrapt==1.11.2 # via astroid, deprecated
zipp==0.5.1 # via importlib-metadata
zipp==0.5.2 # via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# setuptools==41.0.1 # via ipython, safety, sphinx, twine
2 changes: 1 addition & 1 deletion tooling/src/hypothesistooling/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def standard_tox_task(name):

for n in [20, 21, 22, 111]:
standard_tox_task("django%d" % (n,))
for n in [19, 20, 21, 22, 23, 24]:
for n in [19, 20, 21, 22, 23, 24, 25]:
standard_tox_task("pandas%d" % (n,))

standard_tox_task("coverage")
Expand Down

0 comments on commit c327ca4

Please sign in to comment.