Skip to content

Commit f482b73

Browse files
committed
chore: bumps version to v2.6.1
1 parent 1aa719a commit f482b73

File tree

6 files changed

+33
-27
lines changed

6 files changed

+33
-27
lines changed

.circleci/config.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- run:
1616
command: sudo pip install --upgrade pip
1717
- run:
18-
command: sudo pip install tox
18+
command: sudo pip install tox mock
1919
- run:
2020
command: tox -e py<< parameters.tox_version >>-sync,py<< parameters.tox_version >>-async
2121

@@ -66,54 +66,54 @@ workflows:
6666
build:
6767
jobs:
6868
- test:
69-
name: 'test_27'
70-
docker_version: '2.7'
71-
tox_version: '27'
69+
name: "test_27"
70+
docker_version: "2.7"
71+
tox_version: "27"
7272
filters:
7373
tags:
7474
only: /.*/
7575
- test:
76-
name: 'test_34'
77-
docker_version: '3.4'
78-
tox_version: '34'
76+
name: "test_34"
77+
docker_version: "3.4"
78+
tox_version: "34"
7979
filters:
8080
tags:
8181
only: /.*/
8282
- test:
83-
name: 'test_35'
84-
docker_version: '3.5'
85-
tox_version: '35'
83+
name: "test_35"
84+
docker_version: "3.5"
85+
tox_version: "35"
8686
filters:
8787
tags:
8888
only: /.*/
8989
- test:
90-
name: 'test_36'
91-
docker_version: '3.6'
92-
tox_version: '36'
90+
name: "test_36"
91+
docker_version: "3.6"
92+
tox_version: "36"
9393
filters:
9494
tags:
9595
only: /.*/
9696
- test:
97-
name: 'test_37'
98-
docker_version: '3.7'
99-
tox_version: '37'
97+
name: "test_37"
98+
docker_version: "3.7"
99+
tox_version: "37"
100100
filters:
101101
tags:
102102
only: /.*/
103103
- test:
104-
name: 'test_38'
105-
docker_version: '3.8'
106-
tox_version: '38'
104+
name: "test_38"
105+
docker_version: "3.8"
106+
tox_version: "38"
107107
filters:
108108
tags:
109109
only: /.*/
110110
- format:
111-
name: 'format'
111+
name: "format"
112112
filters:
113113
tags:
114114
only: /.*/
115115
- types:
116-
name: 'types'
116+
name: "types"
117117
filters:
118118
tags:
119119
only: /.*/

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
# Release Notes
99

10-
## [Unreleased](https://github.com/algolia/algoliasearch-client-python/compare/v2.6.0...master)
10+
## [Unreleased](https://github.com/algolia/algoliasearch-client-python/compare/v2.6.1...master)
11+
12+
## [v2.6.1](https://github.com/algolia/algoliasearch-client-python/compare/v2.6.0...v2.6.1)
13+
14+
### Fixed
15+
16+
- Prevent recursion issue with `browse_rules` method ([#542](https://github.com/algolia/algoliasearch-client-python/pull/542))
1117

1218
## [v2.6.0](https://github.com/algolia/algoliasearch-client-python/compare/v2.5.0...v2.6.0)
1319

algoliasearch/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "2.6.0"
1+
VERSION = "2.6.1"

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = algoliasearch
3-
version = 2.6.0
3+
version = 2.6.1
44
author = Algolia Team
55
author_email = [email protected]
66
maintainer = Algolia Team

tests/features/test_search_index.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import unittest
44
import json
55
import requests
6+
import mock
67

78
from requests.models import Response
89

@@ -12,7 +13,6 @@
1213
from algoliasearch.search_index import SearchIndex
1314
from tests.helpers.factory import Factory as F
1415
from tests.helpers.misc import Unicode, rule_without_metadata
15-
from unittest.mock import MagicMock
1616

1717

1818
class TestSearchIndex(unittest.TestCase):
@@ -481,7 +481,7 @@ def side_effect(req, **kwargs):
481481

482482
client = SearchClient.create("foo", "bar")
483483
client._transporter._requester._session = requests.Session()
484-
client._transporter._requester._session.send = MagicMock(name="send")
484+
client._transporter._requester._session.send = mock.MagicMock(name="send")
485485
client._transporter._requester._session.send.side_effect = side_effect
486486
index = F.index(client, "test")
487487

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ passenv =
3939
ALGOLIA_ADMIN_KEY_MCM
4040
commands =
4141
py27-sync: python -m unittest discover -v
42-
py27-async: python -c 'print "No asynchronous tests for Python 2.7, skipping."'
42+
py27-async: python -c 'print "No asynchronous tests for Python 2.7, skipping.";exit(0);'
4343
py{34,35,36}-{sync,async}: python -m unittest discover -v
4444
py{37,38,39}-{sync,async}: python -m unittest discover -v -k {posargs:*}
4545

0 commit comments

Comments
 (0)