Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix pyodbc install failure #1992

Merged
merged 1 commit into from
Feb 15, 2023
Merged

ci: fix pyodbc install failure #1992

merged 1 commit into from
Feb 15, 2023

Conversation

dpgaspar
Copy link
Owner

@dpgaspar dpgaspar commented Feb 15, 2023

Description

Fix pyodbc currently failing on CI with:

      gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPYODBC_VERSION=4.0.30 -I/opt/hostedtoolcache/Python/3.7.15/x64/include/python3.7m -c src/buffer.cpp -o build/temp.linux-x86_64-3.7/src/buffer.o -Wno-write-strings
      In file included from /usr/include/sql.h:19:0,
                       from src/pyodbc.h:56,
                       from src/buffer.cpp:12:
      /usr/include/sqltypes.h:56:10: fatal error: unixodbc.h: No such file or directory
       #include "unixodbc.h"
                ^~~~~~~~~~~~
      compilation terminated.
      error: command 'gcc' failed with exit status 1
      [end of output]

Following: microsoft/linux-package-repositories#36

ADDITIONAL INFORMATION

  • Has associated issue:
  • Is CRUD MVC related.
  • Is Auth, RBAC security related.
  • Changes the security db schema.
  • Introduces new feature
  • Removes existing feature

@codecov
Copy link

codecov bot commented Feb 15, 2023

Codecov Report

Merging #1992 (964baa0) into master (5b50d42) will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1992      +/-   ##
==========================================
+ Coverage   78.07%   78.10%   +0.03%     
==========================================
  Files          71       71              
  Lines        8611     8611              
==========================================
+ Hits         6723     6726       +3     
+ Misses       1888     1885       -3     
Flag Coverage Δ
python 78.10% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
flask_appbuilder/security/sqla/manager.py 75.50% <0.00%> (+0.25%) ⬆️
flask_appbuilder/models/sqla/interface.py 81.92% <0.00%> (+0.33%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@dpgaspar dpgaspar merged commit 57e9d10 into master Feb 15, 2023
@dpgaspar dpgaspar deleted the fix/ci-pyodbc branch February 15, 2023 15:12
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