Skip to content

Commit

Permalink
open up sdk python support (#1279)
Browse files Browse the repository at this point in the history
* open up sdk python support

* all libraries can be 3.8+

* python 3.11 in doc

* not tele for now
  • Loading branch information
vangheem authored Aug 30, 2023
1 parent b36039c commit 1488d91
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ The process is simple and fast. Upon your first pull request, you will be prompt

### Setup & run tests NucliaDB

1. Install Python > 3.9 with a virtualenv with your prefered tool (pyenv, conda, pipenv,...)
1. Install Python == 3.11 with a virtualenv with your prefered tool (pyenv, conda, pipenv,...)
2. Install NucliaDB Dev Dependencies `make install`
3. Run `pytest nucliadb/nucliadb/tests`
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.23.0
2.24.0
2 changes: 1 addition & 1 deletion nucliadb_client/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def load_reqs(filename):
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
],
url="https://nuclia.com",
python_requires=">=3.9, <4",
python_requires=">=3.8, <4",
license="BSD",
zip_safe=True,
include_package_data=True,
Expand Down
2 changes: 1 addition & 1 deletion nucliadb_dataset/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def load_reqs(filename):
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
],
python_requires=">=3.9",
python_requires=">=3.8",
include_package_data=True,
package_data={"": ["*.txt", "*.md"], "nucliadb_dataset": ["py.typed"]},
packages=find_packages(),
Expand Down
2 changes: 1 addition & 1 deletion nucliadb_sdk/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def load_reqs(filename):
"Programming Language :: Python :: 3 :: Only",
],
url="https://nucliadb.com",
python_requires=">=3.9, <4",
python_requires=">=3.8, <4",
license="BSD",
zip_safe=True,
include_package_data=True,
Expand Down
2 changes: 1 addition & 1 deletion nucliadb_utils/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def load_extra(sections: List[str]):
"Topic :: Software Development :: Libraries :: Python Modules",
],
url="https://nuclia.com",
python_requires=">=3.9, <4",
python_requires=">=3.8, <4",
license="BSD",
setup_requires=[
"pytest-runner",
Expand Down

2 comments on commit 1488d91

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 1488d91 Previous: 10c9980 Ratio
nucliadb/search/tests/unit/search/test_fetch.py::test_highligh_error 9807.28239652594 iter/sec (stddev: 8.087209267556278e-7) 8662.717161511408 iter/sec (stddev: 3.746653110190535e-7) 0.88

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 1488d91 Previous: a40981d Ratio
nucliadb/tests/benchmarks/test_search.py::test_search_returns_labels 61.94171579998854 iter/sec (stddev: 0.000922670741892112) 60.779932309336715 iter/sec (stddev: 0.0019119907918232523) 0.98
nucliadb/tests/benchmarks/test_search.py::test_search_relations 153.73516295203245 iter/sec (stddev: 0.00018111268856226147) 182.57436721258293 iter/sec (stddev: 0.0002220745559283828) 1.19

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.