-
Notifications
You must be signed in to change notification settings - Fork 0
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 cgap-portal to pytest 7.2 (C4-183) #687
base: master
Are you sure you want to change the base?
Conversation
netsettler
commented
Jan 31, 2023
•
edited
Loading
edited
- Backport pytest 7.2 support from Fourfront
- Move to poetry 1.3.2
- Remove dependence in a pinned version of setuptools
…est-2.9.2-broken-by-4.5-upgrade
…essary to re-make the lock file.
…to run without instafail.
…d and local_collections.
…otes in comments. No real functional change.
…ther than session-scoped.
…ng in src/encoded/tests/test_create_mapping.py.
…of tests into variables so that they are shared in ways that are easier to understand.
pyproject.toml
Outdated
jmespath = "0.9.0" | ||
jsonschema_serialize_fork = "^2.1.1" | ||
keepalive = "0.5" | ||
# keepalive = "0.5" |
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.
I guess we like to delete these entirely rather than keeping commented out?
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.
Yeah, when I'm sometimes turning things on and off, I leave them for a while and delete them later, but I think this can reasonably go away before I merge.
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.
These changes generally are fine but I think we should look further at the file processed test as to why it is failing in GA
@@ -180,8 +162,11 @@ def test_create_mapping_on_indexing(app, setup_and_teardown, testapp, registry, | |||
assert compare_against_existing_mapping(es, namespaced_index, item_type, item_record, True) | |||
|
|||
|
|||
@pytest.mark.flaky | |||
def test_file_processed_detailed(app, setup_and_teardown, testapp, indexer_testapp, project, institution, file_formats): | |||
@pytest.mark.broken # Doesn't work on GitHub Actions |
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.
Can we look into this further? What error is occurring?
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.
I'll look at that, yes.