-
Notifications
You must be signed in to change notification settings - Fork 350
Change uint32_t to std::uint32_t in FileException #674
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
Change uint32_t to std::uint32_t in FileException #674
Conversation
|
It seems "include/pq_data_store.h" also has this problem |
|
@gopalrs review please? |
v3 is deprecated and breaking build
|
@gopalrs, this had some formatting issues, and also, can you help approve? |
- Consolidate multi-line cout statement in utils.h - Add proper spacing in WindowsAlignedFileReader constructor
- Fix multi-line cout statements in src/in_mem_data_store.cpp - Fix multi-line cout statements in src/index.cpp - Fix multi-line cout statements in apps/utils/vector_analysis.cpp - Fix multi-line cout statements in apps/utils/stats_label_data.cpp - Fix multi-line cout statements in apps/test_streaming_scenario.cpp
- latest available build for diskannpy in pypi is compatible with 3.11, no compatible version exists for 3.12 which is the default python version for runner os ubuntu 24.04 - Added steps to set up Python 3.11 and upgrade pip in the workflow.
|
@microsoft-github-policy-service agree |
|
@gopalrs, updated python version for the ubuntu build. latest ubuntu LTS version has python 3.12.x, which is not compatible with diskannpy, so had to revert to last compatible version 3.11.x for the build. |
|
@gopalrs, this is pending workflow approval and merge. can you please help take a look? |
|
@gptabhinav Sorry for the delay, we are not actively maintaining this repo. I've approved the changes. There are some formatting issues, so you may want to re-run the format tool and resubmit. |
|
@gopalrs makes sense. i was just working on this for my personal project, but was facing build failures, so added a fix here. i have updated the yaml to create different build artifact names based on jobid. this should fix the duplicate artifact build issue. reran clang formatting, but did not get any formatting changes this time. I think it already updated everything in the last push i did. can you review when you see this. and merge and close the pr it there is nothing else. thanks! |
|
@gopal-msr, not sure why, but merging is blocked |
|
@gptabhinav, merge done now. Thanks for the fix! |
Reference Issues/PRs
Fixes #673
What does this implement/fix? Briefly explain your changes.
The build was failing with:
This PR adds #include to include/ann_exception.h and updates the function signature to use std::uint32_t for portability.
Any other comments?