Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Initial Update #275

Closed
wants to merge 13 commits into from
Closed

Initial Update #275

wants to merge 13 commits into from

Conversation

pyup-bot
Copy link
Contributor

This is my first visit to this fine repo so I have bundled all updates in a single pull request to make things easier for you to merge.

Close this pull request and delete the branch if you want me to start with single pull requests right away

Here's the executive summary:

Updates

Here's a list of all the updates bundled in this pull request. I've added some links to make it easier for you to find all the information you need.

factory-boy 2.7.0 » 2.8.1 PyPI | Changelog | Repo
flex 6.0.1 » 6.9.0 PyPI | Changelog | Repo
pytest 3.0.5 » 3.0.7 PyPI | Changelog | Repo | Homepage
pytest-mock 1.4.0 » 1.6.0 PyPI | Changelog | Repo
bcrypt 3.1.1 » 3.1.3 PyPI | Repo
decorator 4.0.10 » 4.0.11 PyPI | Changelog | Repo | Docs
Flask 0.11.1 » 0.12.2 PyPI | Changelog | Repo
peewee 2.8.5 » 2.10.1 PyPI | Changelog | Repo
progressist 0.0.6 » 0.0.6 PyPI | Repo
psycopg-postgis 0.1.2 » 0.1.2 PyPI | Repo
psycopg2 2.6.2 » 2.7.1 PyPI | Changelog | Homepage | Docs
python-dateutil 2.6.0 » 2.6.0 PyPI | Changelog | Docs
Unidecode 0.4.19 » 0.04.20 PyPI | Changelog | Homepage

Changelogs

factory-boy 2.7.0 -> 2.8.1

2.8.1


Bugfix:

  • Fix packaging issues.

2.8.0


New:

  • :issue:240: Call post-generation declarations in the order they were declared,
    thanks to Oleg Pidsadnyi <https://github.com/olegpidsadnyi>_.
  • :issue:309: Provide new options for SQLAlchemy session persistence

Bugfix:

  • :issue:334: Adjust for the package change in faker

flex 6.0.1 -> 6.9.0

6.9.0


  • Support for validation of Werkzug request and response object.
  • Allow passing in raw_request into validate_api_response function.

6.8.1


  • Another bugfix for content_type validation logic.

6.8.0


  • Bugfix for content_type validation.

6.7.0


  • Support for both date formats.

6.6.0


  • Support collectionFormat multi in params.

6.5.0


  • Support for validation of django request and response objects
  • Standalone function for response validation.
  • Bugfix for incorrect exception being raised.

6.4.0


  • Prioritize exact path matches over regex path matches.
  • Bugfix for path matching.

6.3.0


  • Support for Webob request validation.

6.2.0


  • Bugfix for base_path starting with / or paths with multiple concurrent slashes.
  • Add file type for request parameters.
  • Documentation fixes.
  • Support for integer status codes.
  • Support for application-json content types with encodings.

6.1.0


  • Support for polymorphism.

pytest 3.0.5 -> 3.0.7

3.0.7

==================

  • Fix issue in assertion rewriting breaking due to modules silently discarding
    other modules when importing fails
    Notably, importing the anydbm module is fixed. (2248).
    Thanks pfhayes
    for the PR.
  • junitxml: Fix problematic case where system-out tag occured twice per testcase
    element in the XML report. Thanks kkoukiou_ for the PR.
  • Fix regression, pytest now skips unittest correctly if run with --pdb
    (2137). Thanks to gst for the report and mbyt_ for the PR.
  • Ignore exceptions raised from descriptors (e.g. properties) during Python test collection (2234).
    Thanks to bluetech
    .

  • --override-ini now correctly overrides some fundamental options like python_files (2238).
    Thanks sirex
    for the report and nicoddemus_ for the PR.

  • Replace raise StopIteration usages in the code by simple returns to finish generators, in accordance to PEP-479_ (2160).
    Thanks tgoodlet
    for the report and nicoddemus_ for the PR.

  • Fix internal errors when an unprintable AssertionError is raised inside a test.
    Thanks omerhadari_ for the PR.

  • Skipping plugin now also works with test items generated by custom collectors (2231).
    Thanks to vidartf
    .
  • Fix trailing whitespace in console output if no .ini file presented (2281). Thanks fbjorn for the PR.
  • Conditionless xfail markers no longer rely on the underlying test item
    being an instance of PyobjMixin, and can therefore apply to tests not
    collected by the built-in python test collector. Thanks barneygale_ for the
    PR.

