File tree Expand file tree Collapse file tree 6 files changed +14
-5
lines changed Expand file tree Collapse file tree 6 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 21
21
run : |
22
22
pip install -U pip
23
23
pip install .[dev]
24
+ pip install -r requirements-test.txt
24
25
25
26
- name : Log installed environment
26
27
run : |
Original file line number Diff line number Diff line change 7
7
project = "GFloat"
8
8
copyright = "2024, Graphcore Ltd"
9
9
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
12
12
13
13
# -- General configuration
14
14
Original file line number Diff line number Diff line change 4
4
5
5
set -o errexit
6
6
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
8
11
perl -pi -e ' s/^(release|version) = "([\d.]+)"/$1 = "' $VERSION ' "/' docs/source/conf.py
9
12
perl -pi -e ' s/^version = "([\d.]+)"/version = "' $VERSION ' "/' pyproject.toml
10
13
14
+ # Build docs to embed version
11
15
( cd docs && make html )
12
16
17
+ # Build distribution
13
18
rm -rf dist
14
19
pip install build twine
15
20
python -m build
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ package-dir = {"" = "src"}
10
10
11
11
[project ]
12
12
name = " gfloat"
13
- version = " 0.1" # Set version in package.sh
13
+ version = " 0.2. 1" # Set version in package.sh
14
14
authors = [
15
15
{
name =
" Andrew Fitzgibbon" ,
email =
" [email protected] " },
16
16
]
Original file line number Diff line number Diff line change 1
1
# Requirements for tests
2
2
pytest
3
3
ml_dtypes
4
- mx @ git+https://github.com/microsoft/microxcaling
4
+ # See requirements-tests also for direct dependencies
5
5
6
6
# Requirements for development
7
7
pre-commit
Original file line number Diff line number Diff line change
1
+ # PyPI doesn't like direct dependencies - see https://github.com/microsoft/microxcaling/issues/22
2
+
3
+ mx @ git+https://github.com/microsoft/microxcaling
You can’t perform that action at this time.
0 commit comments