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

(v0.105.0) [CXT-778] Lock cognite-sdk to major version 4 #351

Merged
merged 5 commits into from
Sep 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ Changes are grouped as follows
- `Fixed` for any bug fixes.
- `Security` in case of vulnerabilities.

## [0.105.0]

### Fixed
- Dependency specification for `cognite-sdk`; now requiring major version 4
cyriaquebrousse marked this conversation as resolved.
Show resolved Hide resolved
- Bug where the code would try to mutate a now-removed set of path suffixes

## [0.104.0]

### Added
Expand Down
4 changes: 2 additions & 2 deletions cognite/experimental/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
from cognite.experimental._api.pnid_parsing import PNIDParsingAPI
from cognite.experimental._api.templatecompletion import ExperimentalTemplatesAPI

APIClient.RETRYABLE_POST_ENDPOINTS |= {
f"/{api}/{endpoint}" for api in ["types", "labels", "templates"] for endpoint in ["list", "byids", "search"]
APIClient._RETRYABLE_POST_ENDPOINT_REGEX_PATTERNS |= {
"^" + path + "(\?.*)?$" for path in ("/(types|labels|templates)/(list|byids|search)",)
}


Expand Down
26 changes: 13 additions & 13 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "cognite-sdk-experimental"

version = "0.104.0"
version = "0.105.0"

description = "Experimental additions to the Python SDK"
authors = ["Sander Land <[email protected]>"]
Expand Down Expand Up @@ -44,7 +44,7 @@ commands =

[tool.poetry.dependencies]
python = ">=3.8,<4.0.0"
cognite-sdk = "=4.5.3"
cognite-sdk = "^4"
responses = "^0.13.3"
sympy = "^1.3.0"
typing-extensions = ">=3.7.4,<5"
Expand Down