-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the science binary URL in provenance. (#18)
- Loading branch information
Showing
8 changed files
with
74 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
# Release Notes | ||
|
||
## 0.1.1 | ||
|
||
Fix provenance (`science lift --include-provenance ...`) to include the correct download URL for | ||
the science binary used to build the scie. | ||
|
||
## 0.1.0 | ||
|
||
The 1st public release of the project. |
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 |
---|---|---|
|
@@ -13,24 +13,24 @@ | |
|
||
### Push Release Tag | ||
|
||
Sync a local branch with https://github.com/a-scie/jump main and confirm it has the version bump | ||
Sync a local branch with https://github.com/a-scie/lift main and confirm it has the version bump | ||
and changelog update as the tip commit: | ||
|
||
``` | ||
$ git log --stat -1 HEAD | ||
commit 01f3a0a8c9c278f092f13ce802bb10e6d3a16696 (HEAD -> main, upstream/main, upstream/HEAD) | ||
commit b46e245557f776594339e351ecf34e5c0fafb4d2 (HEAD -> main, upstream/main, upstream/HEAD) | ||
Author: John Sirois <[email protected]> | ||
Date: Wed May 17 10:26:46 2023 -0700 | ||
Date: Wed May 17 11:08:18 2023 -0700 | ||
Prepare the 0.1.0 release. | ||
Fix the science binary URL in provenance. | ||
.circleci/config.yml | 70 ++++++++++++++++++++++++++++++++++++ | ||
.github/workflows/release.yml | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++ | ||
CHANGES.md | 5 +++ | ||
CONTRIBUTING.md | 37 +++++++++++++++++++ | ||
README.md | 5 +++ | ||
RELEASE.md | 43 ++++++++++++++++++++++ | ||
6 files changed, 258 insertions(+) | ||
CHANGES.md | 5 +++++ | ||
RELEASE.md | 2 +- | ||
science/__init__.py | 2 +- | ||
science/build_info.py | 6 +++--- | ||
science/lift.py | 2 +- | ||
tests/test_exe.py | 2 +- | ||
6 files changed, 12 insertions(+), 7 deletions(-) | ||
``` | ||
|
||
Tag the release as `v<version>` and push the tag to https://github.com/a-scie/lift main: | ||
|
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,25 +1,36 @@ | ||
[lift] | ||
# Name can be over-ridden with `science lift --app-name ...` which we do when producing "fat" scies. | ||
name = "science" | ||
# We do this here and dogfood ourself! | ||
description = "Ship your interpreted executables using science." | ||
|
||
[[lift.interpreters]] | ||
id = "cpython" | ||
provider = "PythonBuildStandalone" | ||
release = "20230507" | ||
version = "3.11.3" | ||
# By default science ships as a "thin" scie that fetches CPython 3.11 on first run. | ||
# We use `science lift --invert-lazy cpython ...` when producing "fat" scies. | ||
lazy = true | ||
|
||
[[lift.files]] | ||
# The nox build emits this at `dist/science.pyz` and so our packaging process maps that path using | ||
# `science lift --file science.pyz=dist/science.pyz ...`. | ||
name = "science.pyz" | ||
|
||
[[lift.commands]] | ||
# This selects the `python` binary from within the CPython 3.11 interpreter distribution | ||
# (a tarball) provided by PythonBuildStandalone above. | ||
exe = "#{cpython:python}" | ||
args = [ | ||
"{science.pyz}", | ||
] | ||
env.remove_re = [ | ||
|
||
[lift.commands.env] | ||
# We strip any ambient SHIV_* env vars and set the SHIV_ROOT to ensure hermetic operation. Although | ||
# `science` is a Python 3.11 shiv zipapp application under the covers; this should be opaque to the | ||
# end user. For their puposes `science` is just a native binary. | ||
remove_re = [ | ||
"SHIV_.*", | ||
] | ||
|
||
[lift.commands.env.replace] | ||
SHIV_ROOT = "{scie.bindings}/shiv_root" | ||
replace = { SHIV_ROOT = "{scie.bindings}/shiv_root" } |
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,4 +1,4 @@ | ||
# Copyright 2022 Science project contributors. | ||
# Licensed under the Apache License, Version 2.0 (see LICENSE). | ||
|
||
__version__ = "0.1.0" | ||
__version__ = "0.1.1" |
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