Skip to content

Commit

Permalink
v3.0.0-rc.1
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Stein <[email protected]>
  • Loading branch information
texodus committed Jul 28, 2024
1 parent fd7ec5d commit 976727d
Show file tree
Hide file tree
Showing 45 changed files with 252 additions and 76 deletions.
172 changes: 172 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,17 @@ jobs:
arch: x86_64
python-version: 3.9
container: pagmo2/manylinux228_x86_64_with_deps
is-release:
- ${{ startsWith(github.ref, 'refs/tags/v') }}
exclude:
- os: windows-2022
arch: aarch64
- os: ubuntu-22.04
arch: aarch64
- os: macos-13
is-release: false
- os: windows-2022
is-release: false

steps:
- name: Checkout
Expand Down Expand Up @@ -222,11 +228,17 @@ jobs:
python-version:
- 3.9
node-version: [20.x]
is-release:
- ${{ startsWith(github.ref, 'refs/tags/v') }}
exclude:
- os: windows-2022
arch: aarch64
- os: ubuntu-22.04
arch: aarch64
- os: macos-13
is-release: false
- os: windows-2022
is-release: false

steps:
- name: Checkout
Expand Down Expand Up @@ -350,8 +362,15 @@ jobs:
- 3.9
# - 3.12
node-version: [20.x]
is-release:
- ${{ startsWith(github.ref, 'refs/tags/v') }}
arch:
- x86_64
exclude:
- os: macos-13
is-release: false
- os: windows-2022
is-release: false
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -378,3 +397,156 @@ jobs:
env:
PACKAGE: "perspective-python"
# PSP_USE_CCACHE: 1

# ,-,---. . .
# '|___/ ,-. ,-. ,-. |-. ,-,-. ,-. ,-. | ,
# ,| \ |-' | | | | | | | | ,-| | |<
# `-^---' `-' ' ' `-' ' ' ' ' ' `-^ ' ' `
#
# ,-_/ .---. .
# ' | ,-. . , ,-. \___ ,-. ,-. . ,-. |-
# | ,-| | / ,-| \ | | | | | |
# | `-^ `' `-^ `---' `-' ' ' |-' `'
# /` | |
# `--' '
benchmark_js:
needs: [build_js]
if: startsWith(github.ref, 'refs/tags/v')
strategy:
matrix:
os: [ubuntu-22.04]
node-version: [20.x]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Config
id: config-step
uses: ./.github/actions/config

- name: Initialize Build
uses: ./.github/actions/install-deps
with:
rust: "false"
cpp: "false"
python: "false"
javascript: "false"
skip_cache: ${{ steps.config-step.outputs.SKIP_CACHE }}

- uses: actions/download-artifact@v4
with:
name: perspective-js-dist
path: .

- name: Benchmarks
run: pnpm run bench

- uses: actions/upload-artifact@v4
with:
name: perspective-js-benchmarks
path: tools/perspective-bench/dist/benchmark-js.arrow

