Skip to content

Commit b87990d

Browse files
authored
Merge pull request #20 from graphcore-research/version-0.2.1
Version 0.2.1
2 parents 978f739 + 4c8b194 commit b87990d

File tree

6 files changed

+14
-5
lines changed

6 files changed

+14
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
run: |
2222
pip install -U pip
2323
pip install .[dev]
24+
pip install -r requirements-test.txt
2425
2526
- name: Log installed environment
2627
run: |

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
project = "GFloat"
88
copyright = "2024, Graphcore Ltd"
99
author = "Andrew Fitzgibbon"
10-
release = "0.1" # Set version in package.sh
11-
version = "0.1" # Set version in package.sh
10+
release = "0.2.1" # Set version in package.sh
11+
version = "0.2.1" # Set version in package.sh
1212

1313
# -- General configuration
1414

etc/package.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,17 @@
44

55
set -o errexit
66

7-
VERSION="0.1"
7+
# This is the master location at which to change version number
8+
VERSION="0.2.1"
9+
10+
# Run the script to change the version elsewhere
811
perl -pi -e 's/^(release|version) = "([\d.]+)"/$1 = "'$VERSION'"/' docs/source/conf.py
912
perl -pi -e 's/^version = "([\d.]+)"/version = "'$VERSION'"/' pyproject.toml
1013

14+
# Build docs to embed version
1115
( cd docs && make html )
1216

17+
# Build distribution
1318
rm -rf dist
1419
pip install build twine
1520
python -m build

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ package-dir = {"" = "src"}
1010

1111
[project]
1212
name = "gfloat"
13-
version = "0.1" # Set version in package.sh
13+
version = "0.2.1" # Set version in package.sh
1414
authors = [
1515
{name = "Andrew Fitzgibbon", email = "[email protected]"},
1616
]

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Requirements for tests
22
pytest
33
ml_dtypes
4-
mx @ git+https://github.com/microsoft/microxcaling
4+
# See requirements-tests also for direct dependencies
55

66
# Requirements for development
77
pre-commit

requirements-test.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# PyPI doesn't like direct dependencies - see https://github.com/microsoft/microxcaling/issues/22
2+
3+
mx @ git+https://github.com/microsoft/microxcaling

0 commit comments

Comments
 (0)