Skip to content

Commit 6f896bf

Browse files
Refactor conda-publish.yml for cryptographic packages
Updated conda-publish workflow to install cryptographic packages using conda instead of pip, and modified package list for installation.
1 parent 646db0b commit 6f896bf

1 file changed

Lines changed: 32 additions & 28 deletions

File tree

.github/workflows/conda-publish.yml

Lines changed: 32 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -211,20 +211,14 @@ jobs:
211211
run: |
212212
echo "🧪 Test ortamı oluşturuluyor (temel paketler)..."
213213
214-
# Sadece temel paketleri conda ile kur
214+
# Sadece temel bilimsel paketleri kur
215215
conda create -n test-env -y \
216216
python=${{ matrix.python-version }} \
217217
numpy \
218218
pandas \
219219
scipy \
220220
ipython \
221221
ipywidgets \
222-
cryptography \
223-
python-xxhash \
224-
pycryptodome \
225-
bcrypt \
226-
argon2-cffi \
227-
blake3 \
228222
pytest \
229223
pytest-cov \
230224
-c conda-forge -c bilgi
@@ -233,28 +227,38 @@ jobs:
233227
conda install -n test-env -y kececinumbers -c bilgi
234228
235229
echo ""
236-
echo "✅ Conda ile kurulan paketler:"
237-
conda list -n test-env | grep -E "(python|numpy|pandas|scipy|ipython|ipywidgets|cryptography|kececinumbers|python-xxhash|pycryptodome|bcrypt|argon2|cffi|blake3)" || true
238-
230+
echo "✅ Temel paketler kuruldu"
231+
239232
# ================================================================
240-
# ADIM 7: Python Binding'leri Pip ile Kur
233+
# ADIM 7: Kriptografik Paketleri Conda ile Kur
241234
# ================================================================
242-
- name: Install Python bindings with pip
235+
- name: Install cryptographic packages with conda
243236
run: |
244-
echo "📦 Python binding'leri pip ile kuruluyor..."
245-
246-
# Conda'da Python binding olmayan paketleri pip ile kur
247-
#conda run -n test-env pip install \
248-
#bcrypt \
249-
#argon2-cffi \
250-
#blake3 \
251-
#xxhash \
252-
#pycryptodome
253-
254-
#echo ""
255-
#echo "✅ Pip ile kurulan paketler:"
256-
#conda run -n test-env pip list | grep -E "(bcrypt|argon2|blake3|xxhash|pycryptodome)" || true
257-
237+
echo "🔐 Kriptografik paketler conda ile kuruluyor..."
238+
239+
# Her paketi ayrı ayrı kur (solver hatası önlemek için)
240+
echo "📦 cryptography kuruluyor..."
241+
conda install -n test-env -y cryptography -c conda-forge
242+
243+
echo "📦 pycryptodome kuruluyor..."
244+
conda install -n test-env -y pycryptodome -c conda-forge
245+
246+
echo "📦 bcrypt kuruluyor..."
247+
conda install -n test-env -y bcrypt -c conda-forge
248+
249+
echo "📦 argon2-cffi kuruluyor..."
250+
conda install -n test-env -y argon2-cffi -c conda-forge
251+
252+
echo "📦 blake3 kuruluyor..."
253+
conda install -n test-env -y blake3 -c conda-forge
254+
255+
echo "📦 python-xxhash kuruluyor..."
256+
conda install -n test-env -y python-xxhash -c conda-forge
257+
258+
echo ""
259+
echo "✅ Kriptografik paketler kuruldu:"
260+
conda list -n test-env | grep -E "(cryptography|pycryptodome|bcrypt|argon2|blake3|python-xxhash)" || true
261+
258262
# ================================================================
259263
# ADIM 8: Oluşturulan Paketi Kur
260264
# ================================================================
@@ -276,8 +280,8 @@ jobs:
276280
277281
echo ""
278282
echo "✅ Tüm paketler:"
279-
conda list -n test-env | grep -E "(kha256|bcrypt|argon2|cffi|blake3|python-xxhash|pycryptodome|cryptography|pycryptodome)" || true
280-
283+
conda list -n test-env | grep -E "(kha256|cryptography|pycryptodome|bcrypt|argon2|blake3|python-xxhash)" || true
284+
281285
# ================================================================
282286
# ADIM 9: Paket Import Testi
283287
# ================================================================

0 commit comments

Comments
 (0)