Skip to content

Commit

Permalink
Version 9.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
russella-acm committed Dec 7, 2024
1 parent f74dfff commit 09b340a
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 3 deletions.
6 changes: 6 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# createsend-python history

## v9.0.0 - 7 Dec, 2024
* Tidy up of code from [#83](https://github.com/campaignmonitor/createsend-python/pull/83)
* Fixing tox config
* Github workflow added
* 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.

## v8.0.2 - 6 Dec, 2024
* Tidy up of code from [#84](https://github.com/campaignmonitor/createsend-python/pull/84)

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2010-2017 Campaign Monitor
Copyright (c) 2010-2024 Campaign Monitor

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
29 changes: 28 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# createsend

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.
A Python library which implements the complete functionality of the [Campaign Monitor API](http://www.campaignmonitor.com/api/). Requires Python 3.8 or above.

## Installation

Expand Down Expand Up @@ -209,6 +209,33 @@ def test_add_with_custom_fields(self):
self.assertEqual(email_address, "[email protected]")
```

## Running unit tests

```
> python -m venv venv
> source venv/bin/activate # On Windows, use: venv\Scripts\activate
> pip install pytest
> export PYTHONPATH=$(pwd)/lib # on Windows: set PYTHONPATH=%cd%\lib
> pytest
> # To run a specific test file
> pytest test/test_administrator.py
```

To deactivate the virtual environment run:
```
> deactivate
```

## Automated testing with tox

There is some testing available to test this wrapper against different versions of Python with [tox](https://tox.wiki/).

Here are the commands to get that runnning:
```
> pip install tox
> tox
```

## Contributing

Please check the [guidelines for contributing](https://github.com/campaignmonitor/createsend-python/blob/master/CONTRIBUTING.md) to this repository.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="createsend",
version='8.0.2',
version='9.0.0',
description="A library which implements the complete functionality of the Campaign Monitor API.",
author='Campaign Monitor',
author_email='[email protected]',
Expand Down

0 comments on commit 09b340a

Please sign in to comment.