Skip to content
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 .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ jobs:
@semantic-release/git \
@semantic-release/github

- name: Configure Git User
if: github.ref == 'refs/heads/master' && matrix.python-version == '3.8'
run: |
git config --global user.name "uibm"
git config --global user.email "ujjwal.kumar1@ibm.com"

- name: Semantic Release and Publish
if: github.ref == 'refs/heads/master' && matrix.python-version == '3.8'
env:
Expand Down
6 changes: 4 additions & 2 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
[
"@semantic-release/git",
{
"message": "chore(release): ${nextRelease.version} release notes\n\n${nextRelease.notes}"
"message": "chore(release): ${nextRelease.version} release notes\n\n${nextRelease.notes}",
"gitUserName": "uibm",
"gitUserEmail": "ujjwal.kumar1@ibm.com"
}
],
"@semantic-release/github"
]
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.com/IBM/vpc-python-sdk.svg?branch=master)](https://travis-ci.com/IBM/vpc-python-sdk)
[![Build Status](https://github.com/IBM/vpc-python-sdk/actions/workflows/ci.yml/badge.svg)](https://github.com/IBM/vpc-python-sdk/actions/workflows/ci.yml)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

Expand Down
2 changes: 1 addition & 1 deletion examples/test_vpc_v1_examples.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# (C) Copyright IBM Corp. 2021.
# (C) Copyright IBM Corp. 2023, 2024, 2025.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2,865 changes: 2,162 additions & 703 deletions ibm_vpc/vpc_v1.py

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ classifiers = [
]
keywords=["ibm", "cloud", "ibm cloud services", "vpc" ]
dependencies = [
"ibm_cloud_sdk_core>=3.22.0",
"ibm_cloud_sdk_core>=3.22.0,<3.22.1;python_version<'3.9'",
"ibm_cloud_sdk_core>=3.23.0;python_version>='3.9'",
"python_dateutil>=2.5.3,<3.0.0",
]

Expand Down Expand Up @@ -68,19 +69,19 @@ skip-string-normalization = true
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py37-lint, py37, py38, py39
envlist = lint, py38, py39, py310, py311

[testenv:py37-lint]
basepython = python3.7
[testenv:lint]
basepython = python3.8
deps = pylint
commands = pylint --rcfile=.pylintrc ibm-vpc test/unit
commands = pylint --rcfile=.pylintrc ibm-vpc test

[testenv]
passenv = TOXENV CI TRAVIS*
commands =
pytest -v test/unit
pytest -v test/unit

deps =
deps =
pylint
pytest
pytest-cov
Expand Down
2 changes: 1 addition & 1 deletion test/integration/conftest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8

# (C) Copyright IBM Corp. 2020.
# (C) Copyright IBM Corp. 2023, 2024, 2025.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion test/integration/test_gen2.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8

# (C) Copyright IBM Corp. 2020, 2021, 2022.
# (C) Copyright IBM Corp. 2023, 2024, 2025.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
1,925 changes: 1,176 additions & 749 deletions test/unit/test_vpc_v1.py

Large diffs are not rendered by default.

Loading