Skip to content

Commit 3d9c14a

Browse files
authored
Merge pull request #454 from sass/relase-bitrot
update release tooling
2 parents af3c4bf + 41f072d commit 3d9c14a

File tree

4 files changed

+9
-69
lines changed

4 files changed

+9
-69
lines changed

CONTRIBUTING.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ Tests
2323
- All code patches should contain one or more unit tests or regression tests.
2424
- All code patches have to successfully run tests on every Python version
2525
we aim to support. tox_ would help.
26-
- All commits will be tested by `Azure Pipelines`_ (Linux and Windows).
26+
- All commits will be tested by `GitHub Actions`_ (Linux and Windows).
2727

2828
.. _tox: https://tox.readthedocs.io/
29-
.. _`Azure Pipelines`: https://dev.azure.com/asottile/asottile/_build/latest?definitionId=22&branchName=main
29+
.. _`GitHub Actions`: https://github.com/sass/libsass-python/actions
3030

3131

3232
Maintainer's guide
@@ -50,10 +50,9 @@ Here's a brief check list for releasing a new version:
5050
- Make a source distribution and upload it to PyPI
5151
(``python3 setup.py sdist upload``).
5252
If it's successful the new version must appear on PyPI_.
53-
- `Azure Pipelines`_ automatically makes binary wheels for Windows, but each
53+
- `GitHub Actions`_ automatically makes binary wheels for Windows, but each
5454
CI build takes a while. These wheels are not automatically uploaded,
55-
but there's ``./bin/download-windows-wheels`` script that downloads built
56-
wheels. Then upload them with ``twine``.
55+
you can retreive them from the build's artifacts.
5756
- Run ``./bin/build-manylinux-wheels`` to build linux wheels and upload them to
5857
PyPI (takes ~5 minutes).
5958
- The `docs website`__ also has to be updated.

bin/build-manylinux-wheels

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def check_call(*cmd):
2222
def main():
2323
os.makedirs('dist', exist_ok=True)
2424
with tempfile.TemporaryDirectory() as work:
25-
pip = '/opt/python/cp37-cp37m/bin/pip'
25+
pip = '/opt/python/cp38-cp38/bin/pip'
2626
check_call(
2727
'docker', 'run', '-ti',
2828
# Use this so the files are not owned by root

bin/download-windows-wheels

Lines changed: 0 additions & 59 deletions
This file was deleted.

docs/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,11 @@
267267

268268

269269
extlinks = {
270-
'issue': ('https://github.com/sass/libsass-python/issues/%s', '#'),
270+
'issue': ('https://github.com/sass/libsass-python/issues/%s', '#%s'),
271271
'branch': (
272272
'https://github.com/sass/libsass-python/compare/main...%s',
273-
'',
273+
'%s',
274274
),
275-
'commit': ('https://github.com/sass/libsass-python/commit/%s', ''),
276-
'upcommit': ('https://github.com/sass/libsass/commit/%s', ''),
275+
'commit': ('https://github.com/sass/libsass-python/commit/%s', '%s'),
276+
'upcommit': ('https://github.com/sass/libsass/commit/%s', '%s'),
277277
}

0 commit comments

Comments
 (0)