-
Notifications
You must be signed in to change notification settings - Fork 7
Add TOML file. #1016
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
Add TOML file. #1016
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| sphinx==7.1.2 | ||
| sphinx-rtd-theme==2.0.0 | ||
| sphinxcontrib-apidoc==0.4.0 | ||
| sphinx==8.1.3 | ||
| sphinx-rtd-theme==3.1.0 | ||
| sphinxcontrib-apidoc==0.6.0 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| [project] | ||
| name = "citrine-python" | ||
| dynamic = ["version"] | ||
| dependencies = [ | ||
| "requests>=2.32.2,<3", | ||
| "pyjwt>=2,<3", | ||
| "arrow>=1.0.0,<2", | ||
| "gemd>=2.1.9,<3", | ||
| "boto3>=1.34.35,<2", | ||
| "deprecation>=2.1.0,<3", | ||
| "urllib3>=2.5.0,<3", | ||
| "tqdm>=4.27.0,<5", | ||
| ] | ||
| requires-python = ">=3.10" | ||
| authors = [ | ||
| {name = "Citrine Informatics"} | ||
| ] | ||
| description = "Python library for the Citrine Platform" | ||
| readme = "README.md" | ||
| license-files = ["LICENSE"] | ||
| classifiers = [ | ||
| "Programming Language :: Python :: 3", | ||
| "Programming Language :: Python :: 3.12", | ||
| "Programming Language :: Python :: 3.13", | ||
| "Programming Language :: Python :: 3.14", | ||
| ] | ||
|
|
||
| [project.urls] | ||
| Homepage = "http://github.com/CitrineInformatics/citrine-python" | ||
|
|
||
| [build-system] | ||
| requires = ["setuptools>=61.0", "wheel"] | ||
| build-backend = "setuptools.build_meta" | ||
|
|
||
| [tool.setuptools.dynamic] | ||
| version = {attr = "citrine.__version__.__version__"} | ||
|
|
||
| [tool.setuptools.packages.find] | ||
| where = ["src"] | ||
|
|
||
| [dependency-groups] | ||
| dev = [ | ||
| "flake8==7.0.0", | ||
| "flake8-docstrings==1.7.0", | ||
| "pandas==2.3.0", | ||
| "pytest==8.4.2", | ||
| "pytest-cov==7.0.0", | ||
| "derp==0.1.1", | ||
| "tomli>=2.2.1", | ||
| "factory-boy==3.3.3", | ||
| "mock==5.2.0", | ||
| "requests-mock==1.12.1" | ||
| ] | ||
| docs = [ | ||
| "sphinx==8.1.3", | ||
| "sphinx-rtd-theme==3.1.0", | ||
| "sphinxcontrib-apidoc==0.6.0", | ||
| ] | ||
|
|
||
| [tool.pytest.ini_options] | ||
| testpaths = [ | ||
| "tests", | ||
| ] | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,8 @@ | ||
| arrow==1.3.0 | ||
| boto3==1.34.35 | ||
| arrow==1.4.0 | ||
| boto3==1.42.42 | ||
| deprecation==2.1.0 | ||
| gemd==2.1.9 | ||
| pyjwt==2.8.0 | ||
| requests==2.32.4 | ||
| tqdm==4.66.3 | ||
|
|
||
| # boto3 (through botocore) depends on urllib3. Version 1.34.35 requires | ||
| # urllib3 < 1.27 when using Python 3.9 or less, and urllib3 < 2.1 otherwise. | ||
| urllib3==1.26.18; python_version < "3.10" | ||
| urllib3==2.5.0; python_version >= "3.10" | ||
| gemd==2.2.0 | ||
| pyjwt==2.11.0 | ||
| requests==2.32.5 | ||
| tqdm==4.67.3 | ||
| urllib3==2.6.3 |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,7 +11,7 @@ | |
| def refresh_token(expiration: datetime = None) -> dict: | ||
| token = jwt.encode( | ||
| payload={'exp': expiration.timestamp()}, | ||
| key='garbage' | ||
| key='Actually_Triangle_Perhaps_Finally' | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The updated
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would it make sense to have this be a shared import, rather than a magic string that appears twice?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Probably. I'll include that adjustment on some other PR. |
||
| ) | ||
| return {'access_token': token} | ||
|
|
||
|
|
||
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.
Sphinx 9.0 requires 3.12+.