Unable to build project depending on Zappa via pip-compile
See original GitHub issueContext
Builds of my private project using Zappa 0.54.1 started failing on Fri, Jan 7. No changes were made to the project dependencies.
Expected Behavior
Build of a project depending on zappa 0.54.1 succeeds as before.
Actual Behavior
Build started failing on Fri, Jan 7 with error:
#8 22.03 ERROR: Cannot install -r requirements.txt (line 220), -r requirements.txt (line 539) and placebo==0.10.0 because these package versions have conflicting dependencies.
#8 22.03
#8 22.03 The conflict is caused by:
#8 22.03 The user requested placebo==0.10.0
#8 22.03 kappa 0.6.0 depends on placebo>=0.8.1
#8 22.03 zappa 0.54.1 depends on placebo<0.10
Possible Fix
Loosen placebo version requirement.
Steps to Reproduce
- Have a requirements.in with zappa==0.54.1
- pip-compile --generate-hashes --allow-unsafe requirements.in
- pip install -r requirements.txt
pip-compile generates this in requirements.txt:
placebo==0.10.0 \
--hash=sha256:390db04f3f3486790b583dc18cb0bc116f195f196d4e58195adb4bb543ebe0bd
# via kappa
but since Zappa now requires placebo < 0.10.0, the build fails.
Why was the package or dependencies of the existing 0.54.1 release changed?
Your Environment
- Zappa version used: 0.54.1
- Operating System and Python version: Python 3.7
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:6 (2 by maintainers)
Top Results From Across the Web
python - Django - Can't install zappa - Stack Overflow
I am trying to install zappa for my Django project with the pip install zappa command. For some reason I am getting the...
Read more >pip-compile-multi 1.3.0 - PyPI
Compile multiple requirements files to lock dependency versions. ... Suppose you have a python project with following direct dependencies: click pip-tools.
Read more >Using pip-compile to manage dependencies in your Python ...
In this article, we will look at how we can use pip-compile to keep your Python package's dependencies updated with the minimum amount...
Read more >How to install, download and build Python wheels - ActiveState
Open source Python packages can be installed from Source Distributions (sdist) or Wheels (whl). According to the Python Packaging Authority ( ...
Read more >Implementing gRPC In Python: A Step-by-step Guide - Velotio
In the last few years, we saw a great shift in technology, where projects are moving towards ... I will be focussing on...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi all, you are correct that
zappa-0.54.1-py3-none-any.whl
onpypi
is not the intended0.54.1
release and accidentally contains later commits found inmaster
(through Jan 7, 2022). This is an error we are actively working to correct (see: #1103). In the meantime,zappa-0.54.1-py2.py3-none-any.whl
is the original0.54.1
release (from Nov 11, 2021), and can be used if0.54.1
is explicitly needed. You can also build it yourself from the source onpypi
, which is also the expected original0.54.1
release (from Nov 11, 2021):zappa-0.54.1.tar.gz
As for what to expect as a future state, we intend to:
0.55.0
topypi
, which will contain a superset of all of the changes currently found inzappa-0.54.1-py3-none-any.whl
(the accidental build published on Jan 7, 2022). The wheel can be expected to be namedzappa-0.55.0-py3-none-any.whl
.0.54.1
release inpypi
, delete what is currently calledzappa-0.54.1-py3-none-any.whl
(the accidental build published on Jan 7, 2022) and renamezappa-0.54.1-py2.py3-none-any.whl
(the original build published on Nov 11, 2021) tozappa-0.54.1-py3-none-any.whl
(the-py2.py3-
part of the wheel name is a mistake too - we don’t currently support Python 2). This will bring us to our intended state inpypi
, where each release has one and only onepy3
wheel, built from a commit marked with an explicit version tag.To reiterate, if anyone is relying on features currently found in the accidentally published
zappa-0.54.1-py3-none-any.whl
from Jan 7, 2022, all of those features will be available in the forthcoming0.55.0
release, which will be published before that wheel is removed from0.54.1
inpypi
.Sorry for any confusion or inconvenience this may have caused. Thank you for bearing with the growing pains of a new group of unpaid maintainers taking over an old, heavily-trafficked, and, until recently, relatively unmaintained repo 😄
Hello 👋 I had the same issue, freezing
placebo"==0.9.0"
worked for me as a workaround