Skip to content
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

Update conda-package-build causes an integrity error on conda_package_build table #961

Merged
merged 2 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -653,6 +653,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 @@ -720,7 +721,7 @@ class CondaPackage(Base):
description = 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
Loading