-
Notifications
You must be signed in to change notification settings - Fork 14
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
Many fixes and improvements + workflows pass again -> version 0.5.0 #31
Merged
Merged
Changes from 3 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
0af2f05
Some fixes suggested by Stefan
9ccd486
Address suggestion by Julian + add first simple test
4903a64
Handle the case `pinfo[cmdline] == None` correctly
86c7369
Adapt command `index-stats` for new index log file format
39333f2
Make `example-queries` command much more powerful
a1b396e
Finishing this PR
0df8f84
Trying to get the end-to-end-test to run again
6a2bc0f
Have format check in own worflow + fix minor format errors
afafe8f
Use pip3 explicitly
5a0adeb
Upgrade pip, setuptools, wheel
cf33d99
qlever without arguments should return exit code 0
d552724
Disable native check for now + add timeout to steps
0d012de
Try the native index build once more (with new binaries)
2ef94ff
And now the macOS workflow
11850bc
Was in wrong working directory for pip install -e .
af95a54
Compile QLever from scratch and cache it
6cc8e29
Now let's see if the caches is actually used
3ce1ffb
New cache key
91a7921
Show output of `get-data` commands if any
87723b4
Add QLeverfile for daily update of OHM Planet
b8ef04f
First attempt to fix macOS workflow
0ee7305
Next try
2f72c89
Next round
e0cafb7
Try new hash key
aef6f45
A closer look
9acdba3
Una vez mas
840093c
Encore
ac64ac2
+=1
445d959
One step closer
52d8fc0
A real chance now
223d854
This might be it
8a35ca5
Cleanup the workflows
f0a5a89
Minor fix in Qleverfile for OHM Planet
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[project] | ||
name = "qlever" | ||
description = "Script for using the QLever SPARQL engine." | ||
version = "0.4.0" | ||
version = "0.4.1" | ||
authors = [ | ||
{ name = "Hannah Bast", email = "[email protected]" } | ||
] | ||
|
@@ -16,7 +16,7 @@ classifiers = [ | |
"Topic :: Database :: Front-Ends" | ||
] | ||
|
||
dependencies = [ "psutil", "termcolor" ] | ||
dependencies = [ "psutil", "termcolor", "argcomplete" ] | ||
|
||
[project.urls] | ||
Github = "https://github.com/ad-freiburg/qlever-control" | ||
|
@@ -28,4 +28,7 @@ Github = "https://github.com/ad-freiburg/qlever-control" | |
[tool.setuptools] | ||
package-dir = { "" = "src" } | ||
packages = [ "qlever", "qlever.commands", "qlever.Qleverfiles" ] | ||
# package-data = { "qlever" = ["Qleverfiles/*"] } | ||
package-data = { "qlever" = ["Qleverfiles/*"] } | ||
|
||
[tool.pytest.ini_options] | ||
pythonpath = ["src"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import pytest | ||
from qlever.util import get_random_string | ||
|
||
def test_get_random_string(): | ||
random_string_1 = get_random_string(20) | ||
random_string_2 = get_random_string(20) | ||
assert len(random_string_1) == 20 | ||
assert len(random_string_2) == 20 | ||
assert random_string_1 != random_string_2 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The layout qlever uses can automatically be discovered by setuptools. The two lines can be removed.