-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into conda-package-build-update
- Loading branch information
Showing
20 changed files
with
142 additions
and
41 deletions.
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: "Build PyPI package" | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- ".github/workflows/**" | ||
- "conda-store/**" | ||
- "conda-store-server/**" | ||
- "tests/**" | ||
push: | ||
branches: | ||
- main | ||
|
||
env: | ||
FORCE_COLOR: "1" # Make tools pretty. | ||
|
||
permissions: | ||
contents: read # This is required for actions/checkout | ||
|
||
jobs: | ||
# Always build & verify package. | ||
build-package: | ||
name: "Build & verify package" | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
directory: | ||
- "conda-store" | ||
- "conda-store-server" | ||
defaults: | ||
run: | ||
working-directory: ${{ matrix.directory }} | ||
steps: | ||
- name: "Checkout Repository 🛎" | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- run: echo "Running on ${{ matrix.directory }}" | ||
|
||
- name: "Build and check package - ${{ matrix.directory }} 📦" | ||
uses: hynek/build-and-inspect-python-package@v2 | ||
id: baipp | ||
with: | ||
path: ${{ matrix.directory }} | ||
upload-name-suffix: "-${{ matrix.directory }}" | ||
|
||
- run: echo Packages can be found at ${{ steps.baipp.outputs.dist }} and in artifact ${{ steps.baipp.outputs.artifact-name }} |
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
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
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
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 |
---|---|---|
|
@@ -11,23 +11,22 @@ name = "conda-store-server" | |
description = "Conda Environment Management, Builds, and Serve" | ||
readme = "README.md" | ||
license = "BSD-3-Clause" | ||
requires-python = ">=3.8" | ||
requires-python = ">=3.10,<3.13" | ||
keywords = ["conda"] | ||
authors = [ | ||
{ name = "Christopher Ostrouchov", email = "[email protected]" }, | ||
] | ||
maintainers = [ | ||
{ name = "Tania Allard", email = "[email protected]" }, | ||
{ name = "Pavithra Eswaramoorthy", email = "[email protected]" }, | ||
{ name = "Peyton Murray", email = "[email protected]" }, | ||
] | ||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
"Intended Audience :: Developers", | ||
"Topic :: Software Development :: Build Tools", | ||
"License :: OSI Approved :: BSD License", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
|
@@ -59,13 +58,17 @@ dependencies = [ | |
"pyjwt", | ||
"psycopg2-binary", | ||
"pymysql", | ||
# pyyaml>5.3.1 is broken with cython>=3 transitive dependency | ||
# pyyaml>5.3.1,<6.0.1 is broken with cython>=3 transitive dependency | ||
# See https://github.com/yaml/pyyaml/issues/724 for details | ||
"pyyaml==5.3.1", | ||
"pyyaml >=6.0.1", | ||
"redis", | ||
"requests", | ||
"pydantic >=1.10.16,<2.0a0", | ||
"python-multipart", | ||
# setuptools>=70 uses local version of packaging (and other deps) without | ||
# pinning them; conda-lock depends on this, but also doesn't pin the setuptools | ||
# version. See https://github.com/pypa/setuptools/issues/4478 for details | ||
"setuptools<70", | ||
"sqlalchemy<2.0a0", | ||
"traitlets", | ||
"uvicorn", | ||
|
@@ -192,6 +195,8 @@ ignore = [ | |
"UP007", # non-pep604-annotation | ||
"UP030", # format-literals | ||
"UP031", # printf-string-formatting | ||
"UP035", # deprecated-import | ||
"UP038", # non-pep604-isinstance | ||
] | ||
select = [ | ||
"E", # pycodestyle | ||
|
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
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
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
Oops, something went wrong.