Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove versioningit because it makes packaging difficult for Linux distributions #26

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
v0.6.5 (2023-08-19)
-------------------

Other
~~~~~

- Keep changelog up to date manually as I don't know how to autogenerate. [Thomas David Baker]
- Remove versioningit because it makes packaging hard for Linux distrubutions. [Thomas David Baker]

v0.6.4 (2023-08-13)
-------------------

Expand Down
7 changes: 0 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,6 @@ the spec tests; PyYAML can still be used (see the Develop section).

Official support for Python 2 has ended with Pystache version 0.6.0.


.. note:: This project uses versioningit_ to generate and maintain the
version file, which only gets included in the sdist/wheel
packages. In a fresh clone, running any of the tox_ commands
should generate the current version file.

.. _versioningit: https://github.com/jwodder/versioningit
.. _tox: https://github.com/tox-dev/tox


Expand Down
2 changes: 0 additions & 2 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ requirements:
- pip
- python
- setuptools
- versioningit
run:
- python >=3.7
- versioningit

test:
imports:
Expand Down
12 changes: 0 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"versioningit >= 1.1.1",
]

build-backend = "setuptools.build_meta"
Expand Down Expand Up @@ -64,14 +63,3 @@ include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true

[tool.versioningit.next-version]
method = "smallest"

[tool.versioningit.format]
distance = "{next_version}.dev{distance}"
dirty = "{version}+d{build_date:%Y%m%d}"
distance-dirty = "{next_version}.dev{distance}"

[tool.versioningit.write]
file = "pystache/_version.py"
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ PLATFORM =
[base]
deps =
pip>=21.1
versioningit

[testenv]
passenv = CI,PYTHON,PYTHONIOENCODING
Expand Down