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

Release 0.3.6 #512

Merged
merged 17 commits into from
Oct 1, 2023
Merged

Release 0.3.6 #512

merged 17 commits into from
Oct 1, 2023

Conversation

mhostetter
Copy link
Owner

No description provided.

mhostetter and others added 17 commits May 10, 2023 14:23
Starting with Numpy 1.25, only ndim-0 arrays are treated as scalars
instead of all arrays of size 1 were treated as scalars.
Python 3.11 introduced a length limitation in int -> str conversion as a
solution to CVE-2020-10735. This impacts galois to create FieldArray
with very large primes.

Example:

>>> import galois
>>> p = galois.mersenne_primes()[23]
>>> gf = galois.GF(p)

The solution does not impact unaffected versions of Python because
sys.set_int_max_str_digits() was introduced in Python 3.11.
This avoid `Literal[...]` bug, see jbms/sphinx-immaterial#275
@codecov
Copy link

codecov bot commented Oct 1, 2023

Codecov Report

All modified lines are covered by tests ✅

Files Coverage Δ
src/galois/_codes/_bch.py 97.56% <ø> (ø)
src/galois/_codes/_cyclic.py 98.64% <ø> (ø)
src/galois/_codes/_linear.py 76.38% <ø> (ø)
src/galois/_codes/_reed_solomon.py 95.41% <ø> (ø)
src/galois/_databases/_interface.py 98.07% <100.00%> (+0.25%) ⬆️
src/galois/_domains/_array.py 96.89% <ø> (ø)
src/galois/_domains/_meta.py 96.73% <ø> (ø)
src/galois/_fields/_array.py 98.75% <ø> (ø)
src/galois/_fields/_factory.py 96.72% <ø> (ø)
src/galois/_fields/_gf2.py 100.00% <ø> (ø)
... and 15 more

📢 Thoughts on this report? Let us know!.

@mhostetter mhostetter merged commit 99e91d9 into master Oct 1, 2023
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants