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

Do not merge or delete: Py36 compatibility branch #1162

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

haakonvt
Copy link
Contributor

@haakonvt haakonvt commented Mar 3, 2023

Description

It was requested that a newer version of the SDK was made Py36 compatible. This branch is it.

Note

  1. There are quite a few breaking changes going from v2 to v5. The most important are:
    1. v4 brought new credential classes: https://cognite-sdk-python.readthedocs-hosted.com/en/latest/cognite.html#authenticate
    2. v5 overhauled datapoints fetching: https://github.com/cognitedata/cognite-sdk-python/blob/master/MIGRATION_GUIDE.md
  2. Be careful trusting to_pandas conversions. Do not use retrieve_dataframe with uniform_index=True unless you use pandas >= 1.4 (requires PY38 😉 )
  3. Missing API: Context

How to pip install:

pip install git+https://github.com/cognitedata/cognite-sdk-python@py36-compat

Other

Ref. internal slack: https://cognitedata.slack.com/archives/C0252J883DG/p1677671617290589

@haakonvt haakonvt changed the title Do not merge: Py36 compatability branch Do not merge or delete: Py36 compatibility branch May 5, 2023
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.

1 participant