-
Notifications
You must be signed in to change notification settings - Fork 380
[TEST] Bartek's Lab #629
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
base: develop
Are you sure you want to change the base?
[TEST] Bartek's Lab #629
Conversation
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.
Leaving some comments/thoughts
|
||
- name: Test Execution | ||
- name: Install dependencies | ||
run: pip install . |
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.
this will install all dependencies defined in pyproject
which I think is an overkill if we only need tox
version = "2.1.0" | ||
description = "The Splunk Software Development Kit for Python" | ||
readme = "README.md" | ||
requires-python = ">=3.9, <4" |
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.
<4
- why?
"streetsidesoftware.code-spell-checker", | ||
"pflannery.vscode-versionlens", | ||
"splunk.splunk", | ||
"charliermarsh.ruff" |
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.
shouldn't for example ruff be added as dependency in pyproject
# Assure backport for Python <3.9 | ||
try: | ||
from importlib.metadata import version as importlib_metadata_version | ||
except (ImportError, ModuleNotFoundError): | ||
from importlib_metadata import version as importlib_metadata_version | ||
|
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.
this fails the tests/searchcommands/test_csc_apps.py
- apps don't have access to metadata of SDK in current test setup
@@ -0,0 +1 @@ | |||
3.9.23 |
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 am wondering which python should be our default since we are developing for several python versions and sometimes you need to switch between them? Or no?
make wait_up | ||
make test | ||
make down | ||
``` |
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.
Mention cp .env.template .env
? Otherwise tests will fail with an AuthenticationError
.
Just me trying to break and fix stuff