-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #146 from zuzukin/user-config
support for user settings
- Loading branch information
Showing
25 changed files
with
1,233 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# whl2conda release process | ||
|
||
The release process is currently entirely manual: | ||
|
||
## Prerequistes | ||
|
||
* [ ] Tests should be added for all new features or changed behavior. | ||
* [ ] All tests must pass locally and in CI jobs. | ||
* [ ] Significant changes should be described in `CHANGELOG.md` | ||
* [ ] New features and changes must be documented. | ||
|
||
## Release procedure | ||
|
||
### Package release | ||
|
||
1. Update version in `src/whl2conda/VERSION`. | ||
|
||
We use calver scheme of the form `YY.M.<patch>`, so the first release | ||
in June 2024 would be `24.6.0`. Increment the last number if there already | ||
was a release in the month. It may be surprising to users to see signficant | ||
changes introduced in a patch release, so it probably is best to delay such | ||
releases to the next month. | ||
|
||
2. Update the checked in copy of the standard renames table: | ||
|
||
```bash | ||
$ make update-std-rename | ||
``` | ||
|
||
commit the changed `src/whl2conda/api/stdrename.json` file. | ||
|
||
3. After all changes have been merged, check out `main` branch. | ||
|
||
4. Build wheel and conda package | ||
|
||
```bash | ||
$ make build-wheel | ||
``` | ||
5. Test built packages (*optional but recommended*) | ||
|
||
Test the generated wheel and conda package by installing locally and | ||
testing manually or by running `pytest test` in environment with installed | ||
package. | ||
|
||
6. When everything is ok, upload to pypi: | ||
|
||
```bash | ||
$ make check-upload | ||
$ make upload | ||
``` | ||
|
||
This assumes that you have permission to upload and have configured a token | ||
in you `~/.pypirc`. | ||
|
||
7. Watch for and accept merge request from conda-forge | ||
|
||
Sometime after the pypi upload, the whl2conda-feedstock on conda-forge | ||
will get an automatically generated merge request, and feedstock maintainers | ||
will get a notification. Usually this happens within a day of the pypi upload. | ||
|
||
If there are no breaking runtime dependencies, then nothing needs to be done | ||
other than to accept the merge request. If dependencies have changed, it will | ||
be necesssary to update the feedstock's conda-recipe. | ||
### Documentation release | ||
1. Build and review current documentation | ||
```bash | ||
$ make clean-doc | ||
$ make doc | ||
$ make doc-serve | ||
``` | ||
2. Deploy version to gh-pages git branch using mike and verify | ||
```bash | ||
$ make doc-deploy | ||
$ make doc-serve-all | ||
``` | ||
3. Upload gh-pages | ||
```bash | ||
$ make doc-upload | ||
``` | ||
The CI job will eventually install this at https://zuzukin.github.io/whl2conda/ | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# whl2conda.settings | ||
|
||
:::whl2conda.settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
24.4.0 | ||
24.5.0 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.