Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release production #59

Closed
wants to merge 56 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
a7f0566
Bump pytest from 8.1.2 to 8.2.0 in /packages/kernel/py/stlite-server …
dependabot[bot] Apr 29, 2024
502d05d
feature/desktop cli log formatter (#890)
whitphx May 2, 2024
8f572ba
Update CHANGELOG.md
whitphx May 2, 2024
a61a022
v0.54.2
whitphx May 2, 2024
235ef31
Bump ejs from 3.1.9 to 3.1.10 in the npm_and_yarn group (#895)
dependabot[bot] May 2, 2024
1fbdf37
Bump streamlit-aggrid in /packages/kernel/py/stlite-server (#903)
dependabot[bot] May 14, 2024
75fa604
Update README.md
whitphx May 15, 2024
1ef2a3e
Bump pandas-stubs in /packages/kernel/py/stlite-server (#906)
dependabot[bot] May 16, 2024
2f8979c
docs: update README with instructions for how to run
larsmoa May 16, 2024
a8390bd
Bump matplotlib from 3.8.4 to 3.9.0 in /packages/kernel/py/stlite-ser…
dependabot[bot] May 20, 2024
bebf1bf
--- (#914)
dependabot[bot] May 21, 2024
d8d376b
--- (#917)
dependabot[bot] May 21, 2024
d6e4318
docs: add section about how to release
larsmoa May 21, 2024
82a5efc
Nit
larsmoa May 21, 2024
9cb3a4b
Update streamlit to 1.35.0 (#920)
whitphx May 26, 2024
0ac1ced
Fix stlite-server's test setup to set python path in pyproject.toml i…
whitphx May 26, 2024
7636a53
Update README.md
whitphx May 26, 2024
71e783e
Update CHANGELOG.md
whitphx May 27, 2024
7057c35
v0.55.0
whitphx May 27, 2024
0040d98
Delete the hiplot sample as it's no longer compatible with the latest…
whitphx May 27, 2024
78f2fd2
Replace time.sleep with asyncio.sleep in the component gallery sample…
whitphx May 27, 2024
6a9cf8d
Bump requests from 2.32.1 to 2.32.2 in /packages/kernel/py/stlite-ser…
dependabot[bot] May 27, 2024
61dc8f5
Update the 030_streamlit_e2e_tests sample where some tests have been …
whitphx May 27, 2024
e556e8c
Add .github/release.yml
whitphx May 27, 2024
7d04500
Update samples (#932)
whitphx May 28, 2024
39dab8e
Make st.logo stlite-compatible (#933)
whitphx May 28, 2024
27b8fcc
Update CHANGELOG.md
whitphx May 28, 2024
176a2a4
v0.55.1
whitphx May 28, 2024
3dd1209
Update Pyodide to 0.26.0 (#934)
whitphx May 29, 2024
2fe4ee8
Pin Electron version as it's necessary for electron-builder to determ…
whitphx May 29, 2024
1cc8af9
Update lerna-lite and refresh yarn.lock (#936)
whitphx May 29, 2024
9b465ac
Update CHANGELOG.md
whitphx May 29, 2024
db002f2
v0.56.0
whitphx May 29, 2024
208c9c7
Remove parquet-wasm deps from packages/*/package.json (#927)
whitphx May 29, 2024
631d050
Ruff (#938)
whitphx May 29, 2024
fa88ed3
Update desktop/README.md
whitphx May 30, 2024
b6edd77
Add --pyodide-source option and remove manual downloading of the preb…
whitphx May 30, 2024
f606b17
Update desktop/README.md and CHANGELOG.md
whitphx May 30, 2024
267ba1a
v0.57.0
whitphx May 30, 2024
5b4f87e
Merged
andeplane Jun 4, 2024
db8f474
Updated Python env
andeplane Jun 4, 2024
9f5b023
Updated Python version
andeplane Jun 5, 2024
9258b22
Merge pull request #50 from cognitedata/anders/stlite-0.57.0
andeplane Jun 5, 2024
4a972a9
docs: add release instructions with tags
larsmoa Jun 7, 2024
e7c9c6c
doc: typo in README
larsmoa Jun 12, 2024
76096ce
doc: typo in README
larsmoa Jun 12, 2024
c9a331c
feat: add new message "streamlit-app-print" for triggering print dialog
larsmoa Jun 12, 2024
11def18
feat: add new message "streamlit-app-print" for triggering print dial…
larsmoa Jun 12, 2024
eb3c284
Merge branch 'main' into larsmoa/readme-update-run2
larsmoa Jun 12, 2024
6ce023c
docs: update README with instructions for how to run
larsmoa Jun 12, 2024
939f6e1
fix: app window is all white after printing
larsmoa Jun 12, 2024
3067301
fix: app window is all white after printing
larsmoa Jun 13, 2024
5176954
feat: add new message for generating full resolution screenshots of t…
larsmoa Jun 14, 2024
ccb82e5
Add comment
larsmoa Jun 14, 2024
5041ff5
Nit
larsmoa Jun 14, 2024
cc88ebc
feat: add new message for generating full resolution screenshots of t…
larsmoa Jun 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
changelog:
categories:
- title: 🏕 Updates
labels:
- "*"
exclude:
labels:
- dependencies
- title: 👒 Dependencies
labels:
- dependencies
154 changes: 77 additions & 77 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,99 +3,99 @@ name: Build
on:
pull_request:
branches:
- '*'
- "*"

env:
GITHUB_PAGES_SUBDIR_MOUNTABLE: lib/mountable
USE_CONSTRAINTS_FILE: false # https://github.com/streamlit/streamlit/blob/1.27.0/.github/workflows/release.yml#L67-L68

jobs:
build:
strategy:
matrix:
target: ["mountable"]

env:
python-version: "3.11.2"
python-version: "3.12.1"
# To avoid an error like "FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory".
# See https://github.com/actions/virtual-environments/issues/70#issuecomment-653886422
# The Linux VM has 7GB RAM (https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources),
# so we set the max memory size as 6.5 GiB like https://nodejs.org/api/cli.html#--max-old-space-sizesize-in-megabytes
NODE_OPTIONS: "--max-old-space-size=6656"

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
submodules: true

## Set up Python and Poetry environment
- name: Set up Python ${{ env.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ env.python-version }}

# The following steps are based on https://github.com/python-poetry/poetry/blob/def1ee8f3ae00c307ca028da53d2347615c5c32b/.github/workflows/main.yml#L51-L84
- name: Get full Python version
id: full-python-version
run: echo version=$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))") >> $GITHUB_OUTPUT

- name: Bootstrap poetry
run: |
curl -sL https://install.python-poetry.org | python - -y

- name: Update PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Configure poetry
run: poetry config virtualenvs.in-project false

- name: Set up cache
uses: actions/cache@v3
id: cache
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}

- name: Ensure cache is healthy
if: steps.cache.outputs.cache-hit == 'true'
run: timeout 10s pip --version || rm -rf .venv

- name: Create virtualenv
run: python -m venv .venv

## Set up Node environment
- uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: 'yarn'
- run: yarn install --frozen-lockfile
# We require protoc >= 3.20, but Ubuntu 22.04 - the OS that these Github
# Actions are running as of 2023.05.03 - doesn't have recent versions
# of protoc in its package repository.
# Ref: https://github.com/streamlit/streamlit/blob/1.23.1/.github/actions/make_init/action.yml#L47-L56
# So we download the precompiled binary from the release page and install it,
# following https://grpc.io/docs/protoc-installation/#install-pre-compiled-binaries-any-os
- name: Install protoc
run: |
curl -LO $PB_REL/download/v3.20.3/protoc-3.20.3-linux-x86_64.zip
unzip protoc-3.20.3-linux-x86_64.zip -d $HOME/.local
echo "$HOME/.local/bin" >> $GITHUB_PATH
env:
PB_REL: "https://github.com/protocolbuffers/protobuf/releases"
- name: Set up
run: make init
## Build and deploy @stlite/mountable
# PUBLIC_URL here is set as a relative path, which is possible to the trick introduced at https://github.com/whitphx/stlite/pull/143.
- if: matrix.target == 'mountable'
name: Set PUBLIC_URL
run: echo "PUBLIC_URL=." >> $GITHUB_ENV
- if: matrix.target == 'mountable'
name: Build @stlite/mountable
run: |
. .venv/bin/activate
make mountable
- uses: actions/checkout@v3
with:
submodules: true

## Set up Python and Poetry environment
- name: Set up Python ${{ env.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ env.python-version }}

# The following steps are based on https://github.com/python-poetry/poetry/blob/def1ee8f3ae00c307ca028da53d2347615c5c32b/.github/workflows/main.yml#L51-L84
- name: Get full Python version
id: full-python-version
run: echo version=$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))") >> $GITHUB_OUTPUT

- name: Bootstrap poetry
run: |
curl -sL https://install.python-poetry.org | python - -y

- name: Update PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Configure poetry
run: poetry config virtualenvs.in-project false

- name: Set up cache
uses: actions/cache@v3
id: cache
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}

- name: Ensure cache is healthy
if: steps.cache.outputs.cache-hit == 'true'
run: timeout 10s pip --version || rm -rf .venv

- name: Create virtualenv
run: python -m venv .venv

## Set up Node environment
- uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: "yarn"
- run: yarn install --frozen-lockfile

# We require protoc >= 3.20, but Ubuntu 22.04 - the OS that these Github
# Actions are running as of 2023.05.03 - doesn't have recent versions
# of protoc in its package repository.
# Ref: https://github.com/streamlit/streamlit/blob/1.23.1/.github/actions/make_init/action.yml#L47-L56
# So we download the precompiled binary from the release page and install it,
# following https://grpc.io/docs/protoc-installation/#install-pre-compiled-binaries-any-os
- name: Install protoc
run: |
curl -LO $PB_REL/download/v3.20.3/protoc-3.20.3-linux-x86_64.zip
unzip protoc-3.20.3-linux-x86_64.zip -d $HOME/.local
echo "$HOME/.local/bin" >> $GITHUB_PATH
env:
PB_REL: "https://github.com/protocolbuffers/protobuf/releases"
- name: Set up
run: make init

## Build and deploy @stlite/mountable
# PUBLIC_URL here is set as a relative path, which is possible to the trick introduced at https://github.com/whitphx/stlite/pull/143.
- if: matrix.target == 'mountable'
name: Set PUBLIC_URL
run: echo "PUBLIC_URL=." >> $GITHUB_ENV

- if: matrix.target == 'mountable'
name: Build @stlite/mountable
run: |
. .venv/bin/activate
make mountable
Loading
Loading