Skip to content

Commit 29e209b

Browse files
committed
🔁 Merge main branch
Signed-off-by: Pavithra Eswaramoorthy <[email protected]>
2 parents 229c5ff + 47c1c50 commit 29e209b

File tree

166 files changed

+15435
-3151
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+15435
-3151
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.0.1
2+
current_version = 0.0.2
33
commit = True
44
tag = False
55

.github/CODEOWNERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
* @robambalu @AdamGlustein @svatasoiu @alexddobkin
2+
3+
.github @robambalu @timkpaine @ngoldbaum @alexddobkin @AdamGlustein @svatasoiu
4+
.github/CODEOWNERS @robambalu
5+

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ on:
1010
- LICENSE
1111
- NOTICE
1212
- README.md
13-
- docs
13+
- "docs/wiki/**"
1414
pull_request:
1515
branches:
1616
- main
1717
paths-ignore:
1818
- LICENSE
1919
- NOTICE
2020
- README.md
21-
- docs
21+
- "docs/wiki/**"
2222
workflow_dispatch:
2323
inputs:
2424
ci-full:
@@ -514,6 +514,8 @@ jobs:
514514

515515
runs-on: ${{ matrix.os }}
516516

517+
if: ${{ needs.initialize.outputs.FULL_RUN == 'true' }}
518+
517519
steps:
518520
- name: Checkout
519521
uses: actions/checkout@v4
@@ -542,7 +544,6 @@ jobs:
542544

543545
# Install sdist
544546
- name: Install sdist
545-
if: ${{ needs.initialize.outputs.FULL_RUN == 'true' }}
546547
run: python -m pip install -U -vvv dist/csp*.tar.gz --target .
547548
env:
548549
CCACHE_DIR: /home/runner/work/csp/csp/.ccache
@@ -551,7 +552,6 @@ jobs:
551552

552553
# Test sdist
553554
- name: Run tests against from-scratch sdist build
554-
if: ${{ needs.initialize.outputs.FULL_RUN == 'true' }}
555555
run: make test
556556
env:
557557
CSP_TEST_SKIP_EXAMPLES: "1"
@@ -585,7 +585,7 @@ jobs:
585585
- "sqlalchemy>=2"
586586
- "sqlalchemy<2"
587587
- "numpy==1.19.5"
588-
588+
589589
runs-on: ${{ matrix.os }}
590590

591591
steps:
@@ -666,7 +666,7 @@ jobs:
666666
run: ls -R ./dist
667667

668668
- name: Publish to github releases
669-
uses: softprops/action-gh-release@v1
669+
uses: softprops/action-gh-release@v2
670670
with:
671671
draft: true
672672
generate_release_notes: true

.github/workflows/conda.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: Conda End-to-end Test
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths-ignore:
8+
- LICENSE
9+
- NOTICE
10+
- README.md
11+
- "docs/wiki/**"
12+
pull_request:
13+
branches:
14+
- main
15+
paths-ignore:
16+
- LICENSE
17+
- NOTICE
18+
- README.md
19+
- "docs/wiki/**"
20+
workflow_dispatch:
21+
22+
concurrency:
23+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
24+
cancel-in-progress: true
25+
26+
permissions:
27+
contents: write
28+
checks: write
29+
30+
jobs:
31+
build:
32+
runs-on: ubuntu-22.04
33+
steps:
34+
- name: Checkout
35+
uses: actions/checkout@v4
36+
37+
- uses: mamba-org/setup-micromamba@v1
38+
with:
39+
micromamba-version: '1.5.7-0'
40+
environment-file: conda/dev-environment-linux.yml
41+
init-shell: >-
42+
bash
43+
cache-environment: true
44+
post-cleanup: 'all'
45+
46+
- name: Set up Caches
47+
uses: ./.github/actions/setup-caches
48+
with:
49+
cibuildwheel: 'cp311'
50+
51+
- name: Python Lint Steps (Linux)
52+
run: make lint
53+
shell: micromamba-shell {0}
54+
55+
- name: Python Build Steps (Linux)
56+
run: make build-conda
57+
shell: micromamba-shell {0}
58+
59+
- name: Python Test Steps (Linux)
60+
run: make test
61+
shell: micromamba-shell {0}

.github/workflows/publish_wiki.yml renamed to .github/workflows/wiki.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
build:
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v1
22+
- name: Checkout
23+
uses: actions/checkout@v4
24+
2325
- name: Upload Documentation to Wiki
2426
uses: Andrew-Chen-Wang/github-wiki-action@v4
2527
with:

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Project Configuration #
33
#########################
44
cmake_minimum_required(VERSION 3.20.0)
5-
project(csp VERSION "0.0.1")
5+
project(csp VERSION "0.0.2")
66
set(CMAKE_CXX_STANDARD 17)
77

88
###################################################################################################################################################

MANIFEST.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Text files
22
include LICENSE
3-
include NOTICE
3+
include NOTICE
44
include README.md
55

66
# Python files
@@ -22,6 +22,7 @@ prune .git
2222
prune .github
2323
prune .vscode
2424
prune ci
25+
prune conda
2526
prune examples
2627
exclude .clang-format
2728
exclude .gitattributes

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ endif
1111
#########
1212
# BUILD #
1313
#########
14-
.PHONY: develop build-py build install
14+
.PHONY: requirements develop build build-conda install
1515

1616
requirements: ## install python dev and runtime dependencies
1717
python -m pip install toml
@@ -21,10 +21,11 @@ requirements: ## install python dev and runtime dependencies
2121
develop: requirements ## install dependencies and build library
2222
python -m pip install -e .[develop]
2323

24-
build-py: ## build the python library
24+
build: ## build the library
2525
python setup.py build build_ext --inplace -- -- -j$(NPROC)
2626

27-
build: build-py ## build the library
27+
build-conda: ## build the library in Conda
28+
CSP_USE_VCPKG=0 python setup.py build build_ext --inplace -- -- -j$(NPROC)
2829

2930
install: ## install library
3031
python -m pip install .

dev-environment.yml renamed to conda/dev-environment-linux.yml

Lines changed: 29 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,38 +3,47 @@ channels:
33
- conda-forge
44
- nodefaults
55
dependencies:
6+
- bison
7+
- brotli
8+
- bump2version>=1
9+
- cmake
10+
- codespell
611
- compilers
712
- cyrus-sasl
13+
- exprtk
814
- flex
9-
- cmake
10-
- ninja
11-
- bison
12-
- tar
13-
- unzip
14-
- zip
15-
- numpy
16-
- pyarrow>=7.0.0
17-
- ruamel.yaml
18-
- scikit-build
19-
- psutil
20-
- sqlalchemy
21-
- bump2version>=1.0.0
2215
- python-graphviz
2316
- httpx
2417
- isort
25-
- ruff
26-
- twine
27-
- wheel
18+
- libarrow=15
19+
- librdkafka
20+
- lz4-c
21+
- mamba
22+
- mdformat
23+
- ninja
24+
- numpy
25+
- psutil
26+
- pyarrow=15
2827
- pandas
28+
- pillow
2929
- polars
3030
- pytz
3131
- pytest
3232
- pytest-cov
3333
- pytest-sugar
3434
- pytest-asyncio
3535
- python<3.12
36-
- tornado
3736
- python-rapidjson
38-
- pillow
39-
- mdformat
40-
- codespell
37+
- rapidjson
38+
- requests
39+
- ruamel.yaml
40+
- ruff
41+
- scikit-build
42+
- slack-sdk
43+
- sqlalchemy
44+
- tar
45+
- tornado
46+
- twine
47+
- unzip
48+
- wheel
49+
- zip

cpp/cmake/modules/FindBrotli.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,17 @@ find_path( BROTLI_INCLUDE_DIR
4949
message("Include: ${BROTLI_INCLUDE_DIR}")
5050

5151
find_library( BROTLI_STATIC_LIB_ENC
52-
NAMES libbrotlienc.a libbrotlienc-static.a
52+
NAMES libbrotlienc.a libbrotlienc-static.a brotlienc
5353
PATHS ${_brotli_roots}
5454
PATH_SUFFIXES "" "lib" )
5555

5656
find_library( BROTLI_STATIC_LIB_DEC
57-
NAMES libbrotlidec.a libbrotlidec-static.a
57+
NAMES libbrotlidec.a libbrotlidec-static.a brotlidec
5858
PATHS ${_brotli_roots}
5959
PATH_SUFFIXES "" "lib" )
6060

6161
find_library( BROTLI_STATIC_LIB_COMMON
62-
NAMES libbrotlicommon.a libbrotlicommon-static.a
62+
NAMES libbrotlicommon.a libbrotlicommon-static.a brotlicommon
6363
PATHS ${_brotli_roots}
6464
PATH_SUFFIXES "lib/${CMAKE_LIBRARY_ARCHITECTURE}" "lib" )
6565

@@ -101,4 +101,4 @@ mark_as_advanced(
101101
BROTLI_LIBS
102102
BROTLI_LIBRARIES
103103
BROTLI_STATIC_LIB
104-
)
104+
)

0 commit comments

Comments
 (0)