-
-
Notifications
You must be signed in to change notification settings - Fork 685
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
Migration guide for v1.0.0 #832
Labels
Milestone
Comments
kernicPanel
added a commit
to openfun/richie
that referenced
this issue
Mar 1, 2021
Arrow version 1.0 introduces some breaking changes arrow-py/arrow#832 timestamp property has been replaced by int_timestamp
kernicPanel
added a commit
to openfun/richie
that referenced
this issue
Mar 1, 2021
Arrow version 1.0 introduces some breaking changes arrow-py/arrow#832 timestamp property has been replaced by int_timestamp
kernicPanel
added a commit
to openfun/richie
that referenced
this issue
Mar 1, 2021
Arrow version 1.0 introduces some breaking changes arrow-py/arrow#832 timestamp property has been replaced by int_timestamp
kernicPanel
added a commit
to openfun/richie
that referenced
this issue
Mar 1, 2021
Arrow version 1.0 introduces some breaking changes arrow-py/arrow#832 timestamp property has been replaced by int_timestamp
sd2e-jenkins
pushed a commit
to SD2E/python-datacatalog
that referenced
this issue
Mar 2, 2021
This was referenced Mar 8, 2021
21 tasks
Also microseconds was renamed to microsecond in the arrow_object.replace() function. Probably also in other places |
pypingou
pushed a commit
to Pagure/pagure
that referenced
this issue
Feb 13, 2023
The missing property in newer arrow versions, caused that variables only contained references like '<bound method Arrow.timestamp of <Arrow [2023-01-15T02:16:14.627656+00:00]>>' instead the actual timestamp values. Tests in 'tests/test_pagure_flask_dump_load_ticket.py' failed with 'ValueError: could not convert string to float'. References https://arrow.readthedocs.io/en/latest/releases.html Quote: 'Calls to the timestamp property now emit a DeprecationWarning.' arrow-py/arrow#832 Quote: 'The .timestamp property has been removed to improve compatibility with datetime. Use .int_timestamp for the same results.' libgit2/pygit2#1122
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The v1.0.0 release of Arrow contains breaking changes, this migration guide outlines the changed APIs and functionality. Please visit #923 to discuss the changes and ask any questions.
Python
2.7
and3.5
are no longer supported.The
.timestamp
property has been removed to improve compatibility withdatetime
. Use.int_timestamp
for the same results.timestamp()
which wraps thedatetime
method of the same name.tzinfo
property directly, instead usereplace()
.arrow.get(None)
now returns an error rather than current UTC."X"
token now returns afloat
rather than anint
.The text was updated successfully, but these errors were encountered: