-
Notifications
You must be signed in to change notification settings - Fork 106
[Isolated] Update Pypi dependencies and install efs-proxy dependency #3011
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
Conversation
This reverts commit 976d479.
…me inside the Tar
….12.8 uses setup.py based installation where it uses a isolated build instead of looking at existing site-packages
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release-3.13 #3011 +/- ##
=============================================
Coverage 75.50% 75.50%
=============================================
Files 23 23
Lines 2356 2356
=============================================
Hits 1779 1779
Misses 577 577
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@@ -32,14 +32,6 @@ | |||
expect(node.default['cluster']['cookbook_virtualenv_path']).to eq(virtualenv_path) | |||
is_expected.to write_node_attributes('dump node attributes') | |||
end | |||
|
|||
it 'installs python packages' do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this removed?
|
||
action :install_utils do | ||
package_version = new_resource.efs_utils_version | ||
efs_utils_tarball = "#{node['cluster']['sources_dir']}/efs-utils-#{package_version}.tar.gz" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this moved as part of each action?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can't use new_resource
outside of an actionblock, so I can't define the variable globally because I would not be able to use new_resource
cached(:aws_region) { 'us-iso-test' } | ||
|
||
before do | ||
allow_any_instance_of(String).to receive(:start_with?).with("us-iso").and_return(true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets add the test for both partition where start_with is true and false
de59cb8
to
ddbc975
Compare
Description of changes
--no-build-isolation
as with Python 3.12.x so that we check for existing dependecies.** packages are installed with isolation from Py 3.12, where they do not check if the dependencies they want already exist and try to install them again.
Tests
Please review the guidelines for contributing and Pull Request Instructions.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.