Skip to content

Commit

Permalink
Convert CHANGELOG to reStructuredText, include on PyPI (#33)
Browse files Browse the repository at this point in the history
The second most important use of PyPI is to look for what's new when upgrading, it's easiest if the changelog is right there.
  • Loading branch information
adamchainz authored and andrewgross committed Sep 26, 2016
1 parent d368f49 commit e486937
Show file tree
Hide file tree
Showing 4 changed files with 101 additions and 66 deletions.
65 changes: 0 additions & 65 deletions CHANGELOG.md

This file was deleted.

93 changes: 93 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Changelog
---------

0.0.17
~~~~~~

- Fix Typose in README
- Add notes on Dead Letter Queues to README

0.0.16
~~~~~~

- Switch README to ReStructed Text (.rst) format so it renders on PyPI

0.0.15
~~~~~~

- Process workers will kill themselves after attempting to process 100
requests, instead of checking the internal queue 100 times.
- If we find no messages on the internal queue, sleep for a moment
before rechecking.

0.0.14
~~~~~~

- Process workers will kill themselves after processing 100 requests
- Process workers will check a message's fetch time and visibility
timeout before processing, discarding it if it has exceeded the
timeout.
- Log the ``process_time()`` used to process a task to the INFO level.

0.0.13
~~~~~~

- Only pass SQS Queue ID to internal queue. This is attempting to fix a
bug when processing messages from multiple queues.

0.0.12
~~~~~~

- Remove extraneous debugging code

0.0.11
~~~~~~

- Add additional debugging to investigate message deletion errors

0.0.10
~~~~~~

- Give each process worker its own boto connection to avoid
multiprocess race conditions during message deletion

0.0.9
-----

- Change long polling interval to a valid value, 0<=LPI<=20

0.0.8
-----

- Switched to long polling when pulling down messages from SQS.
- Moved message deletion from SQS until after message has been
processed.

0.0.7
-----

- Added capability to read JSON encoded celery messages.

0.0.6
-----

- Switched shutdown logging to INFO
- Added brief sleep to message retrieval loop so that we don't look
like we are using a ton of CPU spinning.

0.0.5
-----

- Switching task failure logging to ERROR (actually this time)
- Moved task success logging to INFO
- Added INFO level logging for number of messages retrieved from an SQS
queue.
- Moved Reader and Worker process counts to DEBUG

0.0.4
-----

- Added ability to pass ``region``, ``access_key_id`` and
``secret_access_key`` through to Boto when creating connections
- Switched logging of task failure to the ``ERROR`` logger, from
``INFO``.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include README.rst requirements.txt
include CHANGELOG.rst README.rst requirements.txt
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,17 @@ def parse_requirements():

install_requires, dependency_links = parse_requirements()

with open('README.rst') as readme_file:
readme = readme_file.read()

with open('CHANGELOG.rst') as changelog_file:
changelog = changelog_file.read()

setup(
name='pyqs',
version=version,
description='A simple task-queue for SQS.',
long_description=readme + '\n\n' + changelog,
author='Steve Pulec',
author_email='spulec@gmail',
url='https://github.com/spulec/pyqs',
Expand Down

0 comments on commit e486937

Please sign in to comment.