Skip to content

[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

Draft
wants to merge 21 commits into
base: develop
Choose a base branch
from
Draft

[TEST] Bartek's Lab #629

wants to merge 21 commits into from

Conversation

Ickerday
Copy link

Just me trying to break and fix stuff

@Ickerday Ickerday self-assigned this Jul 31, 2025
Copy link

@cecyliaborek cecyliaborek left a 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 .

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"

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"

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

Comment on lines +17 to +22
# 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

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

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
```

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants