Skip to content

chore: Respect environment variables when calling check_call - #2741

Merged
feast-ci-bot merged 1 commit into
feast-dev:masterfrom
achals:achal/gitpod-check-call
May 27, 2022
Merged

chore: Respect environment variables when calling check_call#2741
feast-ci-bot merged 1 commit into
feast-dev:masterfrom
achals:achal/gitpod-check-call

Conversation

@achals

@achals achals commented May 27, 2022

Copy link
Copy Markdown
Member

Signed-off-by: Achal Shah achals@gmail.com

What this PR does / why we need it:

If we set something like PYTHONUSERBASE for gitpod builds, then the site-packages for python are located in a non-standard location and modules cannot be located. This fixes that by inheriting the python process' environment.

Which issue(s) this PR fixes:

Fixes #

Signed-off-by: Achal Shah <achals@gmail.com>
@feast-ci-bot

Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: achals, pyalex

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@pyalex

pyalex commented May 27, 2022

Copy link
Copy Markdown
Collaborator

/lgtm

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

Merging #2741 (369494a) into master (1f89758) will decrease coverage by 0.09%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #2741      +/-   ##
==========================================
- Coverage   80.16%   80.06%   -0.10%     
==========================================
  Files         167      169       +2     
  Lines       14324    15001     +677     
==========================================
+ Hits        11483    12011     +528     
- Misses       2841     2990     +149     
Flag Coverage Δ
integrationtests 70.82% <0.00%> (+0.16%) ⬆️
unittests 58.68% <0.00%> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
setup.py 0.00% <0.00%> (ø)
sdk/python/feast/utils.py 85.00% <0.00%> (-15.00%) ⬇️
sdk/python/tests/utils/online_read_write_test.py 93.54% <0.00%> (-6.46%) ⬇️
.../integration/online_store/test_online_retrieval.py 96.84% <0.00%> (-3.16%) ⬇️
sdk/python/feast/feature_store.py 86.89% <0.00%> (-0.44%) ⬇️
...east/infra/feature_servers/local_process/config.py 100.00% <0.00%> (ø)
.../python/feast/infra/feature_servers/base_config.py 100.00% <0.00%> (ø)
...ts/integration/feature_repos/repo_configuration.py 85.38% <0.00%> (+<0.01%) ⬆️
...on/tests/integration/e2e/test_go_feature_server.py 99.50% <0.00%> (+0.21%) ⬆️
sdk/python/feast/dqm/profilers/ge_profiler.py 93.75% <0.00%> (+1.06%) ⬆️
... and 3 more

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 1f89758...369494a. Read the comment docs.

@feast-ci-bot
feast-ci-bot merged commit 92c1f34 into feast-dev:master May 27, 2022
adchia pushed a commit that referenced this pull request Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants