bigraph-schema 0.0.72__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.

Files changed (37) hide show
  1. {bigraph_schema-0.0.72/bigraph_schema.egg-info → bigraph_schema-0.0.74}/PKG-INFO +1 -1
  2. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74/bigraph_schema.egg-info}/PKG-INFO +1 -1
  3. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/pyproject.toml +1 -1
  4. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/release.sh +18 -20
  5. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/.github/workflows/notebook_to_html.yml +0 -0
  6. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/.github/workflows/pytest.yml +0 -0
  7. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/.gitignore +0 -0
  8. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/AUTHORS.md +0 -0
  9. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/CLA.md +0 -0
  10. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/CODE_OF_CONDUCT.md +0 -0
  11. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/CONTRIBUTING.md +0 -0
  12. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/LICENSE +0 -0
  13. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/README.md +0 -0
  14. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/bigraph_schema/__init__.py +0 -0
  15. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/bigraph_schema/edge.py +0 -0
  16. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/bigraph_schema/parse.py +0 -0
  17. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/bigraph_schema/protocols.py +0 -0
  18. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/bigraph_schema/registry.py +0 -0
  19. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/bigraph_schema/tests.py +0 -0
  20. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/bigraph_schema/type_functions.py +0 -0
  21. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/bigraph_schema/type_system.py +0 -0
  22. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/bigraph_schema/type_system_adjunct.py +0 -0
  23. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/bigraph_schema/units.py +0 -0
  24. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/bigraph_schema/utilities.py +0 -0
  25. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/bigraph_schema.egg-info/SOURCES.txt +0 -0
  26. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/bigraph_schema.egg-info/dependency_links.txt +0 -0
  27. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/bigraph_schema.egg-info/requires.txt +0 -0
  28. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/bigraph_schema.egg-info/top_level.txt +0 -0
  29. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/notebooks/core.ipynb +0 -0
  30. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/notebooks/demo.ipynb +0 -0
  31. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/notebooks/images/place-link.png +0 -0
  32. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/notebooks/images/reaction-after.png +0 -0
  33. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/notebooks/images/reaction-before.png +0 -0
  34. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/notebooks/images/redex-reactum.png +0 -0
  35. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/pytest.ini +0 -0
  36. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/setup.cfg +0 -0
  37. {bigraph_schema-0.0.72 → bigraph_schema-0.0.74}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bigraph-schema
3
- Version: 0.0.72
3
+ Version: 0.0.74
4
4
  Summary: A serializable type schema for compositional systems biology
5
5
  Author: Eran Agmon, Ryan Spangler
6
6
  Requires-Python: >=3.7
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bigraph-schema
3
- Version: 0.0.72
3
+ Version: 0.0.74
4
4
  Summary: A serializable type schema for compositional systems biology
5
5
  Author: Eran Agmon, Ryan Spangler
6
6
  Requires-Python: >=3.7
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "bigraph-schema"
3
- version = "0.0.72"
3
+ version = "0.0.74"
4
4
  description = "A serializable type schema for compositional systems biology"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.7"
@@ -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 0.0.1
5
+ # Usage: ./release.sh
6
6
 
7
7
  set -e
8
8
 
9
- version="$1"
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
- # Check that we are on main
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,13 +21,21 @@ if [ "$branch" != "main" ]; then
31
21
  exit 1
32
22
  fi
33
23
 
34
- # Create and push git tag
35
- git tag -m "Version v$version" "v$version"
24
+ # bump the version
25
+ uv version --bump patch
26
+ version=$(uv version --short)
27
+
28
+ # create and push git tag
29
+ git add pyproject.toml
30
+ git commit -m "version $version"
31
+ git tag -m "version v$version" "v$version"
36
32
  git push --tags
37
33
 
38
- # Create and publish package
39
- rm -rf dist
40
- python setup.py sdist
41
- twine upload dist/*
34
+ # perform the build
35
+ rm -rf build/ dist/
36
+ uv build
37
+
38
+ # publish to pypi
39
+ uv publish --token $(cat ~/.pypi-token)
42
40
 
43
- 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