Skip to content

Commit da0fe58

Browse files
Remove deprecated packages from the publish workflows
isonantic (PyPI) and isonantic-ts (npm) are merged into ison-py and ison-ts and are no longer maintained, so nothing should be able to publish them. Removed both jobs and their package choices. isonantic-rust stays in publish-crates.yml: isonantic-rs is not deprecated -- it remains a separate crate because Rust's module system prevents merging it into ison-rs the way the others were merged. Tradeoff: there is now no automated path to ship a final deprecation-notice release for these two. For npm that is covered by deprecate-npm.yml, which sets the registry flag without publishing. PyPI has no deprecation flag, so a final isonantic release would have to be done by hand -- deliberately, since the README notice is already published there. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent a56143a commit da0fe58

2 files changed

Lines changed: 0 additions & 86 deletions

File tree

.github/workflows/publish-npm.yml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ on:
1212
- all
1313
- ison-js
1414
- ison-ts
15-
- isonantic-ts
1615
dry_run:
1716
description: 'Dry run (no actual publish)'
1817
required: false
@@ -76,38 +75,3 @@ jobs:
7675
fi
7776
env:
7877
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
79-
80-
# DEPRECATED: isonantic-ts is merged into ison-ts (use ison-ts/validation).
81-
# Deliberately excluded from the 'all' path -- it only runs when explicitly
82-
# selected, e.g. to ship a final deprecation-notice release.
83-
publish-dependent:
84-
name: Publish isonantic-ts (DEPRECATED)
85-
runs-on: ubuntu-latest
86-
needs: publish-base
87-
if: ${{ always() && inputs.packages == 'isonantic-ts' }}
88-
steps:
89-
- name: Checkout
90-
uses: actions/checkout@v4
91-
92-
- name: Setup Node.js
93-
uses: actions/setup-node@v4
94-
with:
95-
node-version: '20'
96-
registry-url: 'https://registry.npmjs.org'
97-
98-
- name: Build isonantic-ts
99-
working-directory: isonantic-ts
100-
run: |
101-
npm ci
102-
npm run build
103-
104-
- name: Publish isonantic-ts
105-
working-directory: isonantic-ts
106-
run: |
107-
if [ "${{ inputs.dry_run }}" = "true" ]; then
108-
npm publish --dry-run
109-
else
110-
npm publish --access public
111-
fi
112-
env:
113-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/publish-pypi.yml

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ on:
1212
- all
1313
- ison-py
1414
- ison-cli
15-
- isonantic
1615
dry_run:
1716
description: 'Dry run (no actual publish)'
1817
required: false
@@ -133,52 +132,3 @@ jobs:
133132
run: |
134133
echo "Would publish:"
135134
ls -la dist/
136-
137-
# DEPRECATED: isonantic is merged into ison-py (use ison_parser.validation).
138-
# Deliberately excluded from the 'all' path -- it only runs when explicitly
139-
# selected, e.g. to ship a final deprecation-notice release.
140-
publish-isonantic:
141-
name: Publish isonantic (DEPRECATED)
142-
runs-on: ubuntu-latest
143-
needs: publish-ison-py
144-
if: ${{ always() && inputs.packages == 'isonantic' }}
145-
steps:
146-
- name: Checkout
147-
uses: actions/checkout@v4
148-
149-
- name: Set up Python
150-
uses: actions/setup-python@v5
151-
with:
152-
python-version: '3.11'
153-
154-
- name: Install build tools
155-
run: |
156-
python -m pip install --upgrade pip
157-
pip install build twine
158-
159-
- name: Wait for PyPI propagation
160-
if: ${{ inputs.packages == 'all' && inputs.dry_run != true }}
161-
run: sleep 60
162-
163-
- name: Build package
164-
working-directory: isonantic
165-
run: python -m build
166-
167-
- name: Check package
168-
working-directory: isonantic
169-
run: twine check dist/*
170-
171-
- name: Publish to PyPI
172-
if: ${{ inputs.dry_run != true }}
173-
working-directory: isonantic
174-
env:
175-
TWINE_USERNAME: __token__
176-
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
177-
run: twine upload dist/*
178-
179-
- name: Dry run - show what would be published
180-
if: ${{ inputs.dry_run == true }}
181-
working-directory: isonantic
182-
run: |
183-
echo "Would publish:"
184-
ls -la dist/

0 commit comments

Comments
 (0)