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

Datetime fails on modern 2.10 #29

Closed
DifferentialOrange opened this issue Aug 17, 2022 · 1 comment
Closed

Datetime fails on modern 2.10 #29

DifferentialOrange opened this issue Aug 17, 2022 · 1 comment
Assignees

Comments

@DifferentialOrange
Copy link

Tests fails in CI with Tarantool 2.10.1

ERROR: test__ext_datetime_write_before_1970 (test_mp_ext.MpExtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/asynctnt/asynctnt/asynctnt/_testbase.py", line 67, in wrapper
    self.loop.run_until_complete(__meth__(self, *args, **kwargs))
  File "/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
    return future.result()
  File "/home/runner/work/asynctnt/asynctnt/asynctnt/_testbase.py", line 293, in wrap
    return await res
  File "/home/runner/work/asynctnt/asynctnt/tests/test_mp_ext.py", line 223, in test__ext_datetime_write_before_1970
    resp = await self.conn.insert(sp, [1, dt])
asynctnt.exceptions.TarantoolDatabaseError: Invalid MsgPack - packet body

See https://github.com/DifferentialOrange/asynctnt/runs/7879026191?check_suite_focus=true

@igorcoding
Copy link
Owner

Thank you. I see the problem, will work on the solution

@igorcoding igorcoding self-assigned this Aug 17, 2022
igorcoding added a commit that referenced this issue Aug 19, 2022
* Fixed an issue with encoding datetimes less than 01-01-1970 (fixes [#29](#29))
* Fixed "Edit on Github" links in docs (fixes [#26](#26))
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

No branches or pull requests

2 participants