Skip to content

Commit

Permalink
Update conda-package-build causes an integrity error on conda_package…
Browse files Browse the repository at this point in the history
…_build table (conda-incubator#961)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
soapy1 and pre-commit-ci[bot] authored Nov 19, 2024
1 parent afc4908 commit 794e2ae
Show file tree
Hide file tree
Showing 2 changed files with 455 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conda-store-server/conda_store_server/_internal/orm.py
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,7 @@ def update_packages(self, db, subdirs=None):
and_(
CondaPackage.name == p_name,
CondaPackage.version == p_version,
CondaPackage.channel_id == self.id,
)
)
all_parent_packages = (
Expand Down Expand Up @@ -754,7 +755,7 @@ class CondaPackage(Base):
description: Mapped[str] = mapped_column(Text, nullable=True)

def __repr__(self):
return f"<CondaPackage (channel={self.channel} name={self.name} version={self.version})>"
return f"<CondaPackage (channel={self.channel_id} name={self.name} version={self.version})>"


class CondaPackageBuild(Base):
Expand Down
Loading

0 comments on commit 794e2ae

Please sign in to comment.