.. _pfhayes: https://github.com/pfhayes
.. _bluetech: https://github.com/bluetech
.. _gst: https://github.com/gst
.. _sirex: https://github.com/sirex
.. _vidartf: https://github.com/vidartf
.. _kkoukiou: https://github.com/KKoukiou
.. _omerhadari: https://github.com/omerhadari
.. _fbjorn: https://github.com/fbjorn

.. _2248: pytest-dev/pytest#2248
.. _2137: pytest-dev/pytest#2137
.. _2160: pytest-dev/pytest#2160
.. _2231: pytest-dev/pytest#2231
.. _2234: pytest-dev/pytest#2234
.. _2238: pytest-dev/pytest#2238
.. _2281: pytest-dev/pytest#2281

.. _PEP-479: https://www.python.org/dev/peps/pep-0479/

3.0.6

==================

  • pytest no longer generates PendingDeprecationWarning from its own operations, which was introduced by mistake in version 3.0.5 (2118).
    Thanks to nicoddemus
    for the report and RonnyPfannschmidt_ for the PR.
  • pytest no longer recognizes coroutine functions as yield tests (2129).
    Thanks to malinoff
    for the PR.
  • Plugins loaded by the PYTEST_PLUGINS environment variable are now automatically
    considered for assertion rewriting (2185).
    Thanks nicoddemus
    for the PR.
  • Improve error message when pytest.warns fails (2150). The type(s) of the
    expected warnings and the list of caught warnings is added to the
    error message. Thanks lesteve
    for the PR.
  • Fix pytester internal plugin to work correctly with latest versions of
    zope.interface (1989). Thanks nicoddemus for the PR.
  • Assert statements of the pytester plugin again benefit from assertion rewriting (1920).
    Thanks RonnyPfannschmidt
    for the report and nicoddemus_ for the PR.
  • Specifying tests with colons like test_foo.py::test_bar for tests in
    subdirectories with ini configuration files now uses the correct ini file
    (2148). Thanks pelme.
  • Fail testdir.runpytest().assert_outcomes() explicitly if the pytest
    terminal output it relies on is missing. Thanks to eli-b_ for the PR.

.. _barneygale: https://github.com/barneygale
.. _lesteve: https://github.com/lesteve
.. _malinoff: https://github.com/malinoff
.. _pelme: https://github.com/pelme
.. _eli-b: https://github.com/eli-b

.. _2118: pytest-dev/pytest#2118

.. _1989: pytest-dev/pytest#1989
.. _1920: pytest-dev/pytest#1920
.. _2129: pytest-dev/pytest#2129
.. _2148: pytest-dev/pytest#2148
.. _2150: pytest-dev/pytest#2150
.. _2185: pytest-dev/pytest#2185

pytest-mock 1.4.0 -> 1.6.0

1.6.0


  • The original assertions raised by the various Mock.assert_* methods
    now appear in the failure message, in addition to the message obtained from
    pytest introspection.
    Thanks quodlibetor_ for the initial patch (79_).

.. _quodlibetor: https://github.com/quodlibetor

.. _79: pytest-dev/pytest-mock#79

1.5.0


  • New mocker.mock_module variable points to the underlying mock module being used
    (unittest.mock or mock).
    Thanks blueyed_ for the request (71_).

.. _71: pytest-dev/pytest-mock#71

decorator 4.0.10 -> 4.0.11

4.0.11

Small improvements to the documentation and tested with Python 3.6

Flask 0.11.1 -> 0.12.2

0.12.2


Released on May 16 2017

  • Fix a bug in safe_join on Windows.

0.12.1


Bugfix release, released on March 31st 2017

  • Prevent flask run from showing a NoAppException when an ImportError occurs
    within the imported application module.
  • Fix encoding behavior of app.config.from_pyfile for Python 3. Fix
    2118.
  • Use the SERVER_NAME config if it is present as default values for
    app.run. 2109, 2152
  • Call ctx.auto_pop with the exception object instead of None, in the
    event that a BaseException such as KeyboardInterrupt is raised in a
    request handler.

0.12


Released on December 21st 2016, codename Punsch.

  • the cli command now responds to --version.
  • Mimetype guessing and ETag generation for file-like objects in send_file
    has been removed, as per issue 104. See pull request 1849.
  • Mimetype guessing in send_file now fails loudly and doesn't fall back to
    application/octet-stream. See pull request 1988.
  • Make flask.safe_join able to join multiple paths like os.path.join
    (pull request 1730).
  • Revert a behavior change that made the dev server crash instead of returning
    a Internal Server Error (pull request 2006).
  • Correctly invoke response handlers for both regular request dispatching as
    well as error handlers.
  • Disable logger propagation by default for the app logger.
  • Add support for range requests in send_file.
  • app.test_client includes preset default environment, which can now be
    directly set, instead of per client.get.

0.11.2


Bugfix release, unreleased

  • Fix crash when running under PyPy3, see pull request 1814.

peewee 2.8.5 -> 2.10.1

2.10.0

The main change in this release is the removal of the AESEncryptedField,
which was included as part of the playhouse.fields extension. It was brought
to my attention that there was some serious potential for security
vulnerabilities. Rather than give users a false sense of security, I've decided
the best course of action is to remove the field.

  • Remove the playhouse.fields.AESEncryptedField over security concerns
    described in ticket 1264.
  • Correctly resolve explicit table dependencies when creating tables, refs
  1. Thanks maaaks.
  • Implement not equals comparison for CompositeKey.

View commits

2.9.2

  • Fixed significant bug in the savepoint commit/rollback implementation. Many
    thanks to Syeberman for raising the issue. See 1225 for details.
  • Added support for postgresql INTERVAL columns. The new IntervalField in
    the postgres_ext module is suitable for storing datetime.timedelta.
  • Fixed bug where missing sqlite3 library was causing other, unrelated
    libraries to throw errors when attempting to import.
  • Added a case_sensitive parameter to the SQLite REGEXP function
    implementation. The default is False, to preserve backwards-compatibility.
  • Fixed bug that caused tables not to be created when using the dataset
    extension. See 1213 for details.
  • Modified drop_table to raise an exception if the user attempts to drop
    tables with CASCADE when the database backend does not support it.
  • Fixed Python3 issue in the AESEncryptedField.
  • Modified the behavior of string-typed fields to treat the addition operator
    as concatenation. See 1241 for details.

View commits

2.9.1

  • Fixed 1218, where the use of playhouse.flask_utils was requiring the
    sqlite3 module to be installed.
  • Fixed 1219 regarding the SQL generation for composite key sub-selects,
    joins, etc.

View commits

2.9.0

In this release there are two notable changes:

  • The Model.create_or_get() method was removed. See the documentation
    for an example of the code one would write to replicate this functionality.
  • The SQLite closure table extension gained support for many-to-many
    relationships thanks to a nice PR by necoro. Docs.

View commits

2.8.8

This release contains a single important bugfix for a regression in specifying
the type of lock to use when opening a SQLite transaction.

View commits

2.8.7

This release contains numerous cleanups.

Bugs fixed

  • 1087 - Fixed a misuse of the iteration protocol in the sqliteq extension.
  • Ensure that driver exceptions are wrapped when calling commit and
    rollback.
  • 1096 - Fix representation of recursive foreign key relations when using the
    model_to_dict helper.
  • 1126 - Allow pskel to be installed into bin directory.
  • 1105 - Added a Tuple() type to Peewee to enable expressing arbitrary
    tuple expressions in SQL.
  • 1133 - Fixed bug in the conversion of objects to Decimal instances in the
    DecimalField.
  • Fixed an issue renaming a unique foreign key in MySQL.
  • Remove the join predicate from CROSS JOINs.
  • 1148 - Ensure indexes are created when a column is added using a schema
    migration.
  • 1165 - Fix bug where the primary key was being overwritten in queries using
    the closure-table extension.

New stuff

  • Added properties to the SqliteExtDatabase to expose common PRAGMA
    settings. For example, to set the cache size to 4MB, db.cache_size = 1000.
  • Clarified documentation on calling commit() or rollback() from within the
    scope of an atomic block. See docs.
  • Allow table creation dependencies to be specified using new depends_on meta
    option. Refs 1076.
  • Allow specification of the lock type used in SQLite transactions. Previously
    this behavior was only present in playhouse.sqlite_ext.SqliteExtDatabase,
    but it now exists in peewee.SqliteDatabase.
  • Added support for CROSS JOIN expressions in select queries.
  • Docs on how to implement optimistic locking.
  • Documented optional dependencies.
  • Generic support for specifying select queries as locking the selected rows
    FOR X, e.g. FOR UPDATE or FOR SHARE.
  • Support for specifying the frame-of-reference in window queries, e.g.
    specifying UNBOUNDED PRECEDING, etc. See docs.

Backwards-incompatible changes

  • As of 9e76c99, an OperationalError is raised if the user calls connect()
    on an already-open Database object. Previously, the existing connection would
    remain open and a new connection would overwrite it, making it impossible to
    close the previous connection. If you find this is causing breakage in your
    application, you can switch the connect() call to get_conn() which will
    only open a connection if necessary. The error is indicative of a real
    issue, though, so audit your code for places where you may be opening a
    connection without closing it (module-scope operations, e.g.).

View commits

2.8.6

This release was later removed due to containing a bug. See notes on 2.8.7.

psycopg2 2.6.2 -> 2.7.1

2.7.1

^^^^^^^^^^^^^^^^^^^^^^^^^^^

  • Ignore !None arguments passed to ~psycopg2.connect() and
    ~psycopg2.extensions.make_dsn() (:ticket:517).
  • OpenSSL upgraded from major version 0.9.8 to 1.0.2 in the Linux wheel
    packages (:ticket:518).
  • Fixed build with libpq versions < 9.3 (:ticket:520).

2.7


New features:

  • Added ~psycopg2.sql module to generate SQL dynamically (:ticket:308).
  • Added :ref:replication-support (:ticket:322). Main authors are
    Oleksandr Shulgin and Craig Ringer, who deserve a huge thank you.
  • Added ~psycopg2.extensions.parse_dsn() and
    ~psycopg2.extensions.make_dsn() functions (:tickets:321, 363).
    ~psycopg2.connect() now can take both dsn and keyword arguments, merging
    them together.
  • Added ~psycopg2.__libpq_version__ and
    ~psycopg2.extensions.libpq_version() to inspect the version of the
    libpq library the module was compiled/loaded with
    (:tickets:35, 323).
  • The attributes ~connection.notices and ~connection.notifies can be
    customized replacing them with any object exposing an !append() method
    (:ticket:326).
  • Adapt network types to ipaddress objects when available. When not
    enabled, convert arrays of network types to lists by default. The old !Inet
    adapter is deprecated (:tickets:317, 343, 387).
  • Added ~psycopg2.extensions.quote_ident() function (:ticket:359).
  • Added ~connection.get_dsn_parameters() connection method (:ticket:364).
  • ~cursor.callproc() now accepts a dictionary of parameters (:ticket:381).
  • Give precedence to !__conform__() over superclasses to choose an object
    adapter (:ticket:456).
  • Using Python C API decoding functions and codecs caching for faster
    unicode encoding/decoding (:ticket:473).
  • ~cursor.executemany() slowness addressed by
    ~psycopg2.extras.execute_batch() and ~psycopg2.extras.execute_values()
    (:ticket:491).
  • Added async_ as an alias for async to support Python 3.7 where
    async will become a keyword (:ticket:495).
  • Unless in autocommit, do not use :sql:default_transaction_* settings to
    control the session characteristics as it may create problems with external
    connection pools such as pgbouncer; use :sql:BEGIN options instead
    (:ticket:503).
  • ~connection.isolation_level is now writable and entirely separated from
    ~connection.autocommit; added ~connection.readonly,
    ~connection.deferrable writable attributes.

Bug fixes:

  • Fixed error caused by missing decoding ~psycopg2.extras.LoggingConnection
    (:ticket:483).
  • Fixed integer overflow in :sql:interval seconds (:ticket:512).

Other changes:

  • Dropped support for Python 2.5 and 3.1.
  • Dropped support for client library older than PostgreSQL 9.1 (but older
    server versions are still supported).
  • ~connection.isolation_level doesn't read from the database but will return
    ~psycopg2.extensions.ISOLATION_LEVEL_DEFAULT if no value was set on the
    connection.
  • Empty arrays no more converted into lists if they don't have a type attached
    (:ticket:506)

2.6.3

^^^^^^^^^^^^^^^^^^^^^^^^^^^

  • Throw an exception trying to pass NULL chars as parameters
    (:ticket:420).
  • Make ~psycopg2.extras.Range objects picklable (:ticket:462).

python-dateutil -> 2.6.0

2.6.0


  • Added PEP-495-compatible methods to address ambiguous and imaginary dates in
    time zones in a backwards-compatible way. Ambiguous dates and times can now
    be safely represented by all dateutil time zones. Many thanks to Alexander
    Belopolski (abalkin) and Tim Peters tim-one for their inputs on how to
    address this. Original issues reported by Yupeng and zed (lP: 1390262,
    gh issues 57, 112, 249, 284, 286, prs 127, 225, 248, 264, 302).
  • Added new methods for working with ambiguous and imaginary dates to the tz
    module. datetime_ambiguous() determines if a datetime is ambiguous for a given
    zone and datetime_exists() determines if a datetime exists in a given zone.
    This works for all fold-aware datetimes, not just those provided by dateutil.
    (gh issue 253, gh pr 302)
  • Fixed an issue where dst() in Portugal in 1996 was returning the wrong value
    in tz.tzfile objects. Reported by abalkin (gh issue 128, pr 225)
  • Fixed an issue where zoneinfo.ZoneInfoFile errors were not being properly
    deep-copied. (gh issue 226, pr 225)
  • Refactored tzwin and tzrange as a subclass of a common class, tzrangebase, as
    there was substantial overlapping functionality. As part of this change,
    tzrange and tzstr now expose a transitions() function, which returns the
    DST on and off transitions for a given year. (gh issue 260, pr 302)
  • Deprecated zoneinfo.gettz() due to confusion with tz.gettz(), in favor of
    get() method of zoneinfo.ZoneInfoFile objects. (gh issue 11, pr 310)
  • For non-character, non-stream arguments, parser.parse now raises TypeError
    instead of AttributeError. (gh issues 171, 269, pr 247)
  • Fixed an issue where tzfile objects were not properly handling dst() and
    tzname() when attached to datetime.time objects. Reported by ovacephaloid.
    (gh issue 292, pr 309)
  • /usr/share/lib/zoneinfo was added to TZPATHS for compatibility with Solaris
    systems. Reported by dhduvall (gh issue 276, pr 307)
  • tzoffset and tzrange objects now accept either a number of seconds or a
    datetime.timedelta() object wherever previously only a number of seconds was
    allowed. (gh pr 264, 277)
  • datetime.timedelta objects can now be added to relativedelta objects. Reported
    and added by Alec Nikolas Reiter (justanr) (gh issue 282, pr 283
  • Refactored relativedelta.weekday and rrule.weekday into a common base class
    to reduce code duplication. (gh issue 140, pr 311)
  • An issue where the WKST parameter was improperly rendering in str(rrule) was
    reported and fixed by Daniel LePage (dplepage). (gh issue 262, pr 263)
  • A replace() method has been added to rrule objects by jendas1, which creates
    new rrule with modified attributes, analogous to datetime.replace (gh pr 167)
  • Made some significant performance improvements to rrule objects in Python 2.x
    (gh pr 245)
  • All classes defining equality functions now return NotImplemented when
    compared to unsupported classes, rather than raising TypeError, to allow other
    classes to provide fallback support. (gh pr 236)
  • Several classes have been marked as explicitly unhashable to maintain
    identical behavior between Python 2 and 3. Submitted by Roy Williams
    (rowillia) (gh pr 296)
  • Trailing whitespace in easter.py has been removed. Submitted by OmgImAlexis
    (gh pr 299)
  • Windows-only batch files in build scripts had line endings switched to CRLF.
    (gh pr 237)
  • adamchainz updated the documentation links to reflect that the canonical
    location for readthedocs links is now at .io, not .org. (gh pr 272)
  • Made some changes to the CI and codecov to test against newer versions of
    Python and pypy, and to adjust the code coverage requirements. For the moment,
    full pypy3 compatibility is not supported until a new release is available,
    due to upstream bugs in the old version affecting PEP-495 support.
    (gh prs 265, 266, 304, 308)
  • The full PGP signing key fingerprint was added to the README.md in favor of
    the previously used long-id. Reported by valholl (gh issue 287, pr 304)
  • Updated zoneinfo to 2016i. (gh issue 298, gh pr 306)

2.5.3


  • Updated zoneinfo to 2016d
  • Fixed parser bug where unambiguous datetimes fail to parse when dayfirst is
    set to true. (gh issue 233, pr 234)
  • Bug in zoneinfo file on platforms such as Google App Engine which do not
    do not allow importing of subprocess.check_call was reported and fixed by
    savraj (gh issue 239, gh pr 240)
  • Fixed incorrect version in documentation (gh issue 235, pr 243)

2.5.2


  • Updated zoneinfo to 2016c
  • Fixed parser bug where yearfirst and dayfirst parameters were not being
    respected when no separator was present. (gh issue 81 and 217, pr 229)

2.5.1


  • Updated zoneinfo to 2016b
  • Changed MANIFEST.in to explicitly include test suite in source distributions,
    with help from koobs (gh issue 193, pr 194, 201, 221)
  • Explicitly set all line-endings to LF, except for the NEWS file, on a
    per-repository basis (gh pr 218)
  • Fixed an issue with improper caching behavior in rruleset objects (gh issue
    104, pr 207)
  • Changed to an explicit error when rrulestr strings contain a missing BYDAY
    (gh issue 162, pr 211)
  • tzfile now correctly handles files containing leapcnt (although the leapcnt
    information is not actually used). Contributed by hjoukl (gh issue 146, pr
  • Fixed recursive import issue with tz module (gh pr 204)
  • Added compatibility between tzwin objects and datetime.time objects (gh issue
    216, gh pr 219)
  • Refactored monolithic test suite by module (gh issue 61, pr 200 and 206)
  • Improved test coverage in the relativedelta module (gh pr 215)
  • Adjusted documentation to reflect possibly counter-intuitive properties of
    RFC-5545-compliant rrules, and other documentation improvements in the rrule
    module (gh issue 105, gh issue 149 - pointer to the solution by phep,
    pr 213).

2.5.0


  • Updated zoneinfo to 2016a
  • zoneinfo_metadata file version increased to 2.0 - the updated updatezinfo.py
    script will work with older zoneinfo_metadata.json files, but new metadata
    files will not work with older updatezinfo.py versions. Additionally, we have
    started hosting our own mirror of the Olson databases on a github pages
    site (https://dateutil.github.io/tzdata/) (gh pr 183)
  • dateutil zoneinfo tarballs now contain the full zoneinfo_metadata file used
    to generate them. (gh issue 27, gh pr 85)
  • relativedelta can now be safely subclassed without derived objects reverting
    to base relativedelta objects as a result of arithmetic operations.
    (lp:1010199, gh issue 44, pr 49)
  • relativedelta 'weeks' parameter can now be set and retrieved as a property of
    relativedelta instances. (lp: 727525, gh issue 45, pr 49)
  • relativedelta now explicitly supports fractional relative weeks, days, hours,
    minutes and seconds. Fractional values in absolute parameters (year, day, etc)
    are now deprecated. (gh issue 40, pr 190)
  • relativedelta objects previously did not use microseconds to determine of two
    relativedelta objects were equal. This oversight has been corrected.
    Contributed by elprans (gh pr 113)
  • rrule now has an xafter() method for retrieving multiple recurrences after a
    specified date. (gh pr 38)
  • str(rrule) now returns an RFC2445-compliant rrule string, contributed by
    schinckel and armicron (lp:1406305, gh issue 47, prs 50, 62 and 160)
  • rrule performance under certain conditions has been significantly improved
    thanks to a patch contributed by dekoza, based on an article by Brian Beck
    (exogen) (gh pr 136)
  • The use of both the 'until' and 'count' parameters is now deprecated as
    inconsistent with RFC2445 (gh pr 62, 185)
  • Parsing an empty string will now raise a ValueError, rather than returning the
    datetime passed to the 'default' parameter. (gh issue 78, pr 187)
  • tzwinlocal objects now have a meaningful repr() and str() implementation
    (gh issue 148, prs 184 and 186)
  • Added equality logic for tzwin and tzwinlocal objects. (gh issue 151,
    pr 180, 184)
  • Added some flexibility in subclassing timelex, and switched the default
    behavior over to using string methods rather than comparing against a fixed
    list. (gh pr 122, 139)
  • An issue causing tzstr() to crash on Python 2.x was fixed. (lp: 1331576,
    gh issue 51, pr 55)
  • An issue with string encoding causing exceptions under certain circumstances
    when tzname() is called was fixed. (gh issue 60, 74, pr 75)
  • Parser issue where calling parse() on dates with no day specified when the
    day of the month in the default datetime (which is "today" if unspecified) is
    greater than the number of days in the parsed month was fixed (this issue
    tended to crop up between the 29th and 31st of the month, for obvious reasons)
    (canonical gh issue 25, pr 30, 191)
  • Fixed parser issue causing fuzzy_with_tokens to raise an unexpected exception
    in certain circumstances. Contributed by MichaelAquilina (gh pr 91)
  • Fixed parser issue where years > 100 AD were incorrectly parsed. Contributed
    by Bachmann1234 (gh pr 130)
  • Fixed parser issue where commas were not a valid separator between seconds
    and microseconds, preventing parsing of ISO 8601 dates. Contributed by
    ryanss (gh issue 28, pr 106)
  • Fixed issue with tzwin encoding in locales with non-Latin alphabets
    (gh issue 92, pr 98)
  • Fixed an issue where tzwin was not being properly imported on Windows.
    Contributed by labrys. (gh pr 134)
  • Fixed a problem causing issues importing zoneinfo in certain circumstances.
    Issue and solution contributed by alexxv (gh issue 97, pr 99)
  • Fixed an issue where dateutil timezones were not compatible with basic time
    objects. One of many, many timezone related issues contributed and tested by
    labrys. (gh issue 132, pr 181)
  • Fixed issue where tzwinlocal had an invalid utcoffset. (gh issue 135,
    pr 141, 142)
  • Fixed issue with tzwin and tzwinlocal where DST transitions were incorrectly
    parsed from the registry. (gh issue 143, pr 178)
  • updatezinfo.py no longer suppresses certain OSErrors. Contributed by bjamesv
    (gh pr 164)
  • An issue that arose when timezone locale changes during runtime has been
    fixed by carlosxl and mjschultz (gh issue 100, prs 107, 109)
  • Python 3.5 was added to the supported platforms in the metadata (tacaswell
    gh pr 159) and the test suites (moreati gh pr 117).
  • An issue with tox failing without unittest2 installed in Python 2.6 was fixed
    by moreati (gh pr 115)
  • Several deprecated functions were replaced in the tests by moreati
    (gh pr 116)
  • Improved the logic in Travis and Appveyor to alleviate issues where builds
    were failing due to connection issues when downloading the IANA timezone
    files. In addition to adding our own mirror for the files (gh pr 183), the
    download is now retried a number of times (with a delay) (gh pr 177)
  • Many failing doctests were fixed by moreati. (gh pr 120)
  • Many fixes to the documentation (gh pr 103, gh pr 87 from radarhere,
    gh pr 154 from gpoesia, gh pr 156 from awsum, gh pr 168 from ja8zyjits)
  • Added a code coverage tool to the CI to help improve the library. (gh pr 182)
  • We now have a mailing list - dateutilpython.org, graciously hosted by
    Python.org.

2.4.2


  • Updated zoneinfo to 2015b.
  • Fixed issue with parsing of tzstr on Python 2.7.x; tzstr will now be decoded
    if not a unicode type. gh 51 (lp:1331576), gh pr 55.
  • Fix a parser issue where AM and PM tokens were showing up in fuzzy date
    stamps, triggering inappropriate errors. gh 56 (lp: 1428895), gh pr 63.
  • Missing function "setcachesize" removed from zoneinfo all list by ryanss,
    fixing an issue with wildcard imports of dateutil.zoneinfo. (gh pr 66).
  • (PyPi only) Fix an issue with source distributions not including the test
    suite.

2.4.1


  • Added explicit check for valid hours if AM/PM is specified in parser.
    (gh pr 22, issue 21)
  • Fix bug in rrule introduced in 2.4.0 where byweekday parameter was not
    handled properly. (gh pr 35, issue 34)
  • Fix error where parser allowed some invalid dates, overwriting existing hours
    with the last 2-digit number in the string. (gh pr 32, issue 31)
  • Fix and add test for Python 2.x compatibility with boolean checking of
    relativedelta objects. Implemented by nimasmi (gh pr 43) and Cédric Krier
    (lp: 1035038)
  • Replaced parse() calls with explicit datetime objects in unit tests unrelated
    to parser. (gh pr 36)
  • Changed private _byxxx from sets to sorted tuples and fixed one currently
    unreachable bug in _construct_byset. (gh pr 54)
  • Additional documentation for parser (gh pr 29, 33, 41) and rrule.
  • Formatting fixes to documentation of rrule and README.rst.
  • Updated zoneinfo to 2015a.

2.4.0


  • Fix an issue with relativedelta and freezegun (lp:1374022)
  • Fix tzinfo in windows for timezones without dst (lp:1010050, gh 2)
  • Ignore missing timezones in windows like in POSIX
  • Fix minimal version requirement for six (gh 6)
  • Many rrule changes and fixes by pganssle (gh pull requests 13 14 17),
    including defusing some infinite loops (gh 4)

2.3


  • Cleanup directory structure, moved test.py to dateutil/tests/test.py
  • Changed many aspects of dealing with the zone info file. Instead of a cache,
    all the zones are loaded to memory, but symbolic links are loaded only once,
    so not much memory is used.
  • The package is now zip-safe, and universal-wheelable, thanks to changes in
    the handling of the zoneinfo file.
  • Fixed tzwin silently not imported on windows python2
  • New maintainer, together with new hosting: GitHub, Travis, Read-The-Docs

2.2


  • Updated zoneinfo to 2013h
  • fuzzy_with_tokens parse addon from Christopher Corley
  • Bug with LANG=C fixed by Mike Gilbert

2.1


  • New maintainer
  • Dateutil now works on Python 2.6, 2.7 and 3.2 from same codebase (with six)
  • 704047: Ismael Carnales' patch for a new time format
  • Small bug fixes, thanks for reporters!

2.0


  • Ported to Python 3, by Brian Jones. If you need dateutil for Python 2.X,
    please continue using the 1.X series.
  • There's no such thing as a "PSF License". This source code is now
    made available under the Simplified BSD license. See LICENSE for
    details.

1.5


  • As reported by Mathieu Bridon, rrules were matching the bysecond rules
    incorrectly against byminute in some circumstances when the SECONDLY
    frequency was in use, due to a copy & paste bug. The problem has been
    unittested and corrected.
  • Adam Ryan reported a problem in the relativedelta implementation which
    affected the yearday parameter in the month of January specifically.
    This has been unittested and fixed.
  • Updated timezone information.

1.4.1


  • Updated timezone information.

1.4


  • Fixed another parser precision problem on conversion of decimal seconds
    to microseconds, as reported by Erik Brown. Now these issues are gone
    for real since it's not using floating point arithmetic anymore.
  • Fixed case where tzrange.utcoffset and tzrange.dst() might fail due
    to a date being used where a datetime was expected (reported and fixed
    by Lennart Regebro).
  • Prevent tzstr from introducing daylight timings in strings that didn't
    specify them (reported by Lennart Regebro).
  • Calls like gettz("GMT+3") and gettz("UTC-2") will now return the
    expected values, instead of the TZ variable behavior.
  • Fixed DST signal handling in zoneinfo files. Reported by
    Nicholas F. Fabry and John-Mark Gurney.

1.3


  • Fixed precision problem on conversion of decimal seconds to
    microseconds, as reported by Skip Montanaro.
  • Fixed bug in constructor of parser, and converted parser classes to
    new-style classes. Original report and patch by Michael Elsdörfer.
  • Initialize tzid and comps in tz.py, to prevent the code from ever
    raising a NameError (even with broken files). Johan Dahlin suggested
    the fix after a pyflakes run.
  • Version is now published in dateutil.version, as requested
    by Darren Dale.
  • All code is compatible with new-style division.

1.2


  • Now tzfile will round timezones to full-minutes if necessary,
    since Python's datetime doesn't support sub-minute offsets.
    Thanks to Ilpo Nyyssönen for reporting the issue.
  • Removed bare string exceptions, as reported and fixed by
    Wilfredo Sánchez Vega.
  • Fix bug in leap count parsing (reported and fixed by Eugene Oden).

1.1


  • Fixed rrule byyearday handling. Abramo Bagnara pointed out that
    RFC2445 allows negative numbers.
  • Fixed --prefix handling in setup.py (by Sidnei da Silva).
  • Now tz.gettz() returns a tzlocal instance when not given any
    arguments and no other timezone information is found.
  • Updating timezone information to version 2005q.

1.0


  • Fixed parsing of XXhXXm formatted time after day/month/year
    has been parsed.
  • Added patch by Jeffrey Harris optimizing rrule.contains.

0.9


  • Fixed pickling of timezone types, as reported by
    Andreas Köhler.
  • Implemented internal timezone information with binary
    timezone files [1]. datautil.tz.gettz() function will now
    try to use the system timezone files, and fallback to
    the internal versions. It's also possible to ask for
    the internal versions directly by using
    dateutil.zoneinfo.gettz().
  • New tzwin timezone type, allowing access to Windows
    internal timezones (contributed by Jeffrey Harris).
  • Fixed parsing of unicode date strings.
  • Accept parserinfo instances as the parser constructor
    parameter, besides parserinfo (sub)classes.
  • Changed weekday to spell the not-set n value as None
    instead of 0.
  • Fixed other reported bugs.

[1] http://www.twinsun.com/tz/tz-link.htm

0.5


  • Removed FREQ_ prefix from rrule frequency constants
    WARNING: this breaks compatibility with previous versions.
  • Fixed rrule.between() for cases where "after" is achieved
    before even starting, as reported by Andreas Köhler.
  • Fixed two digit zero-year parsing (such as 31-Dec-00), as
    reported by Jim Abramson, and included test case for this.
  • Sort exdate and rdate before iterating over them, so that
    it's not necessary to sort them before adding to the rruleset,
    as reported by Nicholas Piper.

Unidecode 0.4.19 -> 0.04.20

0.04.20

  • Fixed transliteration of circled Latin letters and numbers
    (thanks to Krzysztof Jurewicz).
  • Add square unit symbols.
  • Add Latin variants in U+20xx and U+21xx pages.
  • Fix U+02B1 MODIFIER LETTER SMALL H WITH HOOK.
  • Fix U+205F MEDIUM MATHEMATICAL SPACE.
  • Add "DIGIT ... COMMA" and "PARANTHESIZED LATIN CAPITAL LETTER"
    in U+1F1xx page.
  • Add missing vulgar fractions and a/c, a/s, c/o, c/u symbols.
  • Add universal Wheel release (thanks to Adam Chainz).

Once you have closed this pull request, I'll create separate pull requests for every update as soon as I find them.

That's it for now!

Happy merging! 🤖

@yohanboniface yohanboniface deleted the pyup-initial-update branch May 20, 2017 13:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants