Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
1.2k
Issue boards
Milestones
Code
Merge requests
651
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Merge requests
!76415
community/py3-cbor2: upgrade to 5.6.5
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
community/py3-cbor2: upgrade to 5.6.5
maribu/aports:community/py3-cbor2/5.6.5
into
master
Overview
0
Commits
1
Pipelines
3
Changes
3
Merged
Marian Buschsieweke
requested to merge
maribu/aports:community/py3-cbor2/5.6.5
into
master
2 weeks ago
Overview
0
Commits
1
Pipelines
3
Changes
3
Expand
https://github.com/agronholm/cbor2/releases/tag/5.6.5
👍
1
👎
0
Merge request reports
Compare
master
version 1
e1dc2bfe
2 weeks ago
master (base)
and
latest version
latest version
99e54544
1 commit,
2 weeks ago
version 1
e1dc2bfe
1 commit,
2 weeks ago
3 files
+
22
−
34
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
community/py3-cbor2/0001-fix-tests-on-32bit.patch
0 → 100644
+
17
−
0
Options
diff -rupN a/tests/test_decoder.py b/tests/test_decoder.py
--- a/tests/test_decoder.py 2024-12-04 02:09:45.093099392 +0100
+++ b/tests/test_decoder.py 2024-12-04 02:11:21.889038455 +0100
@@ -492,12 +492,7 @@
def test_datetime_date_out_of_range(impl
with pytest.raises(impl.CBORDecodeError) as excinfo:
impl.loads(unhexlify("a6c11b00002401001b000000000000ff00"))
- if sys.maxsize == 2147483647:
- cause_exc_class = OverflowError
- elif platform.system() == "Windows":
- cause_exc_class = OSError
- else:
- cause_exc_class = ValueError
+ cause_exc_class = ValueError
assert isinstance(excinfo.value.__cause__, cause_exc_class)
Loading