Skip to content

Commit 9badee6

Browse files
authored
Merge pull request #22 from clowder-framework/no-bindings
pyclowder 2.4.0 release
2 parents f2b3d55 + e373e70 commit 9badee6

File tree

8 files changed

+17
-6
lines changed

8 files changed

+17
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
10+
python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
1111

1212
steps:
1313
- uses: actions/checkout@v2

.github/workflows/pypi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
publish:
99
name: Build and publish python packages
1010
runs-on: ubuntu-18.04
11+
1112
steps:
1213
- uses: actions/checkout@v2
1314

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## 2.4.0 - 2021-02-22
8+
9+
### Changed
10+
- clowder is no longer the default exchange. Exchanges are no longer used and
11+
this is deprecated.
12+
- fix check for thread is_alive, fixes warning in python 3.9
13+
14+
### Removed
15+
- Removed the extractors.<queue_name> since it was not used.
16+
717
## 2.3.4 - 2020-10-04
818

919
### Fixed

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@
5757
# built documents.
5858
#
5959
# The short X.Y version.
60-
version = u'2.1'
60+
version = u'2.4'
6161
# The full version, including alpha/beta/rc tags.
62-
release = u'2.1.1'
62+
release = u'2.4.0'
6363

6464
# The language for content autogenerated by Sphinx. Refer to documentation
6565
# for a list of supported languages.

pyclowder/connectors.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,6 @@ def connect(self):
661661

662662
# declare the queue in case it does not exist
663663
self.channel.queue_declare(queue=self.rabbitmq_queue, durable=True)
664-
self.channel.queue_declare(queue='extractors.' + self.rabbitmq_queue, durable=True)
665664
self.channel.queue_declare(queue='error.'+self.rabbitmq_queue, durable=True)
666665

667666
# register with an exchange

pyclowder/extractors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def __init__(self):
6363
if not rabbitmq_queuename:
6464
rabbitmq_queuename = self.extractor_info['name']
6565
rabbitmq_uri = os.getenv('RABBITMQ_URI', "amqp://guest:[email protected]/%2f")
66-
rabbitmq_exchange = os.getenv('RABBITMQ_EXCHANGE', "clowder")
66+
rabbitmq_exchange = os.getenv('RABBITMQ_EXCHANGE', "")
6767
clowder_url = os.getenv("CLOWDER_URL", "")
6868
registration_endpoints = os.getenv('REGISTRATION_ENDPOINTS', "")
6969
logging_config = os.getenv("LOGGING")

pyclowder/files.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def download(connector, host, key, fileid, intermediatefileid=None, ext=""):
4747
result = connector.get(url, stream=True, verify=connector.ssl_verify if connector else True)
4848

4949
(inputfile, inputfilename) = tempfile.mkstemp(suffix=ext)
50+
5051
try:
5152
with os.fdopen(inputfile, "wb") as outputfile:
5253
for chunk in result.iter_content(chunk_size=10*1024):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def description():
99

1010

1111
setup(name='pyclowder',
12-
version='2.3.4',
12+
version='2.4.0',
1313
packages=find_packages(),
1414
description='Python SDK for the Clowder Data Management System',
1515
long_description=description(),

0 commit comments

Comments
 (0)