-
Notifications
You must be signed in to change notification settings - Fork 161
Add numpy 1.26.x support and Python 3.12/3.13 compatibility #2768
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
Open
rly
wants to merge
45
commits into
AllenInstitute:master
Choose a base branch
from
rly:feature/numpy-1.26-python-3.12-3.13
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
862e800
Update numpy version constraint to allow 1.24.x
rly 51a42e9
Merge pull request #1 from rly/feature/numpy-1.24.0-support
rly a25e4c7
Fix pytest 9 deprecation warnings
rly 0903e7f
Merge pull request #3 from rly/feature/fix-pytest-deprecations
rly d88e9c4
Update moto to v5+ and fix mock_s3 to mock_aws imports
rly c80bcfe
Remove redundant decorator
rly 29ac167
Merge pull request #4 from rly/feature/fix-cloud-cache-tests
rly a47faab
Fix pynwb compatibility issues
rly a335024
Fix pynwb compatibility issues
rly 5341672
Merge pull request #5 from rly/feature/fix-nwb-tests
rly 79c4c2e
Fix pytest.warns(None) TypeError in newer pytest versions
rly 31f3763
Fix GitHub Actions for macos-latest ARM64 transition
rly 078c2a7
Fix aiohttp ClientSession creation outside async context
rly 6c390a5
Merge pull request #6 from rly/feature/fix-misc-test-errors
rly 89c8c45
Fix numpy 1.24+ inhomogeneous array in gaze_mapper
rly 88fe8d9
Fix test_fitgaussian2D_failure mock for numpy 1.24+ compatibility
rly bc9ca74
Merge pull request #7 from rly/feature/fix-inhomogeneous-array-errors
rly 8a2e8f8
Drop Python 3.8/3.9 support and handle missing glymur gracefully
rly 3f7c9cf
Remove Python 3.12 support due to numpy 1.24.x incompatibility
rly a1d6897
Merge pull request #8 from rly/feature/fix-jpeg-glymur-errors
rly 3cb026c
Update macOS CI runners to macos-15-intel and add macos-latest (ARM64)
rly 00608e7
Add tolerance for curve fitting tests on ARM64
rly 6749d2d
Add numpy 1.26.x support and Python 3.12/3.13 compatibility
rly 7ef70d4
Allow pandas 1.5.3+ to maintain compatibility with existing code
rly 4f3cc5b
Remove scipy version constraint to allow pip to resolve based on Pyth…
rly c017460
Add Python 3.14 support
rly e2b3573
Remove Python 3.14 support due to missing dependency wheels
rly f926373
Fix scipy 1.14 and pandas 2.x compatibility issues
rly 0ab1a89
Fix scipy and pandas compatibility issues for Python 3.10+
rly 33e6129
Fix platform-specific test failures for ARM64 and Windows
rly 0aa6547
Fix cross-platform test compatibility issues
rly 0d85782
Add missing check_index_type=False to test_get_stimulus_presentations
rly 9af6eea
Update test dependencies for Python 3.12/3.13 compatibility
rly fa8b8af
Fix mock assertion typos and disable parallel testing on Windows 3.12+
rly d380c04
Fix test_get_ephys_sweeps assertions to match actual function signatures
rly 970e799
Fix test_get_ephys_sweeps to verify caching behavior correctly
rly 942cbb2
Remove deprecated pep8/pytest-pep8 and update test dependencies
rly 1f47802
Fix broken test_get_ephys_sweeps and disable coverage on Windows 3.13
rly dfa73f0
Enable parallel testing on Windows Python 3.12
rly 291f8d5
Debug: Run tests in batches on Windows Python 3.13 to isolate segfault
rly 216b0f8
Debug: Test basic pytest and imports on Windows Python 3.13
rly c370ac3
Exclude Windows Python 3.13 from CI due to numpy crash
rly 920e6b7
Add accurate notes about numpy<2 and Python 3.13 compatibility
rly 36c2a69
Fix pandas FutureWarnings in ecephys_project_cache
rly 036e383
Apply suggestions from code review
rly 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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change from
'None'to'N/A'for the IndexSeries unit may break compatibility with existing code or downstream consumers expecting'None'. Since this method is deprecated, consider whether this change is necessary or if it should remain as'None'to avoid breaking changes during the deprecation period.Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 'unit' field of IndexSeries is fixed to the value 'N/A' in the NWB standard. Recent versions of NWB do not allow for other values. Changing this back to "None" results in files that will fail validation.