Skip to content

Commit d74f155

Browse files
committed
fixing dependencies, and Pr workflows. also change minor version
1 parent 6598dd8 commit d74f155

File tree

3 files changed

+4
-49
lines changed

3 files changed

+4
-49
lines changed

.github/workflows/pr_build.yml

Lines changed: 3 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,8 @@ jobs:
1111
name: Run pytest
1212
uses: ./.github/workflows/tests.yml
1313

14-
build_test_wheels:
15-
name: Test build on Self-Hosted Runner
16-
runs-on: self-hosted
17-
needs: run_pytest
18-
strategy:
19-
fail-fast: true
20-
steps:
21-
- uses: actions/checkout@v4
22-
23-
- name: Build wheels
24-
uses: pypa/[email protected]
25-
with:
26-
package-dir: .
27-
output-dir: ./wheelhouse
28-
config-file: "{package}/pyproject.toml"
29-
30-
test_built_wheels:
31-
name: Test built wheels
32-
needs: build_test_wheels
14+
build_test_sdist:
15+
name: Test source distribution
3316
runs-on: self-hosted
3417
strategy:
3518
fail-fast: true
@@ -38,30 +21,11 @@ jobs:
3821
steps:
3922
- uses: actions/checkout@v4
4023

41-
- name: Setup Python
24+
- name: Set up Python
4225
uses: actions/setup-python@v5
4326
with:
4427
python-version: ${{ matrix.python-version }}
4528

46-
- name: Test import
47-
run: |
48-
PY_VERSION=$(echo ${{ matrix.python-version }} | sed 's/\.//g')
49-
50-
ls -la ./wheelhouse/
51-
52-
pip install ./wheelhouse/*cp${PY_VERSION}*.whl
53-
python -c "import radius_clustering; print(f'Successfully imported version {radius_clustering.__version__}')"
54-
55-
build_test_sdist:
56-
name: Test source distribution
57-
runs-on: self-hosted
58-
strategy:
59-
fail-fast: true
60-
matrix:
61-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
62-
steps:
63-
- uses: actions/checkout@v4
64-
6529
- name: Build sdist
6630
run: |
6731
pip install --upgrade pip

pyproject.toml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,6 @@ dev = [
5757
"setuptools>= 61.0",
5858
"black>=24.3.0",
5959
"ruff>=0.4.8",
60-
"sphinx>=8.1.3",
61-
"sphinx_gallery>=0.18.0",
62-
"sphinx-copybutton>=0.5.2",
63-
"pydata-sphinx-theme>=0.15.3",
64-
"sphinxcontrib-email>=0.3.6",
65-
"sphinx-remove-toctrees>=1.0.0",
66-
"sphinx-prompt>=1.9.0",
67-
"sphinx_design>=0.6.1",
68-
"sphinxcontrib.sass >= 0.3.4",
6960
]
7061

7162
doc = [

src/radius_clustering/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
__all__ = ["RadiusClustering"]
55

66
# Optionally, you can set a version number for your package
7-
__version__ = "1.2.1"
7+
__version__ = "1.2.2"

0 commit comments

Comments
 (0)