nadermx / backgroundremover

Background Remover lets you Remove Background from images and video using AI with a simple command line interface that is free and open source.
https://www.backgroundremoverai.com
MIT License
6.43k stars 534 forks source link

Mismatch Between GitHub and PyPI Versions of backgroundremover v0.2.7 #142

Closed alexpovkolas closed 1 month ago

alexpovkolas commented 1 month ago

Issue Description

There appears to be a discrepancy between the source code of backgroundremover v0.2.7 available on PyPI and the corresponding version on the GitHub repository.

Details

The bg.py file from the PyPI package seems to be dated Dec 6, which does not match the latest version of the same file in the GitHub repository. This has led to some confusion and import issues when using backgroundremover as a library.

Expected Behavior

The source code on PyPI should match the tagged release on GitHub for v0.2.7.

Actual Behavior

The source code on PyPI for backgroundremover v0.2.7 includes an older version of bg.py from Dec 6, which is different from what's currently on GitHub.

Steps to Reproduce

  1. Install backgroundremover v0.2.7 via pip.
  2. Compare the bg.py file from the installed package with the one available on the GitHub repository for the same version tag.

It would be greatly appreciated if the maintainers could look into this and ensure that the PyPI package is updated to reflect the GitHub repository's state for the same version.

Thank you for your attention to this matter.

nadermx commented 1 month ago

huh? The version on github is one commit ahead of the 0.2.7 release? I'm kinda of confused.

alexpovkolas commented 1 month ago

github is ok but PyPI has an issue. When you do pip install backgroundremover==0.2.7 it fetches source code that does not match github 0.2.7 release. E.g. I don't have github.py file when install the lib via pip

nadermx commented 1 month ago

upgrade to 0.2.8 pip install --upgrade backgroundremover