Skip to content

Commit 2056b6c

Browse files
committed
[fix/ci] limitplatforms and use forge packages
1 parent 5495215 commit 2056b6c

File tree

2 files changed

+19
-14
lines changed

2 files changed

+19
-14
lines changed

.conda-envs/meta.yaml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,27 @@ source:
77

88
build:
99
number: 0
10+
noarch: python
1011
script: "{{ PYTHON }} -m pip install . -vv"
1112

1213
requirements:
1314
host:
14-
- jinja2 >=3.1.6,<3.2
15-
- lazy_loader >=0.4,<0.5
15+
- conda-forge::jinja2 >=3.1.6,<3.2
16+
- conda-forge::lazy_loader >=0.4,<0.5
1617
- pip
17-
- pydantic >=2.11.7,<2.12
18+
- conda-forge::pydantic >=2.11.7,<2.12
1819
- python
19-
- requests >=2.32.4,<2.33
20-
- tenacity >=9.1.2,<9.2
21-
- urllib3 >=1.26.0,<3
20+
- conda-forge::requests >=2.32.4,<2.33
21+
- conda-forge::tenacity >=9.1.2,<9.2
22+
- conda-forge::urllib3 >=1.26.0,<3
2223
run:
23-
- jinja2 >=3.1.6,<3.2
24-
- lazy_loader >=0.4,<0.5
25-
- pydantic >=2.11.7,<2.12
24+
- conda-forge::jinja2 >=3.1.6,<3.2
25+
- conda-forge::lazy_loader >=0.4,<0.5
26+
- conda-forge::pydantic >=2.11.7,<2.12
2627
- python
27-
- requests >=2.32.4,<2.33
28-
- tenacity >=9.1.2,<9.2
29-
- urllib3 >=1.26.0,<3
28+
- conda-forge::requests >=2.32.4,<2.33
29+
- conda-forge::tenacity >=9.1.2,<9.2
30+
- conda-forge::urllib3 >=1.26.0,<3
3031

3132

3233
about:

.github/workflows/build_and_upload_conda_packages.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
echo "Building conda package with version: $PYATLAN_VERSION"
5151
conda build .conda-envs/meta.yaml --python ${{ matrix.python-version }} --output-folder /tmp/conda-builds --package-format tar.bz2
5252
53-
- name: Convert to all platforms
53+
- name: Convert to specific platforms
5454
run: |
5555
# Find the built package
5656
PACKAGE_PATH=$(find /tmp/conda-builds -name "*.tar.bz2" | head -1)
@@ -59,7 +59,11 @@ jobs:
5959
exit 1
6060
fi
6161
echo "Found package: $PACKAGE_PATH"
62-
conda convert -p all "$PACKAGE_PATH" -o /tmp/conda-builds
62+
# Convert to specific architectures only
63+
conda convert -p win-64 "$PACKAGE_PATH" -o /tmp/conda-builds
64+
conda convert -p linux-64 "$PACKAGE_PATH" -o /tmp/conda-builds
65+
conda convert -p osx-64 "$PACKAGE_PATH" -o /tmp/conda-builds
66+
6367
6468
- name: Upload to Anaconda
6569
env:

0 commit comments

Comments
 (0)