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

feat(ci): implement psycopg client installation for macos and windows #3932

Merged
merged 3 commits into from
Jan 8, 2025

Conversation

cofin
Copy link
Member

@cofin cofin commented Jan 8, 2025

Description

this CI implements the necessary steps for installing psycopg in osx and windows

Closes

@cofin cofin requested review from a team as code owners January 8, 2025 18:59
@github-actions github-actions bot added area/ci This PR involves changes to the CI/Infra area/dependencies This PR involves changes to the dependencies size: small type/feat pr/internal labels Jan 8, 2025
@cofin cofin changed the title feat(ci): this CI implements the necessary steps for installing psycopg in osx and windows feat(ci): implement psycopg client installation for macos and windows Jan 8, 2025
Copy link

codecov bot commented Jan 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.34%. Comparing base (9cc5396) to head (dcce225).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3932   +/-   ##
=======================================
  Coverage   98.34%   98.34%           
=======================================
  Files         347      347           
  Lines       15727    15727           
  Branches     1738     1738           
=======================================
+ Hits        15466    15467    +1     
+ Misses        126      124    -2     
- Partials      135      136    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Jan 8, 2025

Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/3932

@cofin cofin merged commit 5c87273 into litestar-org:main Jan 8, 2025
28 checks passed
@cofin cofin deleted the compat-3.13 branch January 8, 2025 19:11
Comment on lines +41 to +55
# Linux Source
- name: Install Build Dependencies
run: sudo apt-get install build-essential libpq-dev python3-dev -y
if: startsWith(inputs.os, 'ubuntu')

# MacOS Source
- name: Install Build Dependencies
run: brew install libpq && brew link --force libpq
if: startsWith(inputs.os, 'macos')

# Windows Source
- name: Install Build Dependencies
uses: ikalnytskyi/action-setup-postgres@v7
if: startsWith(inputs.os, 'windows')

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we skip those if we're not on 3.13, since we don't need to build psycopg there?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are actually running the test on 3.13 in windows and macos now as well. It's using the pure python implementation. The only requirement for those are the libpq development libraries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci This PR involves changes to the CI/Infra area/dependencies This PR involves changes to the dependencies pr/internal size: small type/feat
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants