-
Notifications
You must be signed in to change notification settings - Fork 292
move pydantic_core -> python/pydantic_core #705
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
Conversation
ea89f99
to
385985b
Compare
CodSpeed Performance ReportMerging #705 Summary
Benchmarks breakdown
|
385985b
to
f21a323
Compare
@davidhewitt how come the benchmarks are 30% faster now 🤔 ? |
My hunch is that I've mistakenly enabled mimalloc, though I thought I'd fixed that... |
a7617fe
to
7e4ac55
Compare
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## main #705 +/- ##
=======================================
Coverage 93.73% 93.73%
=======================================
Files 99 99
Lines 13805 13807 +2
Branches 25 25
=======================================
+ Hits 12940 12942 +2
Misses 859 859
Partials 6 6
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
a4016b9
to
99c446a
Compare
Ok so the answer is that with With this branch we are now building an optimized binary via |
please review |
Change Summary
This
python
subdirectory is recommended in thematurin
README at https://github.com/PyO3/maturin#mixed-rustpython-projectsBefore this PR there's some quirks where installing a pre-built
pydantic_core
(or withpip install .
) creates oddities with pytest, because installing in this way doesn't create a.so
file in thepydantic_core
source directory. The.so
file only gets created bypip install -e .
,maturin develop
, or ourmake build-x
rules. Leads to two possible edge cases:.so
in the source tree.so
in the source tree even though you probably meant to use the "installed".so
in your environment's packages directoryRelated issue number
N/A
Checklist
pydantic-core
(except for expected changes)Selected Reviewer: @samuelcolvin