Skip to content

fix: bundle cryptography when oracledb is included in PyInstaller builds - #21

Merged
TheCrab13 merged 1 commit into
mainfrom
fix/pyinstaller-oracledb-cryptography
Aug 17, 2026
Merged

fix: bundle cryptography when oracledb is included in PyInstaller builds#21
TheCrab13 merged 1 commit into
mainfrom
fix/pyinstaller-oracledb-cryptography

Conversation

@TheCrab13

Copy link
Copy Markdown
Contributor

oracledb's thin mode imports cryptography from thin_impl, a compiled Cython module PyInstaller cannot analyse, so the frozen binary failed at connection time with DPY-3016. Collect the package explicitly and abort the build when it is missing. Also fix binary detection in --onedir mode, where dist/db2sql is a directory.

oracledb's thin mode imports cryptography from thin_impl, a compiled
Cython module PyInstaller cannot analyse, so the frozen binary failed at
connection time with DPY-3016. Collect the package explicitly and abort
the build when it is missing. Also fix binary detection in --onedir
mode, where dist/db2sql is a directory.
@codecov

codecov Bot commented Aug 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #21   +/-   ##
=======================================
  Coverage   90.66%   90.66%           
=======================================
  Files          77       77           
  Lines        3076     3076           
=======================================
  Hits         2789     2789           
  Misses        287      287           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@TheCrab13
TheCrab13 merged commit b75296e into main Aug 17, 2026
6 checks passed
@TheCrab13
TheCrab13 deleted the fix/pyinstaller-oracledb-cryptography branch August 17, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant