From 6609f8eb4479b2d90c6d3b8ffa2181b44b5a0f04 Mon Sep 17 00:00:00 2001 From: Justintime50 <39606064+Justintime50@users.noreply.github.com> Date: Mon, 24 Nov 2025 09:53:44 -0700 Subject: [PATCH 1/4] chore: prep v10.3.0 --- .github/workflows/ci.yml | 108 +++++++++++++++++----------------- .github/workflows/release.yml | 42 ++++++------- CHANGELOG.md | 2 +- easypost/constant.py | 2 +- setup.py | 2 +- 5 files changed, 78 insertions(+), 78 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fdbff1c6..277596f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,59 +1,59 @@ -name: 'CI' +name: "CI" on: - push: - branches: [master] - pull_request: - workflow_dispatch: ~ + push: + branches: [master] + pull_request: + workflow_dispatch: ~ jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.13' - - name: Install Dependencies - run: make install - - name: Lint - run: make lint - run-tests: - runs-on: ubuntu-latest - strategy: - matrix: - pythonversion: ['3.9', '3.10', '3.11', '3.12', '3.13'] - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.pythonversion }} - - name: Install Dependencies - run: make install - - name: Run Tests - run: EASYPOST_TEST_API_KEY=123 EASYPOST_PROD_API_KEY=123 make coverage - - name: Coveralls + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - uses: actions/setup-python@v6 + with: + python-version: "3.14" + - name: Install Dependencies + run: make install + - name: Lint + run: make lint + run-tests: + runs-on: ubuntu-latest + strategy: + matrix: + pythonversion: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] + steps: + - uses: actions/checkout@v5 + - uses: actions/setup-python@v6 + with: + python-version: ${{ matrix.pythonversion }} + - name: Install Dependencies + run: make install + - name: Run Tests + run: EASYPOST_TEST_API_KEY=123 EASYPOST_PROD_API_KEY=123 make coverage + - name: Coveralls + if: github.ref == 'refs/heads/master' + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: "./coverage.lcov" + - name: Run security analysis + run: make scan + docs: if: github.ref == 'refs/heads/master' - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - path-to-lcov: './coverage.lcov' - - name: Run security analysis - run: make scan - docs: - if: github.ref == 'refs/heads/master' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.13' - - name: Install Dependencies - run: make install - - name: Generate Docs - run: make docs - - name: Deploy Docs - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: docs + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - uses: actions/setup-python@v6 + with: + python-version: "3.14" + - name: Install Dependencies + run: make install + - name: Generate Docs + run: make docs + - name: Deploy Docs + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: docs diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8d3b3ea6..40526cae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,26 +1,26 @@ name: release on: - release: - types: [published] - workflow_dispatch: + release: + types: [published] + workflow_dispatch: jobs: - release: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.13' - - name: Build package - run: make install build - - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.PYPI_API_KEY }} - - name: Upload assets to release - uses: AButler/upload-release-assets@v3.0.1 - with: - files: 'dist/*' - repo-token: ${{ secrets.GITHUB_TOKEN }} + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - uses: actions/setup-python@v6 + with: + python-version: "3.14" + - name: Build package + run: make install build + - name: Publish to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_API_KEY }} + - name: Upload assets to release + uses: AButler/upload-release-assets@v3.0.1 + with: + files: "dist/*" + repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index dd755a74..c91ce6cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -## Next Release +## v10.3.0 (2025-11-24) - Adds the following functions: - `embeddable.create_session` diff --git a/easypost/constant.py b/easypost/constant.py index 372e62e0..6736abc7 100644 --- a/easypost/constant.py +++ b/easypost/constant.py @@ -1,6 +1,6 @@ # flake8: noqa # Library version -VERSION = "10.2.0" +VERSION = "10.3.0" VERSION_INFO = [str(number) for number in VERSION.split(".")] # Client defaults diff --git a/setup.py b/setup.py index d4147550..732e0b28 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ setup( name="easypost", - version="10.2.0", + version="10.3.0", description="EasyPost Shipping API Client Library for Python", author="EasyPost", author_email="support@easypost.com", From e079b9af93b05f504062bde739342b4a3b368b56 Mon Sep 17 00:00:00 2001 From: Justintime50 <39606064+Justintime50@users.noreply.github.com> Date: Mon, 24 Nov 2025 10:02:26 -0700 Subject: [PATCH 2/4] fix: yaml indentation --- .github/workflows/ci.yml | 106 +++++++++++++++++----------------- .github/workflows/release.yml | 42 +++++++------- 2 files changed, 74 insertions(+), 74 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 277596f5..6c112b99 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,59 +1,59 @@ name: "CI" on: - push: - branches: [master] - pull_request: - workflow_dispatch: ~ + push: + branches: [master] + pull_request: + workflow_dispatch: ~ jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v5 - - uses: actions/setup-python@v6 - with: - python-version: "3.14" - - name: Install Dependencies - run: make install - - name: Lint - run: make lint - run-tests: - runs-on: ubuntu-latest - strategy: - matrix: - pythonversion: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] - steps: - - uses: actions/checkout@v5 - - uses: actions/setup-python@v6 - with: - python-version: ${{ matrix.pythonversion }} - - name: Install Dependencies - run: make install - - name: Run Tests - run: EASYPOST_TEST_API_KEY=123 EASYPOST_PROD_API_KEY=123 make coverage - - name: Coveralls - if: github.ref == 'refs/heads/master' - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - path-to-lcov: "./coverage.lcov" - - name: Run security analysis - run: make scan - docs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - uses: actions/setup-python@v6 + with: + python-version: "3.14" + - name: Install Dependencies + run: make install + - name: Lint + run: make lint + run-tests: + runs-on: ubuntu-latest + strategy: + matrix: + pythonversion: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] + steps: + - uses: actions/checkout@v5 + - uses: actions/setup-python@v6 + with: + python-version: ${{ matrix.pythonversion }} + - name: Install Dependencies + run: make install + - name: Run Tests + run: EASYPOST_TEST_API_KEY=123 EASYPOST_PROD_API_KEY=123 make coverage + - name: Coveralls if: github.ref == 'refs/heads/master' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v5 - - uses: actions/setup-python@v6 - with: - python-version: "3.14" - - name: Install Dependencies - run: make install - - name: Generate Docs - run: make docs - - name: Deploy Docs - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: docs + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: "./coverage.lcov" + - name: Run security analysis + run: make scan + docs: + if: github.ref == 'refs/heads/master' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - uses: actions/setup-python@v6 + with: + python-version: "3.14" + - name: Install Dependencies + run: make install + - name: Generate Docs + run: make docs + - name: Deploy Docs + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: docs diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 40526cae..60b16e46 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,26 +1,26 @@ name: release on: - release: - types: [published] - workflow_dispatch: + release: + types: [published] + workflow_dispatch: jobs: - release: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v5 - - uses: actions/setup-python@v6 - with: - python-version: "3.14" - - name: Build package - run: make install build - - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.PYPI_API_KEY }} - - name: Upload assets to release - uses: AButler/upload-release-assets@v3.0.1 - with: - files: "dist/*" - repo-token: ${{ secrets.GITHUB_TOKEN }} + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - uses: actions/setup-python@v6 + with: + python-version: "3.14" + - name: Build package + run: make install build + - name: Publish to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_API_KEY }} + - name: Upload assets to release + uses: AButler/upload-release-assets@v3.0.1 + with: + files: "dist/*" + repo-token: ${{ secrets.GITHUB_TOKEN }} From 3c9deb5feb1ee37214dc350bd66a99bc37abb4f0 Mon Sep 17 00:00:00 2001 From: Justintime50 <39606064+Justintime50@users.noreply.github.com> Date: Mon, 24 Nov 2025 10:10:34 -0700 Subject: [PATCH 3/4] chore: remove tests against 3.14 --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c112b99..06f116b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - pythonversion: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] + # vcrpy is not compatible with Python 3.14 yet so we cannot test against it + pythonversion: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v5 - uses: actions/setup-python@v6 From 2474d186cf60a3ebcc00b915aeffaf99208bdbac Mon Sep 17 00:00:00 2001 From: Justintime50 <39606064+Justintime50@users.noreply.github.com> Date: Mon, 24 Nov 2025 12:00:12 -0700 Subject: [PATCH 4/4] chore: put back quotes --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/release.yml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06f116b4..b6991699 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: "CI" +name: 'CI' on: push: @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v5 - uses: actions/setup-python@v6 with: - python-version: "3.14" + python-version: '3.14' - name: Install Dependencies run: make install - name: Lint @@ -23,7 +23,7 @@ jobs: strategy: matrix: # vcrpy is not compatible with Python 3.14 yet so we cannot test against it - pythonversion: ["3.9", "3.10", "3.11", "3.12", "3.13"] + pythonversion: ['3.9', '3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v5 - uses: actions/setup-python@v6 @@ -38,7 +38,7 @@ jobs: uses: coverallsapp/github-action@master with: github-token: ${{ secrets.GITHUB_TOKEN }} - path-to-lcov: "./coverage.lcov" + path-to-lcov: './coverage.lcov' - name: Run security analysis run: make scan docs: @@ -48,7 +48,7 @@ jobs: - uses: actions/checkout@v5 - uses: actions/setup-python@v6 with: - python-version: "3.14" + python-version: '3.14' - name: Install Dependencies run: make install - name: Generate Docs diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 60b16e46..e458e3af 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v5 - uses: actions/setup-python@v6 with: - python-version: "3.14" + python-version: '3.14' - name: Build package run: make install build - name: Publish to PyPI @@ -22,5 +22,5 @@ jobs: - name: Upload assets to release uses: AButler/upload-release-assets@v3.0.1 with: - files: "dist/*" + files: 'dist/*' repo-token: ${{ secrets.GITHUB_TOKEN }}