Skip to content

Commit 3d274cb

Browse files
committed
release
1 parent 4791742 commit 3d274cb

3 files changed

Lines changed: 37 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,3 +209,33 @@ jobs:
209209
files: |
210210
dist/*
211211
${{ env.BUILDDIR }}/*.deb
212+
213+
- name: Upload Python dist artifacts
214+
if: matrix.os == 'ubuntu-24.04'
215+
uses: actions/upload-artifact@v4
216+
with:
217+
name: python-dist
218+
path: dist/*
219+
if-no-files-found: error
220+
221+
pypi-publish:
222+
needs: [build-and-release, check-release]
223+
runs-on: ubuntu-latest
224+
environment: pypi
225+
permissions:
226+
# OIDC requirement
227+
id-token: write
228+
contents: read
229+
230+
steps:
231+
- name: Download dist artifacts
232+
uses: actions/download-artifact@v4
233+
with:
234+
name: python-dist
235+
path: dist
236+
237+
- name: Publish to PyPI (OIDC)
238+
uses: pypa/gh-action-pypi-publish@release/v1
239+
with:
240+
packages-dir: dist
241+
skip-existing: true

gcm/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.1
1+
0.0.0

pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ requires = ["setuptools>=80", "wheel", "setuptools_scm[toml]>=6.0"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
6-
name = "gcm"
7-
description = "A collection of monitoring utilities for the FAIR Cluster"
6+
name = "gpucm"
7+
description = "GPU Cluster Monitoring (GCM): Large-Scale AI Research Cluster Monitoring"
88
requires-python = ">=3.10"
99
dependencies = [
1010
# TODO (T198128870): Unpin the requests version
@@ -28,6 +28,10 @@ dependencies = [
2828
"clusterscope>=0.0.10",
2929
]
3030
dynamic = ["version"]
31+
license = { text = "MIT" }
32+
33+
[project.urls]
34+
Homepage = "https://github.com/facebookresearch/gcm"
3135

3236
[project.optional-dependencies]
3337
dev = [

0 commit comments

Comments
 (0)