Commit Graph

45 Commits

Author SHA1 Message Date
Roman Inflianskas c48be8800d
Add support for Python 3.13 (#2052)
Fixes https://github.com/celery/kombu/issues/2051.
2024-10-23 22:47:49 +03:00
Paul Rysiavets 07c8852be5
Feature: urllib3 instead of curl (#2134)
* feature(urllib3): add urllib3 client

* test(urllib3): test urllib3 client

* test(urllib3): update http test for urllib3

* test(urllib3): use urllib3 client instead of curl

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* style(urllib3): remove unused imports

* style(urllib3): fix pre-commit errors

* ci(urllib3): remove pycurl dependency

* docs(urllib3): add docs

* style(urllib3): fix failing gh-workflow py3.8

* style(urllib3): add mention of ProxyManager

* style(urllib3): fix pre-commit issues

* style(pycurl): remove curl-related code

* feat(urllib3): add missing request features (header, auth, ssl, proxy, redirects)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix(urllib3): improve styling

* test(urllib3): add new tests

* fix(urllib3): fix request auth

* fix(aws): validate certificate on request

* style(): add missing exports

* feat(aws): add ssl certificate verification from boto

* feat(urllib): try to use certifi.where() if request.ca_certs are not provided

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* ci(pydocstyle): add missing docstring in public class

* test(urllib3): improve test case

* ci(pydocstyle): fix multi-line docstring summary should start at the first line

* feat(urllib3): remove assert_hostname

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* test(boto): add test for get_cert_path returning .pem file path

* test(urllib3): add test for _get_pool_key_parts method

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
Co-authored-by: Tomer Nosrati <tomer.nosrati@gmail.com>
2024-10-14 17:01:25 +06:00
Tomer Nosrati 072befec84
Removed "on push" from the linter GitHub Actions workflow (#2133) 2024-10-01 15:15:53 +03:00
Tomer Nosrati e927d07fe3
Removed codecov flags (#2126) 2024-09-26 01:00:17 +03:00
Tomer Nosrati 3448887f78
Refactored CI (#2122)
* Refactored CI

* Added test-integration.txt for integration tests

* Removed .tox from "make clean"

* Fixed pypy

* Cleanup

* Added "--reruns 2" to integration tests
2024-09-25 21:10:28 +03:00
blacksmith-sh[bot] 4d7946e489
Migrate workflows to Blacksmith (#2112)
Co-authored-by: blacksmith-sh[bot] <157653362+blacksmith-sh[bot]@users.noreply.github.com>
2024-09-13 00:43:21 +03:00
Tomer Nosrati 183c873519
Revert "Exclude Unit 3.9 from CI #2046" (#2054) 2024-07-09 23:14:41 +03:00
Tomer Nosrati 5218099cb1
Fixed CI error from #2046 (#2047) 2024-07-01 17:32:46 +03:00
Tomer Nosrati be057b027a
Exclude Unit 3.9 from CI (#2046) 2024-07-01 17:12:30 +03:00
Joseph Zemek d620132ece
Redis transport - Redelivered messages should respect the original priority (#2026)
* Redelivered messages should respect the original priority

* update restore message test to check priority

* flake8

* add integration tests

* also add integration test for mongodb

* flake8

* temporarily removing python 3.9 from CI due to unrelated failures

* Update .github/workflows/ci.yaml

---------

Co-authored-by: Tomer Nosrati <tomer.nosrati@gmail.com>
Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
2024-06-25 22:15:39 +06:00
Tomer Nosrati 8f7f07e663
Changed pyup -> dependabot for updating dependencies (#1842) 2024-01-08 18:01:04 +02:00
dependabot[bot] 74a804a5d7
Bump github/codeql-action from 2 to 3 (#1832)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-14 11:43:47 +02:00
dependabot[bot] 9279d598ae
Bump actions/setup-python from 4 to 5 (#1829)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-07 10:39:15 +02:00
Asif Saif Uddin 6c8e7e6b28
added Python 3.12 in the CI (#1812)
* added Python 3.12 in the CI

* try to make kafka work on py3.12

* skip kafka for the time being as it seems not woring with py3.12 yet

* using assert_called_once()
2023-10-18 15:50:39 +06:00
dependabot[bot] 0298ef420d Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 17:34:17 +06:00
Tomer Nosrati 75cb234369 Added .github/dependabot.yml 2023-09-18 17:32:46 +06:00
Asif Saif Uddin 6df5ce8775
try python 3.11 on CI (#1425)
* try python 3.10 on CI

* Update .github/workflows/ci.yaml

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>

* Update .github/workflows/ci.yaml

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>

* Update .github/workflows/ci.yaml

* Update .github/workflows/ci.yaml

---------

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2023-06-08 15:53:56 +06:00
Stevie Gayet 5e30a6941f
chore(python): remove Python 3.7 support (#1708)
* chore(python): remove Python 3.7 support

* Update setup.py

---------

Co-authored-by: Stevie Gayet <stegayet@users.noreply.github.com>
Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
2023-05-15 09:23:25 +06:00
Stevie Gayet ae64a9f8ee
chore(ci): improve CI (#1707)
* chore(ci): use pypy3.9 to get rid of useless step

* chore(ci): pin setup-python to v4

---------

Co-authored-by: Stevie Gayet <stegayet@users.noreply.github.com>
2023-05-14 18:13:20 +06:00
Asif Saif Uddin 3a2648207d Update ci.yaml 2023-05-14 13:03:22 +06:00
Tomer Nosrati eea42fb1ac
Add Semgrep CI (#1695)
Co-authored-by: semgrep.dev on behalf of @Nusnus <support@r2c.dev>
2023-04-14 15:04:41 +03:00
Asif Saif Uddin d66c5ced20
Update codeql part to v2 (#1665) 2023-03-13 11:22:16 +06:00
Asif Saif Uddin 208eccefd4
updated python versiions in CI (#1663)
* updated python versiions in CI

* updated python versiions in CI with

* updated tox

* updated ci

* Update .github/workflows/ci.yaml

* Update .github/workflows/ci.yaml

* Update .github/workflows/ci.yaml
2023-03-13 10:57:16 +06:00
Omer Katz db8e5cc36e Switch references to master to main 2022-12-29 17:39:21 +06:00
Asif Saif Uddin e97223ffd5 stop cron job 2022-06-19 13:18:10 +06:00
Asif Saif Uddin 72ec0e5c48 stop schedule 2022-06-19 12:58:06 +06:00
Asif Saif Uddin b236e3f47d
v3 action-checkout (#1538) 2022-04-22 12:16:21 +06:00
CountRedClaw 33e8e5a781
Kafka support (#1506)
* Add kafka support

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix checks

* Fix checks

* Update kombu/transport/confluentkafka.py

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>

* Add customization ability

* Add docs

* Fix pypi integration tests

* Fix pydocstyle

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Cleanup

* Disable PyPy tests

* Fix tests

* Add docs

Co-authored-by: ilbo0518 <ilia.borsuk@netcracker.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
2022-04-21 23:40:41 +06:00
Jakub Pieńkowski 661d92222e
Support pymongo 4.x (#1536)
* Support pymongo 4.x

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix problems detected by CI

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-04-18 18:10:38 +06:00
Marcelo Trylesinski ea11a0b787
Add `mypy` to the pipeline (#1512)
* Add `mypy` to the pipeline

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-04-09 12:05:57 +06:00
Paul Brown 1cb3f6e451
Revert "try pining setuptools (#1466)" (#1481)
* Revert "try pining setuptools (#1466)"

This reverts commit 6ddf940940.

* Revert "try restrict setuptool in CI"

This reverts commit c4a8c2a69f.

* require setuptools>=47.0.0 in pkgutils.txt (version that dropped py2 support)
2022-01-13 14:28:40 +06:00
Asif Saif Uddin c4a8c2a69f try restrict setuptool in CI 2021-12-22 09:08:31 +06:00
Asif Saif Uddin a2d7cfd8ae
tidelift action 2021-11-27 13:15:09 +06:00
Illia Volochii 51deb4bcc1 Fix PyPy CI jobs 2021-11-25 10:31:39 +06:00
Asif Saif Uddin 9cde1e86dd
update funding info's 2021-11-24 14:41:04 +06:00
Asif Saif Uddin 24a66bdf29 create codeql actions 2021-11-19 14:31:01 +06:00
Matus Valo 5fefeb8b95
Dont failfast when pypy3 tests fail (#1408) 2021-10-24 20:38:48 +02:00
Asif Saif Uddin 73a5a6817d
try to fix CI (#1407)
* try to fix CI

* try without py310
2021-10-23 13:03:11 +06:00
Asif Saif Uddin e4fe3280ac
drop python 3.6 from CI (#1382)
* drop python 3.6 from CI

* Drop 3.6 from CI matrix.

Co-authored-by: Omer Katz <omer.drow@gmail.com>
2021-09-09 19:02:35 +03:00
Michał Bielawski 4f77faab77 Add support for Python 3.9 2021-07-31 10:27:29 +06:00
Asif Saif Uddin fd4dfa475d re order CI jobs to make lint the last
it was decided long ago and it let the unit and integrations tests run fast for faster feedback loop
2021-04-13 10:20:42 +06:00
Omer Katz c7ba31d4fd Opencollective bot is now configured. 2021-04-13 09:58:16 +06:00
Omer Katz 4446438767
Fix CI failure (#1327)
* Update before installing system dependencies.

* Actually run the linters using tox.

There are no environments named py-flake8, py-pydocstyle and py-apicheck.
2021-04-06 12:40:25 +02:00
Matus Valo 39ccacf0dc
Add Github Actions CI (#1309)
* Implement CI is github actions

* Skip failing pypy3 unittests

* Added integration tests
2021-03-07 18:53:25 +06:00
Asif Saif Uddin d4eab78ab4
create sponsor button 2019-05-29 14:36:29 +06:00