-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
BLD: Setup meson builds #49115
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
Merged
Merged
BLD: Setup meson builds #49115
Changes from 1 commit
Commits
Show all changes
129 commits
Select commit
Hold shift + click to select a range
a5b2572
BLD: Add meson.build files
lithomas1 7191763
BLD: Python changes to make meson build work
lithomas1 65be7cc
Merge branch 'main' of https://github.com/pandas-dev/pandas into add-…
lithomas1 e5805fc
Revert moving generate_version.py to scripts
lithomas1 2e89b1f
Update for sas byteswap module
lithomas1 66346a4
Update
lithomas1 e267f87
Add pyproject.toml changes
lithomas1 545a91a
Merge branch 'meson-py-file-changes' into add-meson-build-files
lithomas1 f85bd93
Revert "Add pyproject.toml changes"
lithomas1 8896002
Merge branch 'main' into add-meson-build-files
lithomas1 399a93f
fix style?
lithomas1 d01fe1a
fix?
lithomas1 9b64577
Squashed commit of the following:
lithomas1 0de3320
Merge branch 'main' of https://github.com/pandas-dev/pandas into add-…
lithomas1 a26c9dd
catchsegv and prepare to disable asserts
lithomas1 cf24f5d
Go for green
lithomas1 c5cbcab
green take 2
lithomas1 f56d1d4
Go for green take 3
lithomas1 24d07c2
forgot something
lithomas1 8ceb278
get the code-checks passing too
lithomas1 7d26fca
Merge branch 'main' of https://github.com/pandas-dev/pandas into add-…
lithomas1 796d4c4
Fix the darn code checks
lithomas1 d2764ef
pls work
lithomas1 ec386f7
maybe get the last failure
lithomas1 069e76e
pls work
lithomas1 9068490
maybe maybe maybe???
lithomas1 6d18625
pls work
lithomas1 496294c
Respect pyproject.toml
lithomas1 2e642e8
Maybe bring back cython doctests
lithomas1 2157f06
Cleanup
lithomas1 f1555ee
Cleanup
lithomas1 057ea20
Merge branch 'main' into add-meson-build-files
lithomas1 beeab2a
Revert changes to 32 bit
lithomas1 4ecbb41
Fix tests and benchmarks
lithomas1 e4c5933
Merge branch 'main' of https://github.com/pandas-dev/pandas into add-…
lithomas1 d00d35a
Fix bad merge
lithomas1 a823304
Try to fix tests after sync
lithomas1 073e371
Fix package checks
lithomas1 55f7ec8
Update
lithomas1 5c5a0ac
Merge branch 'main' of https://github.com/pandas-dev/pandas into add-…
lithomas1 5570d9b
update deps
lithomas1 2b5505e
Update all deps
lithomas1 a7a2e6f
update the rest
lithomas1 6ef5a18
Go for green
lithomas1 9fd9d2b
Merge branch 'main' of https://github.com/pandas-dev/pandas into add-…
lithomas1 782a8c7
Disable arm64 wheels for now
lithomas1 3dae633
Merge branch 'main' into add-meson-build-files
lithomas1 f86b11a
Merge branch 'add-meson-build-files' of github.com:lithomas1/pandas i…
lithomas1 d7a7bf1
Add docs
lithomas1 597dd67
update test docs
lithomas1 aa94fc7
Merge branch 'main' into add-meson-build-files
lithomas1 77ed403
Update wheels.yml
lithomas1 a2a8361
Merge branch 'main' into add-meson-build-files
lithomas1 a01aee8
Bad merge
lithomas1 b0a2093
Merge branch 'main' into add-meson-build-files
lithomas1 c2291dc
Fix benchmarks
lithomas1 6663d31
Update test_rolling.py
lithomas1 094957d
Update test_rolling.py
lithomas1 4fe3ec0
Merge branch 'pandas-dev:main' into add-meson-build-files
lithomas1 0ee732d
Merge branch 'main' into add-meson-build-files
lithomas1 6291b9b
Adjust for editable support in meson-python
lithomas1 f6422e5
Merge branch 'main' into add-meson-build-files
lithomas1 e1f750e
fixes
lithomas1 f36e014
Merge branch 'add-meson-build-files' of github.com:lithomas1/pandas i…
lithomas1 6ed4572
Try again
lithomas1 792c9eb
bring back cov-config
lithomas1 d64acbf
syntax
lithomas1 de5c42f
fix arraymanager
lithomas1 a862508
go for green
lithomas1 320a64b
Merge branch 'add-meson-build-files' of github.com:lithomas1/pandas i…
lithomas1 a7f973a
Update docs
lithomas1 fe904c5
Merge branch 'main' of https://github.com/pandas-dev/pandas into add-…
lithomas1 1bdedc6
Update contributing_environment.rst
lithomas1 9e1ccc2
Merge branch 'add-meson-build-files' of github.com:lithomas1/pandas i…
lithomas1 09c573d
Merge branch 'main' of https://github.com/pandas-dev/pandas into add-…
lithomas1 9c63bb1
Re-enable more tests
lithomas1 a3e7ba2
fix code checks
lithomas1 7a5e1d8
Also install _util.py
lithomas1 7f6afda
Install in editable mode on Windows as well
lithomas1 b9e9087
Merge branch 'pandas-dev:main' into add-meson-build-files
lithomas1 9592429
Merge branch 'main' into add-meson-build-files
lithomas1 cc89d18
Merge branch 'main' of https://github.com/pandas-dev/pandas into add-…
lithomas1 c228822
Add back the conda-forge compilers
lithomas1 cd38f4c
Merge branch 'main' into add-meson-build-files
lithomas1 3136cc5
debug
lithomas1 93f6e86
Merge branch 'main' into add-meson-build-files
lithomas1 b8be6a4
try something
lithomas1 12617c0
Merge branch 'main' into add-meson-build-files
lithomas1 6d088dd
missing deps for 3.11
lithomas1 23c2aaa
Merge branch 'main' into add-meson-build-files
lithomas1 3d92e2b
Bump meson, simplify
lithomas1 3b6bc5c
Merge branch 'main' into add-meson-build-files
lithomas1 61e4172
update for capsules?
lithomas1 cd5137c
more fixes
lithomas1 65bba29
Merge branch 'main' into add-meson-build-files
lithomas1 7225844
debug
lithomas1 e6133df
pin meson-python
lithomas1 dd46921
add back coverage stuff
lithomas1 9142148
Merge branch 'main' into add-meson-build-files
lithomas1 cf67679
yay, a 32 bit test passed
lithomas1 5213192
Merge branch 'main' into add-meson-build-files
lithomas1 3881827
fully fix 32-bit
lithomas1 2306dd5
pin more
lithomas1 e8389ca
remove unnecessary import
lithomas1 dc9d5f1
Merge branch 'main' of https://github.com/pandas-dev/pandas into add-…
lithomas1 1ff6c41
Squashed commit of the following:
lithomas1 41ef248
fixes
lithomas1 98600cc
Merge branch 'main' into add-meson-build-files
lithomas1 e34480a
remove libreduction
lithomas1 fe03652
go for green
lithomas1 b513ee8
go for green
lithomas1 00fd024
Update code-checks.yml
lithomas1 f854c02
Merge branch 'main' into add-meson-build-files
lithomas1 6270a2a
fix id
lithomas1 035df6b
fix code checks
lithomas1 a3e59fa
Merge branch 'main' of https://github.com/pandas-dev/pandas into add-…
lithomas1 1bfd61e
Go for green
lithomas1 ae67059
use python instead of python3
lithomas1 70a43bb
fix 32bit/musl compile command
lithomas1 996b93c
updates
lithomas1 432cd42
go for green
lithomas1 cda4d05
Fix code checks again? and musllinux
lithomas1 62fa12c
fix doctests
lithomas1 4df819c
fix docstrings
lithomas1 46845d5
remove extra meson-python install
lithomas1 58895b2
Merge branch 'main' of https://github.com/pandas-dev/pandas into add-…
lithomas1 d9d1658
remove some TODOs
lithomas1 28237d9
Merge branch 'main' of https://github.com/pandas-dev/pandas into add-…
lithomas1 7774dea
update debug instructions
lithomas1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
BLD: Python changes to make meson build work
- Loading branch information
commit 719176398a162d9f770cc0b4a3202e88f5eca4ce
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,13 +133,21 @@ def test_xarray_cftimeindex_nearest(): | |
assert result == expected | ||
|
||
|
||
def test_oo_optimizable(): | ||
def test_oo_optimizable(monkeypatch): | ||
# GH 21071 | ||
# Can't import pandas from the test directory since its not | ||
# built inplace with meson | ||
if pd._built_with_meson: | ||
monkeypatch.chdir("..") | ||
subprocess.check_call([sys.executable, "-OO", "-c", "import pandas"]) | ||
|
||
|
||
def test_oo_optimized_datetime_index_unpickle(): | ||
def test_oo_optimized_datetime_index_unpickle(monkeypatch): | ||
# GH 42866 | ||
# Can't import pandas from the test directory since its not | ||
# built inplace with meson | ||
if pd._built_with_meson: | ||
monkeypatch.chdir("..") | ||
subprocess.check_call( | ||
[ | ||
sys.executable, | ||
|
@@ -270,7 +278,11 @@ def test_yaml_dump(df): | |
tm.assert_frame_equal(df, loaded2) | ||
|
||
|
||
def test_missing_required_dependency(): | ||
def test_missing_required_dependency(monkeypatch): | ||
# TODO: This test is basically disabled until we have | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this comment still relevant? |
||
# editable installs in meson-python. Re-enable this when | ||
# that happens. | ||
|
||
# GH 23868 | ||
# To ensure proper isolation, we pass these flags | ||
# -S : disable site-packages | ||
|
@@ -283,6 +295,11 @@ def test_missing_required_dependency(): | |
# We skip this test if pandas is installed as a site package. We first | ||
# import the package normally and check the path to the module before | ||
# executing the test which imports pandas with site packages disabled. | ||
|
||
# Can't import pandas from the test directory since its not | ||
# built inplace with meson | ||
if pd._built_with_meson: | ||
monkeypatch.chdir("..") | ||
call = [pyexe, "-c", "import pandas;print(pandas.__file__)"] | ||
output = subprocess.check_output(call).decode() | ||
if "site-packages" in output: | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.