[PR #53] [MERGED] prepare for release #68

Closed
opened 2026-02-27 10:25:41 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/modoboa/modoboa-postfix-autoreply/pull/53
Author: @ghost
Created: 1/25/2018
Status: Merged
Merged: 1/25/2018
Merged by: @tonioo

Base: masterHead: prepare-for-release


📝 Commits (5)

  • c6e4135 refactor setup.py
  • 5dd7aa1 fix travis setup
  • c6b6891 don't silence pip
  • 6c70059 Py >= 3.5 SysLogHandler silently fails if /dev/log isn't available
  • 74b7649 bump minimum Modoboa version

📊 Changes

7 files changed (+100 additions, -92 deletions)

View changed files

📝 .travis.yml (+11 -19)
📝 modoboa_postfix_autoreply/__init__.py (+14 -1)
📝 modoboa_postfix_autoreply/management/commands/autoreply.py (+11 -2)
📝 requirements.txt (+1 -1)
📝 setup.cfg (+2 -0)
📝 setup.py (+59 -69)
📝 test-requirements.txt (+2 -0)

📄 Description

Builds will currently fail until Modoboa 1.10.0 is tagged, this build shows the other changes don't break anything.

  • refactor setup.py

    • use setuptools_scm to generate version number, normal releases will use the tagged version (ie 1.9.1), versions installed from source will append the git commit number to the version number (ie 1.9.1.dev61+g4584c93)

    • use io.open() to read text files to correctly handle utf-8 characters

    • use pip to parse requirements.txt

    • update classifiers to specify python and django versions supported

    • wheel distributions can now be built using python setup.py bdist_wheel

  • fix travis setup

    • target oldest currently supported database servers, travis currently defaults to PostgreSQL 9.2 which isn't supported anymore.

    • move database dependencies out of travis.yml into test_requirements.txt and pin to minimum versions recommended by django.
      See https://docs.djangoproject.com/en/1.11/ref/databases/

    • remove unnecessary database setup.
      See modoboa/modoboa#1340

    • create binary wheels when a tag is pushed

  • Py >= 3.5 SysLogHandler silently fails if /dev/log isn't available
    See python/cpython@e59af55


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/modoboa/modoboa-postfix-autoreply/pull/53 **Author:** [@ghost](https://github.com/ghost) **Created:** 1/25/2018 **Status:** ✅ Merged **Merged:** 1/25/2018 **Merged by:** [@tonioo](https://github.com/tonioo) **Base:** `master` ← **Head:** `prepare-for-release` --- ### 📝 Commits (5) - [`c6e4135`](https://github.com/modoboa/modoboa-postfix-autoreply/commit/c6e41358d644e0f87bec432039fc8d008a189d93) refactor setup.py - [`5dd7aa1`](https://github.com/modoboa/modoboa-postfix-autoreply/commit/5dd7aa11560328cd86267930627ff887f0371ffa) fix travis setup - [`c6b6891`](https://github.com/modoboa/modoboa-postfix-autoreply/commit/c6b6891b5efd0ebe383f8f8e3601739b3ea4ab1b) don't silence pip - [`6c70059`](https://github.com/modoboa/modoboa-postfix-autoreply/commit/6c70059a14f8fe36b2e71348f9ea36fdf0d60df1) Py >= 3.5 SysLogHandler silently fails if /dev/log isn't available - [`74b7649`](https://github.com/modoboa/modoboa-postfix-autoreply/commit/74b764962bc5fa90947efad88a9d073fc05c0620) bump minimum Modoboa version ### 📊 Changes **7 files changed** (+100 additions, -92 deletions) <details> <summary>View changed files</summary> 📝 `.travis.yml` (+11 -19) 📝 `modoboa_postfix_autoreply/__init__.py` (+14 -1) 📝 `modoboa_postfix_autoreply/management/commands/autoreply.py` (+11 -2) 📝 `requirements.txt` (+1 -1) 📝 `setup.cfg` (+2 -0) 📝 `setup.py` (+59 -69) 📝 `test-requirements.txt` (+2 -0) </details> ### 📄 Description Builds will currently fail until Modoboa 1.10.0 is tagged, [this build](https://travis-ci.org/fyfe/modoboa-postfix-autoreply/builds/333119739) shows the other changes don't break anything. - refactor setup.py - use setuptools_scm to generate version number, normal releases will use the tagged version (ie 1.9.1), versions installed from source will append the git commit number to the version number (ie 1.9.1.dev61+g4584c93) - use io.open() to read text files to correctly handle utf-8 characters - use pip to parse requirements.txt - update classifiers to specify python and django versions supported - wheel distributions can now be built using `python setup.py bdist_wheel` - fix travis setup - target oldest currently supported database servers, travis currently defaults to PostgreSQL 9.2 which isn't supported anymore. - move database dependencies out of travis.yml into test_requirements.txt and pin to minimum versions recommended by django. See https://docs.djangoproject.com/en/1.11/ref/databases/ - remove unnecessary database setup. See modoboa/modoboa#1340 - create binary wheels when a tag is pushed - Py >= 3.5 SysLogHandler silently fails if /dev/log isn't available See python/cpython@e59af55 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 10:25:41 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-postfix-autoreply-modoboa#68
No description provided.