Back to list
marcoloco23

deploy

by marcoloco23

Unit-aware tensors for physics and scientific machine learning

2🍴 0📅 Jan 13, 2026

SKILL.md


name: deploy description: Deploy dimtensor to PyPI. Use when releasing a new version. allowed-tools: Read, Edit, Bash

Deploy Skill

Steps to deploy a new dimtensor version to PyPI.

Pre-Deploy Checklist

  • All tests pass: pytest
  • mypy passes: mypy src/dimtensor --ignore-missing-imports
  • CHANGELOG.md updated with version changes
  • README.md updated if needed

Version Update

Update version in BOTH locations:

  1. pyproject.toml (line ~7):
version = "X.Y.Z"
  1. src/dimtensor/__init__.py (line ~35):
__version__ = "X.Y.Z"

Deploy Commands

# Working directory
cd "/Users/marcsperzel/Local Documents/Projects/Packages/dimtensor"

# Clean previous builds
rm -rf dist/ build/

# Build
python -m build

# Upload to PyPI
twine upload dist/*

Post-Deploy

  1. Update CONTINUITY.md:

    • Mark deploy task as DONE
    • Add session log entry with PyPI URL
    • Update CURRENT STATE version
  2. Git commit:

git add -A
git commit -m "Release vX.Y.Z: Description"
git push origin main
  1. Verify on PyPI:

Version Numbering

  • X.Y.Z (SemVer)
  • X: Major breaking changes
  • Y: New features (backward compatible)
  • Z: Bug fixes, patches

Troubleshooting

twine upload fails: Check ~/.pypirc credentials Build fails: Ensure build dependencies: pip install build twine

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon