Skip to content

Commit

Permalink
Add support for 2024-07 API version
Browse files Browse the repository at this point in the history
  • Loading branch information
paulomarg committed Jul 2, 2024
1 parent ed6ab2b commit 741555f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
name: Python ${{ matrix.version }}
strategy:
matrix:
version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- name: Checkout
Expand All @@ -18,7 +18,7 @@ jobs:
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install pytest mock pytest-cov
pip install pytest mock pytest-cov setuptools
python setup.py install
pytest --cov=./ --cov-report=xml
- name: Run Tests
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
== Unreleased

- Update API version with 2024-07 release ([#](https://github.com/Shopify/shopify_python_api/pull/))

== Version 12.5.0

- Remove `cgi` import to avoid triggering a `DeprecationWarning` on Python 3.11.
- Update API version with 2024-04 release.([710](https://github.com/Shopify/shopify_python_api/pull/710))

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pip install --upgrade ShopifyAPI

```python
shop_url = "SHOP_NAME.myshopify.com"
api_version = '2024-01'
api_version = '2024-07'
state = binascii.b2a_hex(os.urandom(15)).decode("utf-8")
redirect_uri = "http://myapp.com/auth/shopify/callback"
scopes = ['read_products', 'read_orders']
Expand Down
1 change: 1 addition & 0 deletions shopify/api_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def define_known_versions(cls):
cls.define_version(Release("2023-10"))
cls.define_version(Release("2024-01"))
cls.define_version(Release("2024-04"))
cls.define_version(Release("2024-07"))

@classmethod
def clear_defined_versions(cls):
Expand Down

0 comments on commit 741555f

Please sign in to comment.