-
Notifications
You must be signed in to change notification settings - Fork 96
Comparing changes
Open a pull request
base repository: python-semver/python-semver
base: 3.0.0-dev.1
head repository: python-semver/python-semver
compare: 3.0.0-dev.2
- 11 commits
- 40 files changed
- 2 contributors
Commits on Nov 1, 2020
-
* Bump the dev part to "dev.2" * Add stubby setup.py file for compatibility with python 3.6 * Deprecate cli functions imported from root * Revert to `pysemver` as console script. * Refactor __main__.py * add type hints for correctness * Rename VersionInfo to Version to close #305 * Refactor and integrate suggestion from @tomschr * Create :file:`src/semver/cli.py` for all CLI methods * Create :file:`src/semver/_deprecated.py` for the ``deprecated`` decorator and other deprecated functions * Create :file:`src/semver/__main__.py` to allow calling the CLI using :command:`python -m semver` * Create :file:`src/semver/_types.py` to hold type aliases * Create :file:`src/semver/version.py` to hold the :class:`VersionInfo` class and its utility functions * Create :file:`src/semver/__about__.py` for all the metadata variables * Adapt infrastructure code to the new project layout. * Replace :file:`setup.py` with :file:`setup.cfg` because the :file:`setup.cfg` is easier to use * Adapt documentation code snippets where needed * Adapt tests * Changed the ``deprecated`` to hardcode the ``semver`` package name in the warning. * Change path for docformatter and run it. * Remove pyi inclusion from black sine we aren't using them * Split up changelog to make more sense. * Add documentation for Version rename * Increase coverage to 100% in non-deprecated parts. * Update changelog.d/169.feature.rst Co-authored-by: Thomas Laferriere <t.laferriere@hotmail.ca> Co-authored-by: Tom Schraitle <tomschr@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b0f854d - Browse repository at this point
Copy the full SHA b0f854dView commit details -
Acoording to the mentioned PEP: "Package maintainers who wish to support type checking of their code MUST add a marker file named py.typed to their package supporting typing." Add package_data to setup.cfg to include this marker in dist and whl file.
Configuration menu - View commit details
-
Copy full SHA for 2123413 - Browse repository at this point
Copy the full SHA 2123413View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1cf906 - Browse repository at this point
Copy the full SHA d1cf906View commit details -
Distinguish between changlog for version 2 and 3
Split changelog entries into semver 3 (new) and semver 2 (old).
Configuration menu - View commit details
-
Copy full SHA for edfbbe9 - Browse repository at this point
Copy the full SHA edfbbe9View commit details -
Document migration from semver2 to semver3
Create a separate file to describe how to migrate to new semver3.
Configuration menu - View commit details
-
Copy full SHA for bb2cb90 - Browse repository at this point
Copy the full SHA bb2cb90View commit details -
* Use sphinx-apidoc to build API documentation * Amend tox.ini and call sphinx-apidoc * Remove old autosummary; it turned out it was difficult to configure and returned warning messages which were hard to fix. * Add semver version in footer * Add semver.__about__ to API doc * Unorthodox solution with sed * Remove obsolete config variables in docs/config.py * Add docs/_api/semver.__about__.rst as a placeholder * Add changelog.d/304.doc.rst (An old attempt was to use autosummary from https://stackoverflow.com/a/62613202; however, that didn't work quite well.) Co-authored-by: Tom Schraitle <tomschr@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7d00884 - Browse repository at this point
Copy the full SHA 7d00884View commit details -
Merge pull request #306 from tomschr/feature/169-package
Create semver package
Configuration menu - View commit details
-
Copy full SHA for ff07c90 - Browse repository at this point
Copy the full SHA ff07c90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b22c6f - Browse repository at this point
Copy the full SHA 8b22c6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d192da - Browse repository at this point
Copy the full SHA 5d192daView commit details -
Use literal strings in setup.cfg
Due to https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html#metadata we cannot use the "attr:" type in the keywords author, author_email, maintainer, description, and maintainer_email. If we do not change it to literal strings, twine (or PyPI) complains about the metadata with the following error: HTTPError: 400 Client Error: 'attr: semver.__about__.__author_email__' is an invalid value for Author-email.
Configuration menu - View commit details
-
Copy full SHA for 6a5ba32 - Browse repository at this point
Copy the full SHA 6a5ba32View commit details -
Merge pull request #307 from tomschr/release/3.0.0-dev.2
Create 3.0.0-dev.2
Configuration menu - View commit details
-
Copy full SHA for e7558a9 - Browse repository at this point
Copy the full SHA e7558a9View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 3.0.0-dev.1...3.0.0-dev.2