Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 32 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ jobs:
run: |
set -euo pipefail

CURRENT="$(dpkg-parsechangelog -S Version || true)"
CURRENT="$(dpkg-parsechangelog -S Version 2>/dev/null || true)"

if [[ "$CURRENT" == "$VERSION" ]]; then
echo "Changelog already at $VERSION — nothing to commit."
Expand Down Expand Up @@ -209,3 +209,34 @@ jobs:
files: |
dist/*
${{ env.BUILDDIR }}/*.deb

- name: Upload Python dist artifacts
if: matrix.os == 'ubuntu-24.04'
uses: actions/upload-artifact@v4
with:
name: python-dist
path: dist/*
if-no-files-found: error

pypi-publish:
needs: [build-and-release, check-release]
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'facebookresearch/gcm'}}
environment: pypi
permissions:
# OIDC requirement
id-token: write
contents: read

steps:
- name: Download dist artifacts
uses: actions/download-artifact@v4
with:
name: python-dist
path: dist

- name: Publish to PyPI (OIDC)
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist
skip-existing: true
14 changes: 2 additions & 12 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
gcm (0.0.1) UNRELEASED; urgency=medium
gcm (0.0.0) focal; urgency=medium

* 0.0.1

-- luccabb <luccab@meta.com> Fri, 22 Aug 2025 01:01:06 +0000

gcm (0.0.0) noble; urgency=medium

[ Lucca Bertoncini ]
* Initial release.

[ luccabb ]
* 0.0.0

-- luccabb <luccab@meta.com> Tue, 19 Aug 2025 03:48:38 +0000
-- luccabb <luccab@meta.com> Tue, 23 Dec 2025 16:16:51 -0800
2 changes: 1 addition & 1 deletion gcm/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.1
0.0.0
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ requires = ["setuptools>=80", "wheel", "setuptools_scm[toml]>=6.0"]
build-backend = "setuptools.build_meta"

[project]
name = "gcm"
description = "A collection of monitoring utilities for the FAIR Cluster"
name = "gpucm"
description = "GPU Cluster Monitoring (GCM): Large-Scale AI Research Cluster Monitoring"
requires-python = ">=3.10"
dependencies = [
# TODO (T198128870): Unpin the requests version
Expand All @@ -28,6 +28,10 @@ dependencies = [
"clusterscope>=0.0.10",
]
dynamic = ["version"]
license = { text = "MIT" }

[project.urls]
Homepage = "https://github.com/facebookresearch/gcm"

[project.optional-dependencies]
dev = [
Expand Down
4 changes: 2 additions & 2 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const config = {
position: 'right',
},
{
href: 'https://pypi.org/project/coregcm',
href: 'https://pypi.org/project/gpucm',
label: 'Pypi',
position: 'right',
},
Expand Down Expand Up @@ -161,7 +161,7 @@ const config = {
},
{
label: 'Pypi',
href: 'https://pypi.org/project/coregcm/',
href: 'https://pypi.org/project/gpucm/',
},
{
label: 'Discussions',
Expand Down
Loading