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
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: '3.9'
python-version: '3.10'

- name: Build package
run: |
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## 27.0.0

* Breaking: raised the minimum supported Python version from 3.9 to 3.10
* Updated: required Requests >=2.34.2,<3 and urllib3 >=2.8.0,<3

## 26.0.0

* Breaking: `tables_db`, `documents_db` and `vectors_db` `create` and `update` take `description` before `specification`
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Appwrite is an open-source backend as a service server that abstracts and simpli

## Installation

Requires Python 3.9 or later. Install the [`appwrite`](https://pypi.org/project/appwrite/) package from PyPI:
Requires Python 3.10 or later. Install the [`appwrite`](https://pypi.org/project/appwrite/) package from PyPI:

```bash
pip install appwrite
Expand Down
4 changes: 2 additions & 2 deletions appwrite/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ def __init__(self):
self._endpoint = 'https://cloud.appwrite.io/v1'
self._global_headers = {
'content-type': '',
'user-agent': f'AppwritePythonSDK/26.0.0 ({platform.uname().system}; {platform.uname().version}; {platform.uname().machine})',
'user-agent': f'AppwritePythonSDK/27.0.0 ({platform.uname().system}; {platform.uname().version}; {platform.uname().machine})',
'x-sdk-name': 'Python',
'x-sdk-platform': 'server',
'x-sdk-language': 'python',
'x-sdk-version': '26.0.0',
'x-sdk-version': '27.0.0',
Comment thread
hansi-codes[bot] marked this conversation as resolved.
'X-Appwrite-Response-Format': '2.5.0',
}
self._config = {}
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ build-backend = "setuptools.build_meta"

[project]
name = "appwrite"
version = "26.0.0"
version = "27.0.0"
description = "Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API"
readme = "README.md"
requires-python = ">=3.9"
requires-python = ">=3.10"
license = { text = "BSD-3-Clause" }
authors = [
{ name = "Appwrite Team", email = "[email protected]" }
Expand All @@ -16,7 +16,8 @@ maintainers = [
{ name = "Appwrite Team", email = "[email protected]" }
]
dependencies = [
"requests",
"requests>=2.34.2,<3",
"urllib3>=2.8.0,<3",
"pydantic>=2,<3",
]
classifiers = [
Expand All @@ -26,7 +27,6 @@ classifiers = [
"Topic :: Software Development",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand All @@ -46,7 +46,7 @@ Repository = "https://github.com/appwrite/sdk-for-python"
[tool.black]
line-length = 120
skip-string-normalization = true
target-version = ['py39']
target-version = ['py310']

[tool.setuptools.packages.find]
include = ["appwrite*"]
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
requests>=2.31,<3
requests>=2.34.2,<3
urllib3>=2.8.0,<3
requests_mock==1.12.1
pydantic>=2,<3
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
setuptools.setup(
name='appwrite',
packages=setuptools.find_packages(),
version='26.0.0',
version='27.0.0',
license='BSD-3-Clause',
description='Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API',
long_description=long_description,
Expand All @@ -18,20 +18,20 @@
maintainer='Appwrite Team',
maintainer_email='[email protected]',
url='https://appwrite.io/support',
download_url='https://github.com/appwrite/sdk-for-python/archive/26.0.0.tar.gz',
download_url='https://github.com/appwrite/sdk-for-python/archive/27.0.0.tar.gz',
install_requires=[
'requests',
'requests>=2.34.2,<3',
'urllib3>=2.8.0,<3',
'pydantic>=2,<3',
],
python_requires='>=3.9',
python_requires='>=3.10',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Environment :: Web Environment',
'Topic :: Software Development',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
Expand Down