Skip to content

Commit 09b340a

Browse files
committed
Version 9.0.0
1 parent f74dfff commit 09b340a

File tree

4 files changed

+36
-3
lines changed

4 files changed

+36
-3
lines changed

HISTORY.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# createsend-python history
22

3+
## v9.0.0 - 7 Dec, 2024
4+
* Tidy up of code from [#83](https://github.com/campaignmonitor/createsend-python/pull/83)
5+
* Fixing tox config
6+
* Github workflow added
7+
* Breaking: Python versions 3.7 and prior will no longer work with this version of the wrapper. The actual wrapper code might work with Python 3.6 and 3.7. However, some of the tox testing around it may not work with those versions. So we've dropped support for that.
8+
39
## v8.0.2 - 6 Dec, 2024
410
* Tidy up of code from [#84](https://github.com/campaignmonitor/createsend-python/pull/84)
511

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2010-2017 Campaign Monitor
1+
Copyright (c) 2010-2024 Campaign Monitor
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# createsend
22

3-
A Python library which implements the complete functionality of the [Campaign Monitor API](http://www.campaignmonitor.com/api/). Requires Python 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13 or later.
3+
A Python library which implements the complete functionality of the [Campaign Monitor API](http://www.campaignmonitor.com/api/). Requires Python 3.8 or above.
44

55
## Installation
66

@@ -209,6 +209,33 @@ def test_add_with_custom_fields(self):
209209
self.assertEqual(email_address, "[email protected]")
210210
```
211211

212+
## Running unit tests
213+
214+
```
215+
> python -m venv venv
216+
> source venv/bin/activate # On Windows, use: venv\Scripts\activate
217+
> pip install pytest
218+
> export PYTHONPATH=$(pwd)/lib # on Windows: set PYTHONPATH=%cd%\lib
219+
> pytest
220+
> # To run a specific test file
221+
> pytest test/test_administrator.py
222+
```
223+
224+
To deactivate the virtual environment run:
225+
```
226+
> deactivate
227+
```
228+
229+
## Automated testing with tox
230+
231+
There is some testing available to test this wrapper against different versions of Python with [tox](https://tox.wiki/).
232+
233+
Here are the commands to get that runnning:
234+
```
235+
> pip install tox
236+
> tox
237+
```
238+
212239
## Contributing
213240

214241
Please check the [guidelines for contributing](https://github.com/campaignmonitor/createsend-python/blob/master/CONTRIBUTING.md) to this repository.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="createsend",
5-
version='8.0.2',
5+
version='9.0.0',
66
description="A library which implements the complete functionality of the Campaign Monitor API.",
77
author='Campaign Monitor',
88
author_email='[email protected]',

0 commit comments

Comments
 (0)