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

Upgrade hiredis #15390

Closed
wants to merge 3 commits into from
Closed

Conversation

jessicamack
Copy link
Member

SUMMARY

The requirement was previously blocked because the package didn't provide source distribution on PyPi but this has been resolved https://pypi.org/project/hiredis/2.3.2/#files

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • Other
AWX VERSION
awx: 24.6.2
ADDITIONAL INFORMATION

was previously blocked because the package didn't provide source distribution on PyPi but this has been resolved
@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Jul 22, 2024
Copy link
Member

@TheRealHaoLiu TheRealHaoLiu left a comment

Choose a reason for hiding this comment

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

### hiredis

The hiredis 2.1.0 release doesn't provide source distribution on PyPI which prevents users to build that python package from the
sources.
Downgrading to 2.0.0 (which provides source distribution) until the channels-redis issue is fixed or a newer hiredis version is
available on PyPi with source distribution.

* https://github.com/redis/hiredis-py/issues/138

this is still in the UPGRADE BLOCKERs doc

can u check on it

@TheRealHaoLiu
Copy link
Member

also... is this requirement needed? or can just be deleted if its a indirect dependency it should be ok to just delete it

we don't use hiredis directly so removing it from requirements. it will still be in requirements via aioredis
@jessicamack
Copy link
Member Author

@TheRealHaoLiu I think you're correct about it being an indirect dependency so I've removed it.

# -r /awx_devel/requirements/requirements.in
# aioredis
hiredis==2.3.2
# via aioredis
Copy link
Member

Choose a reason for hiding this comment

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

since aioredis is removed from the channel_redis upgrade to 4.x we can probably just remove hiredis

Copy link
Member

Choose a reason for hiding this comment

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

updator need to be rerun after the channel_redis upgrade is merged

Copy link
Member

Choose a reason for hiding this comment

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

@jessicamack can u roll this into the channel_redis PR?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, we'll have to merge them in order but we can leave this one for last and run update so the requirements.txt is up to date

@jessicamack
Copy link
Member Author

This work is being merged into #15329

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants