Skip to content

Single sourcing the package version #1791

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

Merged
merged 2 commits into from
Dec 15, 2021
Merged

Conversation

chayim
Copy link
Contributor

@chayim chayim commented Dec 15, 2021

This PR single-sources the package version via setup.py's version, and for cases where the package is not installed (i.e local development), rely on 99.99.99.

closes #1784

@chayim chayim changed the title pulling version from setup.py Single sourcing the package version Dec 15, 2021
@chayim chayim marked this pull request as ready for review December 15, 2021 09:58
@codecov-commenter
Copy link

codecov-commenter commented Dec 15, 2021

Codecov Report

Merging #1791 (b99f136) into master (f82ab33) will decrease coverage by 0.00%.
The diff coverage is 75.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1791      +/-   ##
==========================================
- Coverage   94.22%   94.22%   -0.01%     
==========================================
  Files          74       74              
  Lines       15681    15687       +6     
==========================================
+ Hits        14776    14781       +5     
- Misses        905      906       +1     
Impacted Files Coverage Δ
setup.py 0.00% <ø> (ø)
redis/__init__.py 90.47% <75.00%> (-9.53%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f82ab33...b99f136. Read the comment docs.

@chayim chayim added the bug Bug label Dec 15, 2021
@chayim chayim merged commit c858f8e into redis:master Dec 15, 2021
@chayim chayim deleted the ck-versionfromsetup branch December 15, 2021 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

redis-py version attribute should be decoupled from the redis module
2 participants