summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Drop support for Travis-CIpkgRaphaël Barrois2021-03-022-34/+2
| | | | Also replace the badge with Github Actions
* Restrict colorama on Python 3.4Raphaël Barrois2021-03-021-0/+2
|
* Exclude invalid Django/Python combinationsRaphaël Barrois2021-03-021-5/+10
|
* Prepare switch to github actionsRaphaël Barrois2021-03-022-0/+69
|
* Upgrade pip on travisRaphaël Barrois2021-03-021-0/+1
| | | | | Avoids issues with too old pip being unable to download wheels for cryptography.
* Replace setup.py test with nose2Raphaël Barrois2021-03-022-1/+2
| | | | | | We can't use python -m unittest discover directly, as it mistakenly tries to import the source code of the Django test app without going through the setup_django module first.
* Move flake8 configuration to setup.cfgRaphaël Barrois2021-03-023-6/+7
|
* Move package metadata to setup.cfgRaphaël Barrois2021-03-028-95/+64
| | | | | | | Instead of relying on setup.py, use setup.cfg. Dev/doc requirements have been moved there as well, under the `doc` and `dev` extras.
* Fix SimpleSpec doc in README.rst.Raphaël Barrois2020-07-081-1/+3
| | | | | | As caught by Emilio Reyes. Closes #103.
* Linting.Raphaël Barrois2020-07-074-0/+10
| | | | Add missing blank lines.
* Add tests for Django's get_or_create.Raphaël Barrois2020-07-071-0/+14
| | | | Related to issue #97.
* Back to development: 2.8.6Raphaël Barrois2020-04-292-1/+7
|
* Preparing release 2.8.52.8.5Raphaël Barrois2020-04-292-2/+2
|
* Fix wildcard matching for SimpleSpec.Raphaël Barrois2020-04-294-2/+24
| | | | | | Including docs and tests. Closes #98.
* Back to development: 2.8.5Raphaël Barrois2019-12-212-1/+7
|
* Preparing release 2.8.42.8.4Raphaël Barrois2019-12-212-2/+2
|
* Properly coerce versions with leading zeroes.Raphaël Barrois2019-12-213-2/+14
| | | | | | | A leading zero is forbidden in the SemVer spec, but could be valid under other schemes; when coercing, it can easily be removed. Closes #89, thanks to Andrew Ni for the report.
* Update README.rstThijs Damsma2019-12-211-2/+2
| | | resolves #87
* Back to development: 2.8.4Raphaël Barrois2019-11-212-1/+7
|
* Preparing release 2.8.32.8.3Raphaël Barrois2019-11-212-2/+2
|
* Fix NpmSpec prerelease-handling.Raphaël Barrois2019-11-213-2/+13
| | | | | | | | | | | | | Thanks to Nathan Walters for spotting this. Npm ranges with a `<X.Y.Z-P` component were not properly expanded: they were converted to: <X.Y.0 || (>=X.Y.0 && <X.Y.Z-P && no-prerelease) The correct expansion is: <X.Y.0 || (>=X.Y.0-* && <X.Y.Z-P) Closes #86.
* Add Clause.prettyprint() for debug.Raphaël Barrois2019-11-211-0/+31
| | | | | | | | This function allows developers to preview the structure of the resulting clause parsed from a spec, usable with `print(spec.clause.prettyprint())`. Apply typical PEP8 indentation rules.
* Correct typo in SimpleSpec descriptionJason2019-09-131-1/+1
|
* Back to development: 2.8.3Raphaël Barrois2019-09-062-1/+7
|
* Preparing release 2.8.22.8.2Raphaël Barrois2019-09-062-2/+2
|
* Fix Spec.specs for single-term ranges.maint/2.xRaphaël Barrois2019-09-063-5/+14
| | | | | | | This (deprecated) property failed when used on a `Spec` item based on a single-term range (e.g. `==0.1.2` `<2.0.0`). Closes #82.
* Adapt from_db_value() for Django 3Dan Kolbman2019-08-301-1/+1
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Back to development: 2.8.2Raphaël Barrois2019-08-292-1/+7
|
* Preparing release 2.8.12.8.1Raphaël Barrois2019-08-292-2/+2
|
* Restore `Spec.specs` [Closes #79]Raphaël Barrois2019-08-292-1/+7
| | | | This attribute wasn't meant to be removed.
* Back to development: 2.8.1Raphaël Barrois2019-08-292-1/+7
|
* Preparing release 2.8.02.8.0Raphaël Barrois2019-08-292-2/+2
|
* Restore Python2 support.rbarrois/restore-py2Raphaël Barrois2019-08-2910-25/+94
|
* Back to development: 2.7.2Raphaël Barrois2019-08-282-1/+7
|
* Preparing release 2.7.12.7.1Raphaël Barrois2019-08-282-2/+2
|
* Fix NPM-style caret matching.Raphaël Barrois2019-08-283-7/+25
|
* Back to development: 2.7.1maint/v2.7Raphaël Barrois2019-08-282-1/+7
|
* Preparing release 2.7.02.7.0Raphaël Barrois2019-08-282-2/+2
|
* Enable zest.releaser.Raphaël Barrois2019-08-284-1/+23
| | | | Streamline the release process.
* Fix MANIFEST.inRaphaël Barrois2019-08-281-5/+5
| | | | Always include every dev/doc/test related files.
* Add `make help`.Raphaël Barrois2019-08-281-5/+53
|
* Describe upcoming changes.Raphaël Barrois2019-08-281-0/+11
|
* Rewrite `Spec` documentation.Raphaël Barrois2019-08-271-52/+49
| | | | Write clear, explicit rules for the `SimpleSpec` syntax.
* Deprecate support for 'partial' versions.rba/pre-2.8Raphaël Barrois2019-08-266-8/+21
| | | | | Their comparison semantics were ill-defined, and mostly an implementation detail for the old, 'native' specs.
* Adjust docs for readthedocs.Raphaël Barrois2019-08-261-3/+9
| | | | | - Use proper theme in development - Use ReadTheDocs version numbers in titles
* Add `Version.precedence_key`.Raphaël Barrois2019-08-265-205/+114
| | | | | | | | | | | | | | | | | | | This will be used in `sort(..., key=lambda v: v.precedence_key)`. Remove previous comparison/ordering implementation. The current implementation relies on a 4-tuple: - major, minor, patch (as integers) - natural order matches precedence rules - a tuple of identifiers for the prerelease component. The identifiers for the prerelease components are based on: - A `NumericIdentifier` class, that compares number using their natural order, and always compares lower than non-numeric identifiers - A `AlphaIdentifier` class for non-numeric identifiers; it compares versions using ASCII ordering. - A `MaxIdentifier` class, that compares higher to any other identifier; used to ensure that a non-prerelease version is greater than any of its prereleases.
* Rename the 'setup' Makefile target.Raphaël Barrois2019-08-261-1/+1
| | | | | | Using `make update` is closer to common patterns than `make install-deps`; it is also suitable to update the local development environment.
* Add some docstrings.Raphaël Barrois2019-08-261-0/+1
|
* Add deprecations for Spec/SpecItem.Raphaël Barrois2019-08-266-138/+204
| | | | | | | | | The internal features from those classes will be removed in future versions: - The `Spec` class is incompatible with the support of multiple syntaxes - The `SpecItem` class was an implementation detail, but doesn't support complex `Range` combinations.
* Add support for NPM-style version ranges.Raphaël Barrois2019-08-268-4/+333
| | | | | | | | The code follows closely the specification available at https://docs.npmjs.com/misc/semver.html. Despite similarities, the matching logic is fully separate from the `native` code, since both might evolve at their own scales.