Skip to content

Commit

Permalink
Use correct feedstock repository branch
Browse files Browse the repository at this point in the history
  • Loading branch information
mrclary committed Dec 23, 2023
1 parent 2306456 commit 4abb3b9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion installers-conda/build_conda_pkgs.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ class BuildCondaPkg:
norm = True
source = None
feedstock = None
feedstock_branch = None
shallow_ver = None

def __init__(self, data={}, debug=False, shallow=False):
Expand Down Expand Up @@ -104,7 +105,11 @@ def _get_source(self, shallow=False):

# Clone feedstock
self.logger.info("Cloning feedstock...")
Repo.clone_from(self.feedstock, to_path=self._fdstk_path)
Repo.clone_from(
self.feedstock,
to_path=self._fdstk_path,
branch=self.feedstock_branch
)

def _build_cleanup(self):
"""Remove cloned source and feedstock repositories"""
Expand Down Expand Up @@ -197,6 +202,7 @@ class SpyderCondaPkg(BuildCondaPkg):
norm = False
source = os.environ.get('SPYDER_SOURCE', HERE.parent)
feedstock = "https://github.com/conda-forge/spyder-feedstock"
feedstock_branch = "dev"
shallow_ver = "v5.3.2"

def _patch_source(self):
Expand Down Expand Up @@ -300,20 +306,23 @@ class PylspCondaPkg(BuildCondaPkg):
name = "python-lsp-server"
source = os.environ.get('PYTHON_LSP_SERVER_SOURCE')
feedstock = "https://github.com/conda-forge/python-lsp-server-feedstock"
feedstock_branch = "main"
shallow_ver = "v1.4.1"


class QtconsoleCondaPkg(BuildCondaPkg):
name = "qtconsole"
source = os.environ.get('QTCONSOLE_SOURCE')
feedstock = "https://github.com/conda-forge/qtconsole-feedstock"
feedstock_branch = "main"
shallow_ver = "5.3.1"


class SpyderKernelsCondaPkg(BuildCondaPkg):
name = "spyder-kernels"
source = os.environ.get('SPYDER_KERNELS_SOURCE')
feedstock = "https://github.com/conda-forge/spyder-kernels-feedstock"
feedstock_branch = "rc"
shallow_ver = "v2.3.1"


Expand Down

0 comments on commit 4abb3b9

Please sign in to comment.