Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: IBM/platform-services-python-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.59.0
Choose a base ref
...
head repository: IBM/platform-services-python-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.59.1
Choose a head ref
  • 4 commits
  • 10 files changed
  • 3 contributors

Commits on Nov 13, 2024

  1. build: bump Python versions (#276)

    This commit changes the Python versions in the project,
    so that the minimum version is 3.9 and the maximum is
    the latest which is 3.13.
    
    Signed-off-by: Norbert Biczo <pyrooka@users.noreply.github.com>
    pyrooka authored Nov 13, 2024
    Copy the full SHA
    e698001 View commit details

Commits on Jan 9, 2025

  1. fix: enable github workflows

    Signed-off-by: Phil Adams <phil_adams@us.ibm.com>
    padamstx committed Jan 9, 2025
    Copy the full SHA
    5204e6b View commit details
  2. Copy the full SHA
    ce5d4da View commit details
  3. chore(release): 0.59.1 release notes

    ## [0.59.1](v0.59.0...v0.59.1) (2025-01-09)
    
    ### Bug Fixes
    
    * enable github workflows ([5204e6b](5204e6b))
    semantic-release-bot committed Jan 9, 2025
    Copy the full SHA
    748bf3e View commit details
Showing with 150 additions and 13 deletions.
  1. +1 −1 .bumpversion.toml
  2. +91 −0 .github/workflows/build.yaml
  3. +34 −0 .github/workflows/publish.yaml
  4. +1 −1 .secrets.baseline
  5. +5 −4 .travis.yml
  6. +7 −0 CHANGELOG.md
  7. +5 −1 Makefile
  8. +2 −2 README.md
  9. +1 −1 ibm_platform_services/version.py
  10. +3 −3 pyproject.toml
2 changes: 1 addition & 1 deletion .bumpversion.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "0.59.0"
current_version = "0.59.1"
commit = true
message = "Update version {current_version} -> {new_version}"

91 changes: 91 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# This workflow will build and unit test the project.
# If the workflow is running on the "main" branch, then
# semantic-release is also run to create a new release (if
# warranted by the new commits being built).

name: Build/Test

on:
push:
branches: ['**']
pull_request:
branches: ['**']
workflow_dispatch:
# Allow workflow to be triggered manually.

jobs:
detect-secrets:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
name: Detect-Secrets
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.13

- name: Install detect-secrets
run: |
pip install --upgrade "git+https://github.com/ibm/detect-secrets.git@master#egg=detect-secrets"
- name: Run detect-secrets
run: |
detect-secrets scan --update .secrets.baseline
detect-secrets -v audit --report --fail-on-unaudited --fail-on-live --fail-on-audited-real .secrets.baseline
build:
needs: detect-secrets
name: Build/Test (Python ${{ matrix.python-version }})

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.13']

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Build & Test
run: make ci

create-release:
needs: build
name: Semantic-Release
if: "github.ref_name == 'main' && github.event_name != 'pull_request'"
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.13

- name: Install Publishing Tools
run: |
pip install bump-my-version
npm install
- name: Run semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: npm run semantic-release
34 changes: 34 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflow is responsible for:
# - publishing artifacts to Maven Central
# - building and publishing javadocs to the git repository.
# It is triggered when a new release is created.

name: Publish
on:
release:
types: [created]
workflow_dispatch:
# Allow this workflow to be triggered manually

jobs:
publish:
name: Publish Release
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.13

- name: Build and publish distribution
env:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
make ci
make publish-release
2 changes: 1 addition & 1 deletion .secrets.baseline
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
"files": "^.secrets.baseline$",
"lines": null
},
"generated_at": "2024-10-23T05:17:26Z",
"generated_at": "2025-01-09T22:39:35Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -19,14 +19,15 @@ script:
jobs:
include:
- stage: Build-Test
python: '3.8'
python: '3.9'
- python: '3.10'
- python: '3.11'
- python: '3.12'

- python: '3.13'

- name: Detect-Secrets
language: python
python: '3.12'
python: '3.13'
install:
- pip install --upgrade "git+https://github.com/ibm/detect-secrets.git@master#egg=detect-secrets"
script:
@@ -43,7 +44,7 @@ jobs:
- npm run semantic-release

- stage: Publish-Release
python: "3.8"
python: "3.9"
name: Publish-To-PyPi
script:
- make ci
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [0.59.1](https://github.com/IBM/platform-services-python-sdk/compare/v0.59.0...v0.59.1) (2025-01-09)


### Bug Fixes

* enable github workflows ([5204e6b](https://github.com/IBM/platform-services-python-sdk/commit/5204e6b2d5750af378bd6bde06a60d0c136cefa5))

# [0.59.0](https://github.com/IBM/platform-services-python-sdk/compare/v0.58.0...v0.59.0) (2024-10-28)


6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ all: upgrade-pip setup test-unit lint

ci: all

publish-release: build-dist publish-dist
publish-release: publish-deps build-dist publish-dist

upgrade-pip:
${PYTHON} -m pip install --upgrade pip
@@ -23,6 +23,10 @@ deps:
dev-deps:
${PYTHON} -m pip install .[dev]

detect-secrets:
detect-secrets scan --update .secrets.baseline
detect-secrets audit .secrets.baseline

publish-deps:
${PYTHON} -m pip install .[publish]

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
[![CLA assistant](https://cla-assistant.io/readme/badge/IBM/platform-services-python-sdk)](https://cla-assistant.io/IBM/platform-services-python-sdk)


# IBM Cloud Platform Services Python SDK Version 0.59.0
# IBM Cloud Platform Services Python SDK Version 0.59.1

Python client library to interact with various
[IBM Cloud Platform Service APIs](https://cloud.ibm.com/docs?tab=api-docs&category=platform_services).
@@ -81,7 +81,7 @@ Service Name | Module Name | Service Class Name

* An [IBM Cloud][ibm-cloud-onboarding] account.
* An IAM API key to allow the SDK to access your account. Create one [here](https://cloud.ibm.com/iam/apikeys).
* Python 3.8 or above.
* Python 3.9 or above.

## Installation

2 changes: 1 addition & 1 deletion ibm_platform_services/version.py
Original file line number Diff line number Diff line change
@@ -2,4 +2,4 @@
Version of platform_services
"""

__version__ = '0.59.0'
__version__ = '0.59.1'
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
[project]
name = "ibm-platform-services"
version = "0.59.0"
version = "0.59.1"
authors = [
{ name="IBM", email="devxsdk@us.ibm.com" }
]
description = "Python client library for IBM Cloud Platform Services"
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",