Skip to content

Commit

Permalink
Bump to python version 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
erikzaadi committed Oct 27, 2024
1 parent 4795544 commit 6f62a9e
Show file tree
Hide file tree
Showing 39 changed files with 54 additions and 46 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/apply-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'

- name: Install Poetry
uses: snok/install-poetry@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/core-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
- name: Install poetry
run: pipx install poetry

- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'
cache: 'poetry'

- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integrations-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
- name: Install poetry
run: pipx install poetry

- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'
cache: 'poetry'

- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
- name: Install poetry
run: pipx install poetry

- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'
cache: 'poetry'

- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-framework.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
name: Publish Ocean
runs-on: ubuntu-latest
steps:
- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'
- name: Checkout Repo
uses: actions/checkout@v4
- name: Make install and build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upgrade-integrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'

- name: Install Poetry
uses: snok/install-poetry@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate-integration-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"

- name: Checkout code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.11
3.12
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

<!-- towncrier release notes start -->

## 0.13.0 (2024-10-27)


### Improvements

- Bump python from 3.11 to 3.12 (0.13.0)


## 0.12.7 (2024-10-23)


Expand Down
2 changes: 1 addition & 1 deletion integrations/argocd/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Argo CD integration powered by Ocean"
authors = ["Isaac Coffie <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "0.12.7", extras = ["cli"]}

[tool.poetry.group.dev.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion integrations/aws/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "This integration will map all your resources in all the available
authors = ["Shalev Avhar <[email protected]>", "Erik Zaadi <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}
python-dotenv = "^1.0.1"
aioboto3 = "^12.4.0"
Expand Down
2 changes: 1 addition & 1 deletion integrations/azure-devops/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "An Azure Devops Ocean integration"
authors = ["Matan Geva <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}

[tool.poetry.group.dev.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion integrations/azure/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Azure integration"
authors = ["Tom Tankilevitch <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}
# due to patching the azure-mgmt-resource package, we need to use a specific version
azure-mgmt-resource = "23.0.1"
Expand Down
2 changes: 1 addition & 1 deletion integrations/backstage/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Importing resources from Backstage IDP"
authors = ["Roi Talpaz <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}

[tool.poetry.group.dev.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion integrations/datadog/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Datadog Ocean Integration"
authors = ["Albert Luganga <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}
loguru = "^0.7.2"

Expand Down
2 changes: 1 addition & 1 deletion integrations/dynatrace/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "An integration used to import Dynatrace resources into Port"
authors = ["Ayodeji Adeoti <<[email protected]>>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}

[tool.poetry.group.dev.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion integrations/fake-integration/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "A useless fake integration that helps us test the Ocean Core"
authors = ["Erik Zaadi <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}
faker = "^28.0.0"

Expand Down
2 changes: 1 addition & 1 deletion integrations/firehydrant/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "FireHydrant Integration Powered by Ocean"
authors = ["Isaac Coffie <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}

[tool.poetry.group.dev.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion integrations/gcp/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "A GCP ocean integration"
authors = ["Matan Geva <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}
google-cloud-asset = "^3.25.1"
google-cloud-pubsub = "^2.21.1"
Expand Down
2 changes: 1 addition & 1 deletion integrations/gitlab/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Gitlab integration for Port using Port-Ocean Framework"
authors = ["Yair Siman-Tov <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
aiofiles = "^0.6.0"
aiolimiter = "^1.1.0"
python-gitlab = "^3.14.0"
Expand Down
2 changes: 1 addition & 1 deletion integrations/jenkins/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Jenkins Integration to Port Ocean"
authors = ["Albert Luganga <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}
pip = "^23.3.1"
python-dotenv = "^1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion integrations/jira/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Integration to bring information from Jira into Port"
authors = ["Mor Paz <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}
httpx = "^0.27.0"

Expand Down
2 changes: 1 addition & 1 deletion integrations/kafka/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Integration to import information from a Kafka cluster into Port.
authors = ["Tal Sabag <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}
confluent-kafka = "^2.2.0"

Expand Down
2 changes: 1 addition & 1 deletion integrations/kubecost/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Kubecost integration powered by Ocean"
authors = ["Isaac Coffie <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}

[tool.poetry.group.dev.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion integrations/launchdarkly/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Launchdarkly integration for Port"
authors = ["Michael Armah <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}

[tool.poetry.group.dev.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion integrations/linear/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Integration to bring information from Linear into Port"
authors = ["Mor Paz <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}

[tool.poetry.group.dev.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion integrations/newrelic/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "New Relic Integration"
authors = ["Tom Tankilevitch <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}
httpx = "^0.27.0"

Expand Down
2 changes: 1 addition & 1 deletion integrations/octopus/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "This integration ingest data from octopus deploy"
authors = ["Adebayo Iyanuoluwa <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}

[tool.poetry.group.dev.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion integrations/opencost/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Ocean integration for OpenCost"
authors = ["Isaac Coffie <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}

[tool.poetry.group.dev.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion integrations/opsgenie/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Ocean integration for OpsGenie"
authors = ["Isaac Coffie <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}

[tool.poetry.group.dev.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion integrations/pagerduty/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Pagerduty Integration"
authors = ["Port Team <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}
httpx = "^0.27.0"

Expand Down
2 changes: 1 addition & 1 deletion integrations/sentry/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Sentry Integration"
authors = ["Dvir Segev <[email protected]>","Matan Geva <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}

[tool.poetry.group.dev.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion integrations/servicenow/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Service Now Ocean Integration"
authors = ["Isaac Coffie <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}

[tool.poetry.group.dev.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion integrations/snyk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Snyk integration powered by Ocean"
authors = ["Isaac Coffie <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}

[tool.poetry.group.dev.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion integrations/sonarqube/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "SonarQube projects and code quality analysis integration"
authors = ["Port Team <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}
rich = "^13.5.2"
cookiecutter = "^2.3.0"
Expand Down
2 changes: 1 addition & 1 deletion integrations/statuspage/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Connect Statuspage to Ocean and automatically ingest incidents, u
authors = ["Albert Luganga <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}

[tool.poetry.group.dev.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion integrations/terraform-cloud/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Terraform Cloud Integration for Port"
authors = ["Michael Armah <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}

[tool.poetry.group.dev.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion integrations/wiz/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Wiz Port integration in Ocean"
authors = ["Albert Luganga <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
port_ocean = {version = "^0.12.7", extras = ["cli"]}

[tool.poetry.group.dev.dependencies]
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "port-ocean"
version = "0.12.7"
version = "0.13.0"
description = "Port Ocean is a CLI tool for managing your Port projects."
readme = "README.md"
homepage = "https://app.getport.io"
Expand Down Expand Up @@ -35,7 +35,7 @@ requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
pydantic = { version = "^1.10.8", extras = ["dotenv"] }
loguru = "^0.7.0"
pyyaml = "^6.0"
Expand Down

0 comments on commit 6f62a9e

Please sign in to comment.