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

Set up releaser configuration #3

Merged
merged 9 commits into from
Mar 3, 2023
Merged

Set up releaser configuration #3

merged 9 commits into from
Mar 3, 2023

Conversation

dlqqq
Copy link
Member

@dlqqq dlqqq commented Mar 1, 2023

Description

  • Resets all package versions to 0.0.1
  • Renames NPM packages to @jupyter/ai and @jupyter/ai-dalle. This is subject to change depending on what the community thinks is best for the NPM package name.
  • Adds Jupyter Releaser GitHub workflows
  • Makes necessary changes to configuration files to allow jupyter releaser build-npm and jupyter releaser build-python to pass.

Verification

All commands in this section are to be run from the root of the monorepo.

Install Jupyter Releaser:

pip install jupyter_releaser

Build JS and Python distributions:

jupyter releaser prep-git --branch releaser-setup
jupyter releaser build-npm
jupyter releaser check-npm
jupyter releaser build-python
jupyter releaser check-python

Verify the distributions are built:

$ ls -1 .jupyter_releaser_checkout/dist
jupyter_ai-0.0.1-py3-none-any.whl
jupyter_ai-0.0.1.tar.gz
jupyter-ai-0.0.1.tgz
jupyter_ai_dalle-0.0.1-py3-none-any.whl
jupyter_ai_dalle-0.0.1.tar.gz
jupyter-ai-dalle-0.0.1.tgz

To test the server extensions, create a new conda environment, and then run:

pip install jupyterlab && pip install .jupyter_releaser_checkout/dist/*.whl
jupyter lab

And verify that Jupyter AI is running.

@dlqqq dlqqq added the enhancement New feature or request label Mar 1, 2023
@dlqqq dlqqq merged commit cc8dbe9 into main Mar 3, 2023
@dlqqq dlqqq deleted the releaser-setup branch March 3, 2023 22:40
dbelgrod pushed a commit to dbelgrod/jupyter-ai that referenced this pull request Jun 10, 2024
* minimal releaser configuration

* remove unused github workflows

* remove unused releaser configuration

* build NPM packages before build-npm step

* bind jupyter_ai python package version to definition in package.json

* do not specify url in core pyproject.toml

* run clean:all before building wheel

* fix labextension path for @jupyter/ai

* fix labextension path for @jupyter/ai-dalle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants