Commit Graph

74 Commits

Author SHA1 Message Date
jab aa704b3d6e improve hypothesis tests, use of setuptools_scm and linting 2018-02-26 10:44:21 +11:00
jab d0c6fdae3b happy 2018 2017-12-31 22:51:19 -05:00
jab 7fbc19090a appease latest pylint 2017-12-17 13:22:42 -05:00
jab c7002bf2b2 unbreak logo image in long_description for PyPI 2017-12-06 14:56:35 -05:00
jab 20376edfbf update dep specs to use >=curr,<next_major
this also updates to latest hypothesis (3.38.4)
2017-11-22 09:48:40 -05:00
jab 7f1653bb5b update to latest hypothesis (3.38.3) 2017-11-21 12:32:30 -05:00
jab 7b4d1df5fb Add pre-commit hooks + changes to appease them 2017-11-21 10:35:56 -05:00
jab 51c75d2bb0 another round of refinements
- Make OrderedBidict.__eq__ always order-insensitive.
  Add OrderedBidict.equals_order_sensitive for order-sensitive comparison.
  Drop OrderedBidict.ordered_cls and bidict.compat.Reversible.

- Add test coverage for bidict.metadata.

- Use setuptools_scm for automatic version discovery from source control.
  Drop bidict/VERSION file and associated machinery.

- Ditch testing macOS on Travis, it's just too slow.
  Testing on Linux should suffice.

- Ditch using pyenv on Travis to save time and complexity.
  Travis now has a better set of Python versions available out-of-the-box.

