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

fix: bump eventlet to support more python version #8979

Closed
wants to merge 4 commits into from

Conversation

florianvazelle
Copy link

Hi 👋

I submit a PR to bump the extra eventlet requirement.

It's seems that the python_version<"3.10" condition where added in #6807, with the commit 914c6cd, 3 years ago.

The message of the commit was "Currently, eventlet is not supported by 3.10.".

So now, the eventlet package support python from 3.7 to 3.12 (ref: https://github.com/eventlet/eventlet/tree/v0.34.0?tab=readme-ov-file#supported-python-versions).

@florianvazelle
Copy link
Author

It's seems that:

  • t/unit/backends/test_mongodb.py::test_MongoBackend::test_init_mongodb_dnspython2_pymongo4_seedlist failed on python 3.8, 3.9 and 3.10,
  • t/unit/concurrency/test_eventlet.py::test_aaa_eventlet_patch::test_aaa_blockdetecet failed on python 3.11 and 3.12,

I would like some input on these tests 😅

@auvipy auvipy self-requested a review May 1, 2024 16:07
Copy link
Member

@auvipy auvipy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New usages of eventlet are now heavily discouraged!

we might need to consider deprecate it's support

@Nusnus
Copy link
Member

Nusnus commented May 1, 2024

It's seems that:

  • t/unit/backends/test_mongodb.py::test_MongoBackend::test_init_mongodb_dnspython2_pymongo4_seedlist failed on python 3.8, 3.9 and 3.10,
  • t/unit/concurrency/test_eventlet.py::test_aaa_eventlet_patch::test_aaa_blockdetecet failed on python 3.11 and 3.12,

I would like some input on these tests 😅

I already fixed that on main - rebasing this PR to get it away :)

@Nusnus
Copy link
Member

Nusnus commented May 1, 2024

New usages of eventlet are now heavily discouraged!

we might need to consider deprecate it's support

Until we give it some focus, I think it does makes sense to at least allow the bump, no @auvipy ?

@auvipy
Copy link
Member

auvipy commented May 1, 2024

we should bump for sure for now

Copy link

codecov bot commented May 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.81%. Comparing base (078f80f) to head (1cfca86).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8979   +/-   ##
=======================================
  Coverage   77.81%   77.81%           
=======================================
  Files         150      150           
  Lines       18686    18686           
  Branches     3193     3193           
=======================================
  Hits        14540    14540           
  Misses       3854     3854           
  Partials      292      292           
Flag Coverage Δ
unittests 77.79% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@auvipy
Copy link
Member

auvipy commented May 2, 2024

there are still some failures

@Nusnus
Copy link
Member

Nusnus commented May 2, 2024

there are still some failures

Yeah I notice this happens on main, something new I guess :/

@Nusnus
Copy link
Member

Nusnus commented May 2, 2024

there are still some failures

Yeah I notice this happens on main, something new I guess :/

Working on a fix #8999

@Nusnus
Copy link
Member

Nusnus commented May 2, 2024

there are still some failures

Yeah I notice this happens on main, something new I guess :/

Working on a fix #8999

I’ll rebase all of the failing PRs after I get main to 100% pass @auvipy

@Nusnus
Copy link
Member

Nusnus commented May 2, 2024

It should be working now 🤞

CleanShot 2024-05-03 at 00 57 56

@Nusnus
Copy link
Member

Nusnus commented May 2, 2024

2024-05-02T22:01:49.3410797Z FAILED t/unit/backends/test_mongodb.py::test_MongoBackend::test_init_mongodb_dnspython2_pymongo4_seedlist
2024-05-02T22:01:49.3411879Z FAILED t/unit/concurrency/test_eventlet.py::test_aaa_eventlet_patch::test_aaa_blockdetecet

Very weird…

@florianvazelle can you double check me this branch is rebased on latest main?

@Nusnus
Copy link
Member

Nusnus commented May 3, 2024

2024-05-02T22:01:49.3410797Z FAILED t/unit/backends/test_mongodb.py::test_MongoBackend::test_init_mongodb_dnspython2_pymongo4_seedlist
2024-05-02T22:01:49.3411879Z FAILED t/unit/concurrency/test_eventlet.py::test_aaa_eventlet_patch::test_aaa_blockdetecet

Very weird…

@florianvazelle can you double check me this branch is rebased on latest main?

Very interesting they released another version since I was trying to figure out what's going on:
#9000

Let's see if it is now stable..

@Nusnus
Copy link
Member

Nusnus commented May 3, 2024

I really don’t understand what’s going on…
Long shot - changed from 0.34 to 0.36

@Nusnus
Copy link
Member

Nusnus commented May 3, 2024

@Nusnus
Copy link
Member

Nusnus commented May 3, 2024

Nope

2024-05-03T08:31:38.4655135Z FAILED t/unit/backends/test_mongodb.py::test_MongoBackend::test_init_mongodb_dnspython2_pymongo4_seedlist
2024-05-03T08:31:38.4655989Z FAILED t/unit/concurrency/test_eventlet.py::test_aaa_eventlet_patch::test_aaa_blockdetecet

@Nusnus
Copy link
Member

Nusnus commented May 3, 2024

Giving up isn’t really my style, but this is becoming an overkill.
Added back the < Py310 restriction but updated to 0.36.1 - I now care only to see if it even works :/

@Nusnus
Copy link
Member

Nusnus commented May 3, 2024

Well, I’d say then "Python 3.7-3.12 are currently supported.” from their docs is probably incorrect, or not fully correct.

Being super deprecated, I’d recommend discarding this PR as it doesn’t change anything really (with my latest modifications).

@auvipy @florianvazelle

@florianvazelle
Copy link
Author

Well, I’d say then "Python 3.7-3.12 are currently supported.” from their docs is probably incorrect, or not fully correct.

Being super deprecated, I’d recommend discarding this PR as it doesn’t change anything really (with my latest modifications).

@auvipy @florianvazelle

Ok, no problem for me, eventlet seems not to work very well and is unmaintained.
Do I need to open an issue to deprecated/removed the use of eventlet with celery ?

@Nusnus
Copy link
Member

Nusnus commented May 3, 2024

Well, I’d say then "Python 3.7-3.12 are currently supported.” from their docs is probably incorrect, or not fully correct.
Being super deprecated, I’d recommend discarding this PR as it doesn’t change anything really (with my latest modifications).
@auvipy @florianvazelle

Ok, no problem for me, eventlet seems not to work very well and is unmaintained. Do I need to open an issue to deprecated/removed the use of eventlet with celery ?

It’s fine, thanks.
We’ll handle it once we can allocate some focus into improving it, for now we can just move on :)

@Nusnus Nusnus closed this May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants