Skip to content

Commit 8e65d2b

Browse files
authored
Merge pull request #723 from Shopify/add_new_api_version
Add support for 2024-07 API version
2 parents ed6ab2b + 741555f commit 8e65d2b

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
name: Python ${{ matrix.version }}
77
strategy:
88
matrix:
9-
version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
9+
version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1010

1111
steps:
1212
- name: Checkout
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install Dependencies
1919
run: |
2020
python -m pip install --upgrade pip
21-
pip install pytest mock pytest-cov
21+
pip install pytest mock pytest-cov setuptools
2222
python setup.py install
2323
pytest --cov=./ --cov-report=xml
2424
- name: Run Tests

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
== Unreleased
22

3+
- Update API version with 2024-07 release ([#](https://github.com/Shopify/shopify_python_api/pull/))
4+
35
== Version 12.5.0
6+
47
- Remove `cgi` import to avoid triggering a `DeprecationWarning` on Python 3.11.
58
- Update API version with 2024-04 release.([710](https://github.com/Shopify/shopify_python_api/pull/710))
69

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ pip install --upgrade ShopifyAPI
6262

6363
```python
6464
shop_url = "SHOP_NAME.myshopify.com"
65-
api_version = '2024-01'
65+
api_version = '2024-07'
6666
state = binascii.b2a_hex(os.urandom(15)).decode("utf-8")
6767
redirect_uri = "http://myapp.com/auth/shopify/callback"
6868
scopes = ['read_products', 'read_orders']

shopify/api_version.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def define_known_versions(cls):
3838
cls.define_version(Release("2023-10"))
3939
cls.define_version(Release("2024-01"))
4040
cls.define_version(Release("2024-04"))
41+
cls.define_version(Release("2024-07"))
4142

4243
@classmethod
4344
def clear_defined_versions(cls):

0 commit comments

Comments
 (0)