Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #303 from scikit-hep/depend-on-awkward-0.12
Browse files Browse the repository at this point in the history
depend on awkward 0.12+ to fix tree.pandas.df
  • Loading branch information
jpivarski committed Jul 11, 2019
2 parents f0492bf + d8c7f69 commit 41d4396
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ install:
- pip install --upgrade setuptools-scm
- pip install $NPY
- python -c 'import numpy; print(numpy.__version__)'
- pip install "awkward>=0.11.0"
- pip install "awkward>=0.12.0"
- python -c 'import awkward; print(awkward.__version__)'
- pip install "uproot-methods>=0.7.0"
- python -c 'import uproot_methods; print(uproot_methods.__version__)'
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Strict dependencies:
--------------------

- `numpy <https://scipy.org/install.html>`__ (1.13.1+)
- `awkward-array <https://github.com/scikit-hep/awkward-array>`__ (0.11.0+)
- `awkward-array <https://github.com/scikit-hep/awkward-array>`__ (0.12.0+)
- `uproot-methods <https://github.com/scikit-hep/uproot-methods>`__ (0.7.0+)
- `cachetools <https://pypi.org/project/cachetools>`__

Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ install:
build_script:
- "python -m pip install --upgrade pip"
- "pip install %NUMPY%"
- "pip install \"awkward>=0.11.0\""
- "pip install \"awkward>=0.12.0\""
- "python -c \"import awkward; print(awkward.__version__)\""
- "pip install \"uproot-methods>=0.7.0\""
- "python -c \"import uproot_methods; print(uproot_methods.__version__)\""
Expand Down
2 changes: 1 addition & 1 deletion binder/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
numpy>=1.13.1
awkward>=0.11.0
awkward>=0.12.0
uproot-methods>=0.7.0
cachetools
pkgconfig
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
numpy>=1.13.1
awkward>=0.11.0
awkward>=0.12.0
uproot-methods>=0.7.0
cachetools
backports.lzma;python_version<"3.3"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def get_description():
download_url = "https://github.com/scikit-hep/uproot/releases",
license = "BSD 3-clause",
test_suite = "tests",
install_requires = ["numpy>=1.13.1", "awkward>=0.11.0", "uproot-methods>=0.7.0", "cachetools"],
install_requires = ["numpy>=1.13.1", "awkward>=0.12.0", "uproot-methods>=0.7.0", "cachetools"],
setup_requires = ["pytest-runner"],
tests_require = ["pytest>=3.9", "pkgconfig", "lz4", 'backports.lzma;python_version<"3.3"', "xxhash", "mock", "requests"],
classifiers = [
Expand Down
2 changes: 1 addition & 1 deletion uproot/_connect/_pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def futures2df(futures, outputtype, entrystart, entrystop, flatten, flatname, aw
if starts is None:
starts = array.starts
stops = array.stops
index = array.index
index = array.localindex
else:
if starts is not array.starts and not awkward.numpy.array_equal(starts, array.starts):
raise ValueError("cannot use flatten=True on branches with different jagged structure, such as electrons and muons (different, variable number of each per event); either explicitly select compatible branches, such as [\"MET_*\", \"Muon_*\"] (scalar and variable per event is okay), or set flatten=False")
Expand Down
2 changes: 1 addition & 1 deletion uproot/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import re

__version__ = "3.7.2"
__version__ = "3.8.0"
version = __version__
version_info = tuple(re.split(r"[-\.]", __version__))

Expand Down

0 comments on commit 41d4396

Please sign in to comment.