bigraph-schema 0.0.73__tar.gz → 0.0.74__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of bigraph-schema might be problematic. Click here for more details.
- {bigraph_schema-0.0.73/bigraph_schema.egg-info → bigraph_schema-0.0.74}/PKG-INFO +1 -1
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74/bigraph_schema.egg-info}/PKG-INFO +1 -1
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/pyproject.toml +1 -1
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/release.sh +11 -24
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/.github/workflows/notebook_to_html.yml +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/.github/workflows/pytest.yml +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/.gitignore +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/AUTHORS.md +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/CLA.md +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/CODE_OF_CONDUCT.md +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/CONTRIBUTING.md +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/LICENSE +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/README.md +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/bigraph_schema/__init__.py +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/bigraph_schema/edge.py +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/bigraph_schema/parse.py +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/bigraph_schema/protocols.py +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/bigraph_schema/registry.py +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/bigraph_schema/tests.py +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/bigraph_schema/type_functions.py +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/bigraph_schema/type_system.py +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/bigraph_schema/type_system_adjunct.py +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/bigraph_schema/units.py +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/bigraph_schema/utilities.py +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/bigraph_schema.egg-info/SOURCES.txt +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/bigraph_schema.egg-info/dependency_links.txt +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/bigraph_schema.egg-info/requires.txt +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/bigraph_schema.egg-info/top_level.txt +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/notebooks/core.ipynb +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/notebooks/demo.ipynb +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/notebooks/images/place-link.png +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/notebooks/images/reaction-after.png +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/notebooks/images/reaction-before.png +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/notebooks/images/redex-reactum.png +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/pytest.ini +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/setup.cfg +0 -0
- {bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/setup.py +0 -0
|
@@ -2,28 +2,18 @@
|
|
|
2
2
|
# the version and publishing the version to PyPI. Also perform some
|
|
3
3
|
# basic checks to avoid mistakes in releases, for example tags not
|
|
4
4
|
# matching PyPI.
|
|
5
|
-
# Usage: ./release.sh
|
|
5
|
+
# Usage: ./release.sh
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
set -e
|
|
8
8
|
|
|
9
|
-
#
|
|
10
|
-
|
|
11
|
-
# # Check version is valid
|
|
12
|
-
# setup_py_version="$(python setup.py --version)"
|
|
13
|
-
# if [ "$setup_py_version" != "$version" ]; then
|
|
14
|
-
# echo "setup.py has version $setup_py_version, not $version."
|
|
15
|
-
# echo "Aborting."
|
|
16
|
-
# exit 1
|
|
17
|
-
# fi
|
|
18
|
-
|
|
19
|
-
# Check working directory is clean
|
|
9
|
+
# check working directory is clean
|
|
20
10
|
if [ ! -z "$(git status --untracked-files=no --porcelain)" ]; then
|
|
21
11
|
echo "You have changes that have yet to be committed."
|
|
22
12
|
echo "Aborting."
|
|
23
13
|
exit 1
|
|
24
14
|
fi
|
|
25
15
|
|
|
26
|
-
#
|
|
16
|
+
# check that we are on main
|
|
27
17
|
branch="$(git rev-parse --abbrev-ref HEAD)"
|
|
28
18
|
if [ "$branch" != "main" ]; then
|
|
29
19
|
echo "You are on $branch but should be on main for releases."
|
|
@@ -31,24 +21,21 @@ if [ "$branch" != "main" ]; then
|
|
|
31
21
|
exit 1
|
|
32
22
|
fi
|
|
33
23
|
|
|
34
|
-
|
|
24
|
+
# bump the version
|
|
35
25
|
uv version --bump patch
|
|
36
26
|
version=$(uv version --short)
|
|
37
27
|
|
|
38
|
-
#
|
|
28
|
+
# create and push git tag
|
|
39
29
|
git add pyproject.toml
|
|
40
30
|
git commit -m "version $version"
|
|
41
31
|
git tag -m "version v$version" "v$version"
|
|
42
32
|
git push --tags
|
|
43
33
|
|
|
44
|
-
|
|
45
|
-
uv publish --token $(cat ~/.pypi-token)
|
|
34
|
+
# perform the build
|
|
46
35
|
rm -rf build/ dist/
|
|
36
|
+
uv build
|
|
47
37
|
|
|
38
|
+
# publish to pypi
|
|
39
|
+
uv publish --token $(cat ~/.pypi-token)
|
|
48
40
|
|
|
49
|
-
|
|
50
|
-
# rm -rf dist
|
|
51
|
-
# python setup.py sdist
|
|
52
|
-
# twine upload dist/*
|
|
53
|
-
|
|
54
|
-
echo "Version v$version has been published on PyPI and has a git tag."
|
|
41
|
+
echo "version v$version has been published on PyPI and has a git tag."
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bigraph_schema-0.0.73 → bigraph_schema-0.0.74}/bigraph_schema.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|