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

fix: build edge-cases with pgrx =0.11.1 #578

Conversation

workingjubilee
Copy link
Contributor

Ticket(s) Closed

What

Fixes several weird build edge-cases.

Why

These edge-cases prevent local builds from resolving correctly. These seem to disproportionately afflict CentOS 7, but they can arise in other build environments such as Debian, unless you carefully manage the build environment with e.g. Docker.

How

Upgrade pgrx to =0.11.1.

Tests

It does update all the workflows, of course, though I do not believe you wish to run a CentOS 7 test server at this time to test the exact edge-case in question.

Copy link

vercel bot commented Nov 28, 2023

@workingjubilee is attempting to deploy a commit to the ParadeDB Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

codecov bot commented Nov 28, 2023

Codecov Report

Merging #578 (b62d611) into dev (ed8fd71) will decrease coverage by 0.46%.
Report is 2 commits behind head on dev.
The diff coverage is 42.59%.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #578      +/-   ##
==========================================
- Coverage   61.52%   61.07%   -0.46%     
==========================================
  Files          43       43              
  Lines        3680     3717      +37     
==========================================
+ Hits         2264     2270       +6     
- Misses       1416     1447      +31     
Files Coverage Δ
pg_bm25/src/parade_index/index.rs 71.61% <80.00%> (+0.03%) ⬆️
pg_bm25/src/json/builder.rs 24.03% <0.00%> (-2.28%) ⬇️
pg_bm25/src/index_access/utils.rs 61.82% <47.50%> (-5.46%) ⬇️

Copy link

vercel bot commented Nov 28, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
paradedb ⬜️ Ignored (Inspect) Visit Preview Nov 28, 2023 10:56pm

@workingjubilee
Copy link
Contributor Author

@GPF199541 This should be an appropriate patch to make the source build work on your machine without needing to set any env vars or anything. Probably.

@philippemnoel
Copy link
Collaborator

Thank you @workingjubilee!

@philippemnoel philippemnoel merged commit 3c70f16 into paradedb:dev Nov 29, 2023
26 checks passed
@workingjubilee workingjubilee deleted the fix-builds-for-fucked-up-centos-envs-maybe branch November 29, 2023 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants