17
0

34 Commits

Author SHA256 Message Date
6f77dd0fee Accepting request 1298125 from devel:languages:python
- Disable tests, tests doesn't work with latest pytest-asyncio
  gh#cole/aiosmtplib@3b4bd0d7048c

OBS-URL: https://build.opensuse.org/request/show/1298125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiosmtplib?expand=0&rev=15
2025-08-07 14:50:00 +00:00
ca5714c34f OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=32 2025-08-07 11:23:56 +00:00
1ecb3ef092 - Disable tests, tests doesn't work with latest pytest-asyncio
gh#cole/aiosmtplib@3b4bd0d7048c

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=31
2025-08-07 11:18:15 +00:00
bd9389fc60 Accepting request 1278550 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1278550
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiosmtplib?expand=0&rev=14
2025-05-20 15:04:10 +00:00
3ccbbd1c90 - Update to 4.0.1
* Bugfix: Always clear the connect lock on connection lost,
    allowing client reconnect

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=29
2025-05-20 08:19:53 +00:00
54f6eeadac Accepting request 1267262 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1267262
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiosmtplib?expand=0&rev=13
2025-04-05 11:50:39 +00:00
7b3543fc8b - Update to 4.0.0
* BREAKING: Drop Python 3.8 support
  * Bugfix: Run socket.getfqdn in thread to avoid blocking event loop if local_hostname not provided (thanks @Raidzin)
  * Bugfix: Clear connect lock on connection lost, allowing client reconnect
  * Bugfix: Allow socket connections to use TLS by providing hostname and use_tls=True

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=27
2025-04-05 08:26:10 +00:00
4aab07e0ca Accepting request 1222850 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1222850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiosmtplib?expand=0&rev=12
2024-11-09 19:57:55 +00:00
d725f398a6 - Update to 3.0.2
* Bugfix: Type of "send" is partially unknown with pyright
  * Bugfix: Fix asyncio deadlock trying to reconnect after error
  * Change: Switched from Poetry to build/hatch/twine for packaging.
- Skip test_live and test_tls tests when running testsuite
- Switch package to modern Python Stack on SLE-15
  * Use Python 3.11 on SLE-15 by default
  * Drop support for older Python versions
- Switch build system from setuptools to pyproject.toml
  * Add python-pip and python-wheel to BuildRequires
  * Replace %python_build with %pyproject_wheel
  * Replace %python_install with %pyproject_install
- Limit Python files matched in %files section

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=25
2024-11-08 15:04:32 +00:00
95e77dca8e Accepting request 1126230 from devel:languages:python
- update to 3.0.1:
  * Bugfix: 'Future exception was never retrieved' warning in
    SMTPProtocol after successful connection close and garbage
    collection.
  * Cleanup: Updated FlowControlMixin logic from stdlib
    are keyword only.
  * **BREAKING**: Passing ``source_address`` as a string argument
    is now an error. ``source_address``  takes a (addr, port)
    tuple that is used as the ``local_addr`` param of
    ``asyncio.create_connection``, allowing for binding
    to a specific IP. The ``local_hostname`` argument takes the
    value to be sent to the server with the EHLO/HELO message
    (which is what ``source_address`` was used for prior to 2.0).
  * Change: don't use timeout value passed to ``connect``
    everywhere, only for the initial connection
  * Change: removed unnecessary connection lost callback
  * Change: revised handling for 'Future exception was never
    retrieved' warnings in protocol

- Update to v2.0.0
- remove failing_smtpd_tests.patch: not needed
  * Fix SMTPNotSupported error with UTF8 sender/recipient names

OBS-URL: https://build.opensuse.org/request/show/1126230
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiosmtplib?expand=0&rev=11
2023-11-15 20:08:24 +00:00
c82c95d35a - update to 3.0.3:
* Redefine `click.pass_context` and `click.get_current_context`
    to use `cloup.Context` in place of `click.Context`
- Integrate with git workflow
  * Fix: default to Group.command_class and Group.group_class when creating subcommands by @janluke in #162
- Version 2.0.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=23
2023-11-14 15:45:52 +00:00
8a83f1d9e9 Accepting request 1094128 from devel:languages:python
- update to 2.0.2:
  * Bugfix: don't send extra EHLO/HELO before QUIT
  * Change: added SMTPConnectionResponseError for invalid
    response on connect only

OBS-URL: https://build.opensuse.org/request/show/1094128
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiosmtplib?expand=0&rev=10
2023-06-21 20:39:00 +00:00
d8b2a4b46c - update to 2.0.2:
* Bugfix: don't send extra EHLO/HELO before QUIT
  * Change: added SMTPConnectionResponseError for invalid
    response on connect only

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=21
2023-06-20 16:49:57 +00:00
8ea039f571 Accepting request 1064217 from devel:languages:python
- update to 2.0.1:
  * Bugfix: "tests" and "docs" in the sdist should be includes,
    not packages, so that they do not get put in site-packages.

OBS-URL: https://build.opensuse.org/request/show/1064217
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiosmtplib?expand=0&rev=9
2023-02-10 13:36:06 +00:00
b27f94ce35 - update to 2.0.1:
* Bugfix: "tests" and "docs" in the sdist should be includes,
    not packages, so that they do not get put in site-packages.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=19
2023-02-10 10:37:02 +00:00
ca9b7e704a Accepting request 1035265 from devel:languages:python
- Update to v2.0.0 
  * BREAKING: Drop Python 3.5 and 3.6 support.
  * BREAKING: On connect, if the server supports STARTTLS, automatically try to upgrade the connection.
    STARTTLS after connect can be turned on or off explicitly by passing start_tls=True or start_tls=False respectively.
  * BREAKING: Remove deprecated loop keyword argument for the SMTP class.
  * Change: The source_address argument now takes a (addr, port) tuple that is passed as the local_addr param to asyncio.create_connection,
    allowing for binding to a specific IP. The new local_hostname argument that takes the value to be sent to the server with the EHLO/HELO message.
    This behaviour more closely matches smtplib.
  * In order to not break existing usage, passing a string instead of a tuple to source_address will give a DeprecationWarning,
    and use the value as it if had been passed for local_hostname.
  * Thanks @rafaelrds and @davidmcnabnz for raising and contributing work on this issue.
  * Bugfix: the mail_options and rcpt_options arguments to the send coroutine no longer cause errors
  * Cleanup: Refactored SMTP parent classes to remove complex inheritance structure.
  * Cleanup: Switched to asyncio.run for sync client methods.
  * Cleanup: Don't use private email.message.Message policy attribute (instead, set an appropriate policy based on message class)
- Update to v1.1.7
  * Security: Fix a possible injection vulnerability (a variant of https://consensys.net/diligence/vulnerabilities/python-smtplib-multiple-crlf-injection/)
  * Note that in order to exploit this vulnerability in aiosmtplib, the attacker would need control of the hostname or source_address parameters.
    Thanks Sam Sanoop @ Snyk for bringing this to my attention.
  * Bugfix: include CHANGLOG in sdist release
  * Type hints: fix type hints for async context exit (credit @JelleZijlstra)

OBS-URL: https://build.opensuse.org/request/show/1035265
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiosmtplib?expand=0&rev=8
2022-11-12 16:41:07 +00:00
2c444cfc3d try to unexclude tests (no reason was given before)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=17
2022-11-11 13:23:55 +00:00
c695e9fa7f Accepting request 1035109 from home:yarunachalam:branches:devel:languages:python
- Update to v2.0.0 
  * BREAKING: Drop Python 3.5 and 3.6 support.
  * BREAKING: On connect, if the server supports STARTTLS, automatically try to upgrade the connection.
    STARTTLS after connect can be turned on or off explicitly by passing start_tls=True or start_tls=False respectively.
  * BREAKING: Remove deprecated loop keyword argument for the SMTP class.
  * Change: The source_address argument now takes a (addr, port) tuple that is passed as the local_addr param to asyncio.create_connection,
    allowing for binding to a specific IP. The new local_hostname argument that takes the value to be sent to the server with the EHLO/HELO message.
    This behaviour more closely matches smtplib.
  * In order to not break existing usage, passing a string instead of a tuple to source_address will give a DeprecationWarning,
    and use the value as it if had been passed for local_hostname.
  * Thanks @rafaelrds and @davidmcnabnz for raising and contributing work on this issue.
  * Bugfix: the mail_options and rcpt_options arguments to the send coroutine no longer cause errors
  * Cleanup: Refactored SMTP parent classes to remove complex inheritance structure.
  * Cleanup: Switched to asyncio.run for sync client methods.
  * Cleanup: Don't use private email.message.Message policy attribute (instead, set an appropriate policy based on message class)
- Update to v1.1.7
  * Security: Fix a possible injection vulnerability (a variant of https://consensys.net/diligence/vulnerabilities/python-smtplib-multiple-crlf-injection/)
  * Note that in order to exploit this vulnerability in aiosmtplib, the attacker would need control of the hostname or source_address parameters.
    Thanks Sam Sanoop @ Snyk for bringing this to my attention.
  * Bugfix: include CHANGLOG in sdist release
  * Type hints: fix type hints for async context exit (credit @JelleZijlstra)

OBS-URL: https://build.opensuse.org/request/show/1035109
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=16
2022-11-11 13:23:06 +00:00
adea49efa9 Accepting request 946684 from devel:languages:python
- update to 1.1.6:
  * update auth other than login
- remove failing_smtpd_tests.patch: not needed

OBS-URL: https://build.opensuse.org/request/show/946684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiosmtplib?expand=0&rev=7
2022-01-16 23:22:45 +00:00
c9d3a2df7d - update to 1.1.6:
* update auth other than login
- remove failing_smtpd_tests.patch: not needed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=15
2022-01-15 17:25:18 +00:00
127d9c8ed1 Accepting request 891391 from devel:languages:python
- Add failing_smtpd_tests.patch to fix failing tests
  (gh#cole/aiosmtplib#171).

OBS-URL: https://build.opensuse.org/request/show/891391
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiosmtplib?expand=0&rev=6
2021-05-08 20:07:33 +00:00
f317c947e0 - Add failing_smtpd_tests.patch to fix failing tests
(gh#cole/aiosmtplib#171).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=13
2021-05-07 20:54:15 +00:00
03fd764ff4 Accepting request 889680 from devel:languages:python
- Update to 1.1.5:
  - Bugfix: avoid raising asyncio.CancelledError on connection lost
  - Bugfix: allow UTF-8 chars in usernames and password strings
  - Feature: allow bytes type args for login usernames and passwords
- Switch off failing tests because of gh#cole/aiosmtplib#171.

OBS-URL: https://build.opensuse.org/request/show/889680
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiosmtplib?expand=0&rev=5
2021-05-02 16:35:58 +00:00
3a83422e1e - Update to 1.1.5:
- Bugfix: avoid raising asyncio.CancelledError on connection lost
  - Bugfix: allow UTF-8 chars in usernames and password strings
  - Feature: allow bytes type args for login usernames and passwords
- Switch off failing tests because of gh#cole/aiosmtplib#171.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=11
2021-05-01 06:19:40 +00:00
508a80b86c Accepting request 851905 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/851905
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiosmtplib?expand=0&rev=4
2020-12-01 13:23:07 +00:00
9e9892836e Accepting request 851642 from home:jayvdb:branches:devel:languages:python
- Add docs/*.rst to %doc
- Remove a test skip that has been resolved upstream
- Update to v1.1.4

OBS-URL: https://build.opensuse.org/request/show/851642
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=9
2020-11-30 16:03:59 +00:00
199fc0cf06 Accepting request 787470 from devel:languages:python
- Remove docs/tests folders that were not supposed to be installed

OBS-URL: https://build.opensuse.org/request/show/787470
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiosmtplib?expand=0&rev=3
2020-03-24 21:34:10 +00:00
Tomáš Chvátal
14c5a7ab98 - Remove docs/tests folders that were not supposed to be installed
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=7
2020-03-23 13:06:43 +00:00
f729836857 Accepting request 765073 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/765073
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiosmtplib?expand=0&rev=2
2020-01-17 15:08:17 +00:00
Tomáš Chvátal
fca7069362 Accepting request 765048 from home:mcalabkova:branches:devel:languages:python
- update to 1.1.2
  * Fix handling of sending legacy email API (Message) objects.
  * Fix SMTPNotSupported error with UTF8 sender/recipient names 
    on servers that don’t support SMTPUTF8.

OBS-URL: https://build.opensuse.org/request/show/765048
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=5
2020-01-16 19:30:17 +00:00
c5e65963f5 Accepting request 731433 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/731433
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiosmtplib?expand=0&rev=1
2019-09-27 12:49:07 +00:00
Tomáš Chvátal
2461656429 - Format with spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=3
2019-09-17 08:45:51 +00:00
Tomáš Chvátal
265c5a9645 Accepting request 731367 from home:jayvdb:strictyaml
- Skip two online tests, and one failing test on i586

OBS-URL: https://build.opensuse.org/request/show/731367
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=2
2019-09-17 08:45:20 +00:00
Tomáš Chvátal
add65cf770 Accepting request 731271 from home:jayvdb:strictyaml
dep of yacron

OBS-URL: https://build.opensuse.org/request/show/731271
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=1
2019-09-16 12:43:45 +00:00