- Add support for "python setup.py test" and use that on Travis.
2017-11-20 22:27:27 -05:00
jab 64ed7278d8
more API and code improvements
including:
- simplify type hierarchy, merging the frozen types into the base types
- upgrade to latest hypothesis (3.38.0)
- use Reversible for order-sensitive FrozenOrderedBidict.__eq__
- fix bug where bidict._on_dup_kv was not set to ON_DUP_VAL as documented
- drop leading underscore from attrs that should be public
- improve setup.py/metadata
- rename DuplicationBehavior -> DuplicationPolicy
- drop ON_DUP_VAL duplication policy in preference to just using None
- reduce ordered bidict memory usage and speed up copy
2017-11-19 22:24:08 -05:00
jab 22f4e78d09
numerous fixes and improvements (#43)
- .travis.yml and setup.py tweaks
- add regression tests for -O bug and document fix
- Make OrderedBidict equality comparison order-sensitive in more cases.
- Add bidict.BidictBase.ordered class attribute.
- Replacing OrderedBidictBase._should_compare_order_sensitive()
  with OrderedBidictBase.should_compare_order_sensitive_to().
- Revert the optimizations in v0.13.0 to make FrozenOrderedBidict instances
  that have the same items in different order have different hash values.
- Remove FrozenBidictBase.
- Remove frozenbidict._USE_ITEMSVIEW_HASH and
  frozenorderedbidict._HASH_NITEMS_MAX
2017-11-17 22:35:40 -05:00
jab 033083ca26
various code and CI improvements + dependency updates (#42) 2017-11-16 15:44:51 -05:00
jab 050e61e0f7 update to latest deps; tests + docs improvements 2017-10-11 10:26:22 -04:00
jab e2acff57f6 update to latest hypothesis (3.17.0) and flake8 (3.4.1)
also enable pypy3 in tox.ini
2017-08-12 11:48:17 -04:00
jab 15d123df91 update to latest pytest (3.2.0) 2017-08-12 09:59:07 -04:00
jab 72b0928952 update to latest hypothesis (3.12.0) 2017-07-08 23:05:35 -04:00
jab ab3738ddd8 update to latest pytest (3.1.3), sphinx, and pre-commit 2017-07-05 12:22:04 -04:00
jab dd0b434b84 update to latest hypothesis (3.11.6) 2017-06-29 10:00:30 -04:00
jab bd1f840ae5 update to latest hypothesis (3.11.4) 2017-06-18 12:42:11 -04:00
jab bcac254ec1 update to latest pytest (3.1.2) and py (1.4.34) 2017-06-12 11:11:38 -04:00
jab 99cff11b2c update to latest hypothesis (3.11.3) 2017-06-12 11:06:09 -04:00
jab cbf19acb1e update to latest pytest (3.1.1) 2017-06-03 18:49:48 -04:00
jab d8f6f9a458 update to latest hypothesis (3.11.0) and pytest (3.1.0) 2017-05-25 14:59:26 -04:00
jab 8318d28586 update to latest coverage, sphinx, and pre-commit 2017-05-21 15:08:22 -04:00
jab d7d6e40879 update to latest hypothesis (3.9.0) and pytest-cov (2.5.1) 2017-05-21 14:10:01 -04:00
jab e87a6c31c3 update deps, --cov-branch 2017-05-10 14:35:23 -04:00
jab 86dfe1bb67 update to latest tox (2.7.0) 2017-04-08 16:39:06 -04:00
jab 05f3224782 update to latest coverage (4.4b1) 2017-04-05 18:54:02 -04:00
jab 577458dcf0 update to latest sphinx (1.5.5) 2017-04-04 17:14:44 -04:00
jab ab657f9353 update to latest pytest-benchmark and pre-commit 2017-03-28 13:53:44 -04:00
jab 4a8e94026f upgrade to latest hypothesis (3.7.0) 2017-03-25 12:34:43 -04:00
jab 76df49a206 docs tweaks 2017-03-17 12:16:45 -04:00
jab 19f7e9f90a change license to MPLv2 2017-03-15 16:43:05 -04:00
jab 0bee32a6fc update to latest pytest (3.0.7) 2017-03-15 15:10:41 -04:00
jab 888531760c update to latest sphinx and pre-commit 2017-02-27 12:27:08 -05:00
jab 9eb335239d update to latest pre-commit, fix typo 2017-01-30 18:06:57 -05:00
jab 3d757fbb6c upgrade to latest pytest (3.0.6), sphinx (1.5.2), and pre-commit (0.11.0) 2017-01-23 11:04:52 -05:00
jab 4bfb6038ec prepare for 0.13.0 release 2017-01-19 00:08:38 -05:00
jab 887e078907 squashed changes for 0.13.0
- support Python 3.6, refactor CI/test setup, increase test coverage
- refactor BidirectionalMapping, BidictBase, OrderedBidictBase,
  FrozenBidictBase, and subclasses
- move frozenorderedbidict into _frozen and looseorderedbidict into _loose
- register bidict as a virtual subclass of MutableMapping rather than
  inheriting from it directly. This makes it clearer that it does not use any
  of the concrete generic methods that MutableMapping provides.
- improve performance and flexibility of frozenbidict and
  frozenorderedbidict hashing
- docs, including new type-hierarchy.png diagram
- rm unused imap, ifilter, izip_longest from compat, add PYPY
- update to latest versions of dependencies
- restore benchmarking on travis
2017-01-09 10:37:31 -05:00
jab b7815c5318 deps, docs linking fixes/improvements, skip benchmarking for now 2016-12-06 18:09:45 -05:00
jab c923b297c3 upgrade to latest flake8, pydocstyle, pytest-cov, and sphinx dependencies 2016-11-21 00:48:44 -05:00
jab 2e8ccc2eec dowgrade pytest-benchmark to 3.0.0
3.1.0a1 with benchmark-compare compares the current run against itself,
rather than against the previous run as it should

ionelmc/pytest-benchmark#62
2016-11-21 00:35:18 -05:00
jab b33d5da47d upgrade pre-commit and tox dependencies, benchmark compare to all previous runs 2016-11-21 00:17:54 -05:00
jab 89867aa067 upgrade to pytest 3.0.4 2016-11-13 12:41:00 -05:00
jab dbd0c6017b upgrade to hypothesis 3.6.0 and pytest-benchmark 3.1.0a1 2016-11-06 08:46:07 -05:00
jab 184de7f07f update to latest pytest (3.0.3) and hypothesis (3.5.3) 2016-10-05 11:59:51 -04:00
jab 26ed6b5c0a upgrade to latest pytest (3.0.2) 2016-09-03 20:30:27 -04:00
jab fa4e21297f upgrade to latest pytest (3.0.1) 2016-08-24 11:33:54 -04:00
jab 6c6290a7a9 update to latest pytest (3.0.0) 2016-08-21 22:17:05 -04:00
Waldir Pimenta d82f91bcde fix short identifier for the ISC license
see https://opensource.org/licenses/ISC and http://spdx.org/licenses/ISC.html
2016-07-31 12:49:16 +01:00
jab 2f6bf59057 upgrade to latest coverage (4.2) 2016-07-27 20:53:07 -04:00