Skip to content

Commit

Permalink
Merge pull request #43 from conda-incubator/pre-release-prep
Browse files Browse the repository at this point in the history
Pre-release updates
  • Loading branch information
trallard authored Mar 12, 2024
2 parents 9f72cd9 + a2c6082 commit 918c363
Show file tree
Hide file tree
Showing 4 changed files with 1,090 additions and 1,262 deletions.
1 change: 0 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
enableImmutableInstalls: true
nodeLinker: node-modules
12 changes: 9 additions & 3 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,27 @@ All the Python packaging instructions in the `pyproject.toml` file to wrap your
> [!IMPORTANT]
> There is no need to update the version in `pyproject.toml` as it is automatically updated by `hatch` when generating the package.

3. To create a Python source package (`.tar.gz`) and the binary package (`.whl`) in the `dist/` directory, do:
3. Optional - if there is a newer release of `conda-store-ui`, update the `conda-store-ui` dependency in the package.json file.

```bash
yarn upgrade @conda-store/conda-store-ui@<version>
```

4. To create a Python source package (`.tar.gz`) and the binary package (`.whl`) in the `dist/` directory, do:

```bash
python -m build
```

`python setup.py sdist bdist_wheel` is deprecated and will not work for this package.

1. Check the package contents with
5. Check the package contents with

```bash
twine check dist/*
```

2. Clean the local build files with `hatch clean`
6. Clean the local build files with `hatch clean`

> [!IMPORTANT]
> The `release.yml` GitHub action will automatically publish the package to PyPI when a new GitHub release is published. Unless absolutely necessary, do not publish the package manually.
Expand Down
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jupyterlab-conda-store",
"version": "2024.1.1",
"version": "2024.3.1",
"description": "A jupyterlab extension that provides a beautiful, user-friendly graphical interface for building and managing environments using ayour existing conda-store server",
"keywords": [
"jupyter",
Expand Down Expand Up @@ -30,6 +30,7 @@
"type": "git",
"url": "https://github.com/telamonian/jupyterlab-conda-store.git"
},
"private": true,
"workspaces": [
"ui-tests"
],
Expand Down Expand Up @@ -60,7 +61,7 @@
"watch:labextension": "jupyter labextension watch ."
},
"dependencies": {
"@conda-store/conda-store-ui": "2024.1.1",
"@conda-store/conda-store-ui": "2024.3.1",
"@jupyterlab/application": "^4.0.9",
"@jupyterlab/apputils": "^4.1.2",
"@jupyterlab/mainmenu": "^4.0.9",
Expand Down Expand Up @@ -95,6 +96,9 @@
"ts-jest": "^29.1.1",
"typescript": "~5.0.2"
},
"resolutions": {
"@types/react": "~18.2.21"
},
"sideEffects": [
"style/*.css",
"style/index.js"
Expand Down
Loading

0 comments on commit 918c363

Please sign in to comment.