# .-,--. . . .
# '|__/ . . |-. | . ,-. |-.
# ,| | | | | | | `-. | |
# `' `-^ ^-' `' ' `-' ' '
#
publish:
needs: [build_and_test_juptyerlab, test_python, test_js, benchmark_js]
if: startsWith(github.ref, 'refs/tags/v')
strategy:
matrix:
os: [ubuntu-22.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2

- name: Config
id: config-step
uses: ./.github/actions/config

- name: Initialize Build
uses: ./.github/actions/install-deps
with:
rust: "false"
cpp: "false"
python: "false"
javascript: "false"
skip_cache: ${{ steps.config-step.outputs.SKIP_CACHE }}

- uses: actions/download-artifact@v4
with:
name: perspective-js-dist
path: .

- uses: actions/download-artifact@v4
with:
name: perspective-python-dist-aarch64-macos-13-3.9

- uses: actions/download-artifact@v4
with:
name: perspective-python-dist-x86_64-macos-13-3.9

- uses: actions/download-artifact@v4
with:
name: perspective-python-dist-x86_64-windows-2022-3.9

- uses: actions/download-artifact@v4
with:
name: perspective-python-dist-x86_64-ubuntu-22.04-3.9

# - uses: actions/download-artifact@v4
# with:
# name: perspective-python-sdist

- uses: actions/download-artifact@v4
with:
name: perspective-js-benchmarks

# - uses: actions/download-artifact@v4
# with:
# name: perspective-python-benchmarks

- run: pnpm pack --pack-destination=../..
working-directory: ./rust/perspective-js

- run: pnpm pack --pack-destination=../..
working-directory: ./rust/perspective-viewer

- run: pnpm pack --pack-destination=../..
working-directory: ./packages/perspective-viewer-datagrid

- run: pnpm pack --pack-destination=../..
working-directory: ./packages/perspective-viewer-d3fc

- run: pnpm pack --pack-destination=../..
working-directory: ./packages/perspective-viewer-openlayers

- run: pnpm pack --pack-destination=../..
working-directory: ./packages/perspective-workspace

- run: pnpm pack --pack-destination=../..
working-directory: ./packages/perspective-cli

- run: pnpm pack --pack-destination=../..
working-directory: ./packages/perspective-webpack-plugin

- run: pnpm pack --pack-destination=../..
working-directory: ./packages/perspective-esbuild-plugin

- run: pnpm pack --pack-destination=../..
working-directory: ./packages/perspective-jupyterlab

- name: Publish assets
uses: softprops/action-gh-release@v2
with:
draft: true
generate_release_notes: true
files: |
*.whl
*.tar.gz
*.tgz
*.arrow
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

[![npm](https://img.shields.io/npm/v/@finos/perspective.svg?style=flat)](https://www.npmjs.com/package/@finos/perspective)
[![PyPI](https://img.shields.io/pypi/v/perspective-python.svg?style=flat)](https://pypi.python.org/pypi/perspective-python)
[![Build Status](https://github.com/finos/perspective/actions/workflows/build.yml/badge.svg?branch=master&event=push)](https://github.com/finos/perspective/actions/workflows/build.yml)
[![crates.io](https://img.shields.io/crates/v/perspective.svg?style=flat)](https://crates.io/crates/perspective)
[![Build Status](https://github.com/finos/perspective/actions/workflows/build.yaml/badge.svg?branch=master&event=push)](https://github.com/finos/perspective/actions/workflows/build.yml)

This comment has been minimized.

Copy link
@timkpaine

timkpaine Aug 3, 2024

Member

oops!


<br/>

Expand Down
2 changes: 1 addition & 1 deletion cpp/perspective/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"author": "The Perspective Authors",
"license": "Apache-2.0",
"version": "2.10.1",
"version": "3.0.0-rc.1",
"main": "./dist/esm/perspective.cpp.js",
"files": [
"dist/esm/**/*",
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@finos/perspective-docs",
"version": "2.10.1",
"version": "3.0.0-rc.1",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
Expand Down
2 changes: 1 addition & 1 deletion docs/src/components/Demo/layouts.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

export const LAYOUTS = {
sparkgrid: {
version: "2.10.1",
version: "3.0.0-rc.1",
plugin: "Datagrid",
plugin_config: {
columns: {},
Expand Down
2 changes: 1 addition & 1 deletion examples/blocks/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "blocks",
"private": true,
"version": "2.10.1",
"version": "3.0.0-rc.1",
"description": "A collection of simple client-side Perspective examples for `http://bl.ocks.org`.",
"scripts": {
"start": "mkdirp dist && node --experimental-modules server.mjs",
Expand Down
2 changes: 1 addition & 1 deletion examples/esbuild-example/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "esbuild-example",
"private": true,
"version": "2.10.1",
"version": "3.0.0-rc.1",
"description": "An esbuild example app built using `@finos/perspective-viewer`.",
"scripts": {
"build": "node build.js",
Expand Down
2 changes: 1 addition & 1 deletion examples/esbuild-remote/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "esbuild-remote",
"private": true,
"version": "2.10.1",
"version": "3.0.0-rc.1",
"description": "An example of 2 Perspectives, one client and one server, streaming via Apache Arrow.",
"scripts": {
"start": "node build.js && node server/index.mjs"
Expand Down
2 changes: 1 addition & 1 deletion examples/python-aiohttp/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "python-aiohttp",
"private": true,
"version": "2.10.1",
"version": "3.0.0-rc.1",
"description": "An example of editing a `perspective-python` server from the browser.",
"scripts": {
"start": "PYTHONPATH=../../python/perspective python3 server.py"
Expand Down
2 changes: 1 addition & 1 deletion examples/python-starlette/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "python-starlette",
"private": true,
"version": "2.10.1",
"version": "3.0.0-rc.1",
"description": "An example of editing a `perspective-python` server from the browser.",
"scripts": {
"start": "PYTHONPATH=../../python/perspective python3 server.py"
Expand Down
2 changes: 1 addition & 1 deletion examples/python-tornado-streaming/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "python-tornado-streaming",
"private": true,
"version": "2.10.1",
"version": "3.0.0-rc.1",
"description": "An example of streaming a `perspective-python` server to the browser.",
"scripts": {
"start": "PYTHONPATH=../../python/perspective python3 server.py"
Expand Down
2 changes: 1 addition & 1 deletion examples/python-tornado/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "python-tornado",
"private": true,
"version": "2.10.1",
"version": "3.0.0-rc.1",
"description": "An example of editing a `perspective-python` server from the browser.",
"scripts": {
"start": "PYTHONPATH=../../python/perspective python3 server.py"
Expand Down
2 changes: 1 addition & 1 deletion examples/react-example/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-example",
"private": true,
"version": "2.10.1",
"version": "3.0.0-rc.1",
"description": "An example app built using `@finos/perspective-viewer`.",
"scripts": {
"start": "webpack serve --open",
Expand Down
2 changes: 1 addition & 1 deletion examples/rust-axum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ edition = "2021"
publish = false

[dependencies]
perspective = { version = "2.10.1", path = "../../rust/perspective" }
perspective = { version = "3.0.0-rc.1", path = "../../rust/perspective" }
axum = { version = "=0.7.4", features = ["ws"] }
futures = "0.3"
tokio = { version = "1.0", features = ["full"] }
Expand Down
2 changes: 1 addition & 1 deletion examples/rust-axum/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "rust-axum",
"private": true,
"version": "2.10.1",
"version": "3.0.0-rc.1",
"description": "An example of a Rust/Axum virtual Perspective server",
"scripts": {
"start": "cargo run"
Expand Down
Loading

0 comments on commit 976727d

Please sign in to comment.