Skip to content

Commit

Permalink
latest-v1.5.1 (#330)
Browse files Browse the repository at this point in the history
Docstring: rt.ones
Don't export benchmarks from riptable
Docstrings: rt.ones_like
Add docstring validation support.
Tutorial typo fixes
Fix integer overflow bug in outer join index calculation.
Docstring: dtn.nanos_since_midnight
Docstring: rt.zeros_like
Mask and fix
Use host python exe to access correct packages

Co-authored-by: rtosholdings-bot <[email protected]>
  • Loading branch information
OrestZborowski-SIG and rtosholdings-bot authored Dec 1, 2022
1 parent fdf3542 commit dea796e
Show file tree
Hide file tree
Showing 12 changed files with 954 additions and 31 deletions.
7 changes: 4 additions & 3 deletions conda_recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ package:

build:
number: 0
script: python setup.py install --single-version-externally-managed --record=record.txt
# Use Python installed in host environment.
script: "{{ PYTHON }} setup.py install --single-version-externally-managed --record=record.txt"

source:
- path: ../
Expand All @@ -15,7 +16,7 @@ requirements:
- setuptools_scm
run:
- python
- riptide_cpp >=1.9,<2 # run with any (compatible) version in this range
- riptide_cpp >=1.9,<2 # run with any (compatible) version in this range
- pandas >=0.24,<2.0
- ansi2html >=1.5.2
- numpy >=1.21
Expand All @@ -31,7 +32,7 @@ test:
- pytest-xdist >=1.32
- hypothesis >=5.10.0
- ipython >=7.6.1
- nose >=1.3.7 # nose because ipykernel testing utilities still have nose imports
- nose >=1.3.7 # nose because ipykernel testing utilities still have nose imports
# Include pyarrow as a test requirement. It's an optional dependency at run-time,
# but we want to be able to run interop tests with it.
- pyarrow >=6.0.0
Expand Down
36 changes: 34 additions & 2 deletions dev_tools/gen_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,47 @@ def is_windows() -> bool:
"hypothesis",
"ipykernel",
"ipython",
"matplotlib",
"nose",
"pyarrow",
"pytest",
]

# Sphinx requirements for docs generation.
sphinx_reqs = ["sphinx_rtd_theme>=0.5.1", "sphinx-autoapi", "nbsphinx"] + runtime_reqs + tests_reqs
sphinx_reqs = (
[
"sphinx_rtd_theme>=0.5.1",
"sphinx-autoapi",
"nbsphinx",
]
+ runtime_reqs
+ tests_reqs
)

# Docstrings validation requirements.
# Validation requires complete riptable for iteration and evaluating examples.
docstrings_reqs = (
[
"numpydoc",
"tomli",
]
+ runtime_reqs
+ tests_reqs
)

# Complete developer requirements.
developer_reqs = ["black", "setuptools_scm"] + conda_reqs + pypi_reqs + runtime_reqs + tests_reqs + toolchain_reqs
developer_reqs = (
[
"black",
"pydocstyle",
"setuptools_scm",
]
+ conda_reqs
+ pypi_reqs
+ runtime_reqs
+ tests_reqs
+ toolchain_reqs
)

target_reqs = {
"conda": conda_reqs,
Expand All @@ -79,6 +110,7 @@ def is_windows() -> bool:
"sphinx": sphinx_reqs,
"tests": tests_reqs,
"toolchain": toolchain_reqs,
"docstrings": docstrings_reqs,
}

parser = argparse.ArgumentParser()
Expand Down
Loading

0 comments on commit dea796e

Please sign in to comment.