This repository has been archived by the owner on Jul 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 7892648
Showing
171 changed files
with
24,001 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,323 @@ | ||
## Python CircleCI 2.0 configuration file | ||
## | ||
## Check https://circleci.com/docs/2.0/language-python/ for more details | ||
## | ||
|
||
version: 2 | ||
jobs: | ||
build-py36: | ||
docker: | ||
- image: circleci/python:3.6 | ||
|
||
steps: | ||
- checkout | ||
- run: | ||
name: install hamilton dependencies | ||
command: | | ||
sudo apt install graphviz | ||
python -m venv venv || virtualenv venv | ||
. venv/bin/activate | ||
python --version | ||
pip --version | ||
pip install -r requirements-test.txt | ||
pip install -r requirements.txt | ||
# run tests! | ||
- run: | ||
name: run tests | ||
command: | | ||
. venv/bin/activate | ||
python -m pytest --cov=hamilton tests/ --ignore tests/integrations | ||
build-py37: | ||
docker: | ||
- image: circleci/python:3.7 | ||
|
||
steps: | ||
- checkout | ||
- run: | ||
name: install hamilton dependencies | ||
command: | | ||
sudo apt install graphviz | ||
python -m venv venv || virtualenv venv | ||
. venv/bin/activate | ||
python --version | ||
pip --version | ||
pip install -r requirements-test.txt | ||
pip install -r requirements.txt | ||
# run tests! | ||
- run: | ||
name: run tests | ||
command: | | ||
. venv/bin/activate | ||
python -m pytest --cov=hamilton tests/ --ignore tests/integrations | ||
build-py38: | ||
docker: | ||
- image: circleci/python:3.8 | ||
|
||
steps: | ||
- checkout | ||
- run: | ||
name: install hamilton dependencies | ||
command: | | ||
sudo apt install graphviz | ||
python -m venv venv || virtualenv venv | ||
. venv/bin/activate | ||
python --version | ||
pip --version | ||
pip install -r requirements-test.txt | ||
pip install -r requirements.txt | ||
# run tests! | ||
- run: | ||
name: run tests | ||
command: | | ||
. venv/bin/activate | ||
python -m pytest --cov=hamilton tests/ --ignore tests/integrations | ||
build-py39: | ||
docker: | ||
- image: circleci/python:3.9 | ||
|
||
steps: | ||
- checkout | ||
- run: | ||
name: install hamilton dependencies | ||
command: | | ||
sudo apt install graphviz | ||
python -m venv venv || virtualenv venv | ||
. venv/bin/activate | ||
python --version | ||
pip --version | ||
pip install -r requirements-test.txt | ||
pip install -r requirements.txt | ||
# run tests! | ||
- run: | ||
name: run tests | ||
command: | | ||
. venv/bin/activate | ||
python -m pytest --cov=hamilton tests/ --ignore tests/integrations | ||
pre-commit: | ||
docker: | ||
- image: circleci/python:3.7 | ||
steps: | ||
- checkout | ||
- run: | ||
name: run pre-commit hooks | ||
command: | | ||
pip install pre-commit | ||
pre-commit run --all-files | ||
dask-py36: | ||
docker: | ||
- image: circleci/python:3.6 | ||
|
||
steps: | ||
- checkout | ||
- run: | ||
name: install hamilton dependencies + dask | ||
command: | | ||
python -m venv venv || virtualenv venv | ||
. venv/bin/activate | ||
python --version | ||
pip --version | ||
pip install -r requirements-test.txt | ||
pip install -e ".[dask]" | ||
# run tests! | ||
- run: | ||
name: run tests | ||
command: | | ||
. venv/bin/activate | ||
python -m pytest graph_adapter_tests/h_dask | ||
dask-py37: | ||
docker: | ||
- image: circleci/python:3.7 | ||
|
||
steps: | ||
- checkout | ||
- run: | ||
name: install hamilton dependencies + dask | ||
command: | | ||
python -m venv venv || virtualenv venv | ||
. venv/bin/activate | ||
python --version | ||
pip --version | ||
pip install -r requirements-test.txt | ||
pip install -e ".[dask]" | ||
# run tests! | ||
- run: | ||
name: run tests | ||
command: | | ||
. venv/bin/activate | ||
python -m pytest graph_adapter_tests/h_dask | ||
ray-py37: | ||
docker: | ||
- image: circleci/python:3.7 | ||
|
||
steps: | ||
- checkout | ||
- run: | ||
name: install hamilton dependencies + ray | ||
command: | | ||
python -m venv venv || virtualenv venv | ||
. venv/bin/activate | ||
python --version | ||
pip --version | ||
pip install -r requirements-test.txt | ||
pip install -e ".[ray]" | ||
# run tests! | ||
- run: | ||
name: run tests | ||
command: | | ||
. venv/bin/activate | ||
python -m pytest graph_adapter_tests/h_ray | ||
spark-py38: | ||
docker: | ||
- image: cimg/openjdk:14.0 # need java on it | ||
|
||
steps: | ||
- checkout | ||
- run: | ||
name: install hamilton dependencies + spark | ||
command: | | ||
# venv & pip weren't installed -- so have to do this hacky stuff | ||
sudo apt-get update | ||
sudo apt-get install aptitude | ||
sudo aptitude install python3.8-venv -y | ||
python3.8 -m venv venv | ||
. venv/bin/activate | ||
python3.8 --version | ||
pip3.8 --version | ||
pip3.8 install -r requirements-test.txt | ||
pip3.8 install -e ".[pyspark]" # note bdist will error, but things install fine enough to run! | ||
# run tests! | ||
- run: | ||
name: run tests | ||
command: | | ||
. venv/bin/activate | ||
python -m pytest graph_adapter_tests/h_spark | ||
integrations-py36: | ||
docker: | ||
- image: circleci/python:3.6 | ||
steps: | ||
- checkout | ||
- run: | ||
name: install all python dependencies for integrations | ||
command: | | ||
python -m venv venv || virtualenv venv | ||
. venv/bin/activate | ||
python --version | ||
pip --version | ||
pip install -e .[pandera] # TODO -- add more as we add more integrations | ||
pip install -r requirements-test.txt | ||
# run tests! | ||
- run: | ||
name: run tests | ||
command: | | ||
. venv/bin/activate | ||
python -m pytest tests/integrations | ||
integrations-py37: | ||
docker: | ||
- image: circleci/python:3.7 | ||
steps: | ||
- checkout | ||
- run: | ||
name: install all python dependencies for integrations | ||
command: | | ||
python -m venv venv || virtualenv venv | ||
. venv/bin/activate | ||
python --version | ||
pip --version | ||
pip install -e .[pandera] # TODO -- add more as we add more integrations | ||
pip install -r requirements-test.txt | ||
# run tests! | ||
- run: | ||
name: run tests | ||
command: | | ||
. venv/bin/activate | ||
python -m pytest tests/integrations | ||
integrations-py38: | ||
docker: | ||
- image: circleci/python:3.8 | ||
steps: | ||
- checkout | ||
- run: | ||
name: install all python dependencies for integrations | ||
command: | | ||
python -m venv venv || virtualenv venv | ||
. venv/bin/activate | ||
python --version | ||
pip --version | ||
pip install -e .[pandera] # TODO -- add more as we add more integrations | ||
pip install -r requirements-test.txt | ||
# run tests! | ||
- run: | ||
name: run tests | ||
command: | | ||
. venv/bin/activate | ||
python -m pytest tests/integrations | ||
integrations-py39: | ||
docker: | ||
- image: circleci/python:3.9 | ||
steps: | ||
- checkout | ||
- run: | ||
name: install all python dependencies for integrations | ||
command: | | ||
python -m venv venv || virtualenv venv | ||
. venv/bin/activate | ||
python --version | ||
pip --version | ||
pip install -e .[pandera] # TODO -- add more as we add more integrations | ||
pip install -r requirements-test.txt | ||
# run tests! | ||
- run: | ||
name: run tests | ||
command: | | ||
. venv/bin/activate | ||
python -m pytest tests/integrations | ||
asyncio-py39: | ||
docker: | ||
- image: circleci/python:3.9 | ||
steps: | ||
- checkout | ||
- run: | ||
name: install hamilton dependencies + testing dependencies | ||
command: | | ||
python -m venv venv || virtualenv venv | ||
. venv/bin/activate | ||
python --version | ||
pip --version | ||
pip install -e . | ||
pip install -r graph_adapter_tests/h_async/requirements-test.txt | ||
# run tests! | ||
- run: | ||
name: run tests | ||
command: | | ||
. venv/bin/activate | ||
python -m pytest graph_adapter_tests/h_async | ||
workflows: | ||
version: 2 | ||
unit-test-workflow: | ||
jobs: | ||
- build-py36 | ||
- build-py37 | ||
- build-py38 | ||
- build-py39 | ||
- pre-commit | ||
- dask-py36 | ||
- dask-py37 | ||
- ray-py37 | ||
- spark-py38 | ||
- integrations-py36 | ||
- integrations-py37 | ||
- integrations-py38 | ||
- integrations-py39 | ||
- asyncio-py39 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# To use this file locally > git blame --ignore-revs-file .git-blame-ignore-revs | ||
# reformats repo to use black | ||
f273cd5725239cfc39ce05924e7384b3886b593b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
name: Bug report | ||
about: Create a bug report to help us improve Hamilton. | ||
title: Bug Report | ||
labels: triage | ||
assignees: '' | ||
|
||
--- | ||
|
||
Short description explaining the high-level reason for the new issue. | ||
|
||
# Current behavior | ||
|
||
|
||
## Stack Traces | ||
(If applicable) | ||
|
||
## Screenshots | ||
(If applicable) | ||
|
||
|
||
## Steps to replicate behavior | ||
1. | ||
|
||
## Library & System Information | ||
E.g. python version, hamilton library version, linux, etc. | ||
|
||
|
||
# Expected behavior | ||
|
||
|
||
# Additional context | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: Stitch Fix Hamilton Open Source Slack Server | ||
url: https://join.slack.com/t/hamilton-opensource/shared_invite/zt-1bjs72asx-wcUTgH7q7QX1igiQ5bbdcg | ||
about: We are piloting using slack for chat. Feel free to try asking questions there first. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest a feature/enhancement for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
Oops, something went wrong.