Skip to content

Commit 0c66d7a

Browse files
authored
Update repo links, split GHA workflows, make Linux wheels more compatible (#2)
1 parent 3920dc7 commit 0c66d7a

File tree

5 files changed

+38
-8
lines changed

5 files changed

+38
-8
lines changed

Diff for: .github/workflows/build_test.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,14 @@ jobs:
3535
- name: Install dependencies
3636
run: |
3737
make requirements
38-
- name: Static analysis
39-
if: "matrix.python == '3.8'"
40-
run: |
41-
make check
4238
- name: Build packages
4339
run: |
4440
make package
4541
- name: Repair wheels
4642
if: "matrix.os == 'ubuntu-20.04'"
4743
run: |
4844
pip install -U auditwheel patchelf
49-
auditwheel repair --plat manylinux_2_31_x86_64 --wheel-dir dist dist/ada_url-*linux*.whl
45+
auditwheel repair --plat manylinux_2_24_x86_64 --wheel-dir dist dist/ada_url-*linux*.whl
5046
- name: Run tests
5147
run: |
5248
pip install -e .

Diff for: .github/workflows/lint.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Lint
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened, ready_for_review]
6+
paths-ignore:
7+
- '**.rst'
8+
- 'docs/**'
9+
push:
10+
branches:
11+
- main
12+
paths-ignore:
13+
- '**.rst'
14+
- 'docs/**'
15+
16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
19+
20+
jobs:
21+
lint:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v3
25+
- name: Set up Python
26+
uses: actions/setup-python@v4
27+
with:
28+
python-version: "3.8"
29+
- name: Install dependencies
30+
run: |
31+
make requirements
32+
- name: Static analysis
33+
run: |
34+
make check

Diff for: docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
readme_dst = os.path.join(build_dir, 'README.pprst')
1515
shutil.copyfile(readme_src, readme_dst)
1616

17-
project = 'ada-url/python'
17+
project = 'ada-url/ada-python'
1818
copyright = '2023, Ada authors'
1919
author = 'Ada authors'
2020

Diff for: docs/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Clone the git repository to a directory for development:
1515

1616
.. code-block:: sh
1717
18-
git clone https://github.com/ada-url/python/ ada_url_python
18+
git clone https://github.com/ada-url/ada-python.git ada_url_python
1919
cd ada_url_python
2020
2121
Create a virtual environment to use for building:

Diff for: setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ classifiers =
1414
Programming Language :: Python :: 3
1515
Programming Language :: Python :: 3 :: Only
1616
project_urls =
17-
homepage = https://github.com/ada-url/python
17+
homepage = https://github.com/ada-url/ada-python
1818

1919
[options]
2020
packages = find:

0 commit comments

Comments
 (0)