Coder Social home page Coder Social logo

Comments (4)

brifordwylie avatar brifordwylie commented on August 22, 2024

$ pip list | grep py2deb
py2deb (0.24.2)

from py2deb.

xolox avatar xolox commented on August 22, 2024

Hi Brian, thanks for the feedback and sorry for breaking your use case! The information you've provided isn't enough for me to reproduce the issue you describe (I've been trying for a while now :-) so I'm wondering:

  1. Is your Python project's source available somewhere for me to download so I can try to reproduce the issue based on the exact same set of Python packages?
  2. Alternatively (if point one isn't an option) can you run py2deb in verbose mode (py2deb -v ...), capture the output and post it here? If you don't want to share the log output publicly on GitHub you can also e-mail it to me directly.

Thanks in advance!

from py2deb.

itJunky avatar itJunky commented on August 22, 2024

Have a same error for many packages =(
Expected requirement set to contain exactly one Python package whose name can be normalized to pylint-plugin-utils but encountered 0 packages instead

# pip3 list| grep py2deb
py2deb (1.1)

My requirements.txt contain this:

pylint
django==1.11
pylint-django
python-social-auth
django-notifications-hq
stripe
python-dateutil
analytics-python
django-allauth
bcrypt
python-magic
pytz
psycopg2
Pillow
https://github.com/celery/django-celery/archive/master.zip
celery==3.1.25
billiard==3.3.0.23
kombu==3.0.37
amqp==1.4.9

For reproduce it, you can use my script:

#!/bin/bash

for dep in `cat requirements.txt`
do
	echo ''; echo ''
	echo $dep
	py2deb --name-prefix=python3 -r tmp/py2deb/ -- --no-deps $dep
	#exit 0
done

with -- -r requirements.txt work ok, but generate stupid unsolvable versions of dependencies.

from py2deb.

brifordwylie avatar brifordwylie commented on August 22, 2024

Seems like people are still running into this and I myself ran into it again today, there's some issue with the logic on this line inside package.py

 version = self.converter.transform_version(self, requirement.project_name, version)

I used the @trousev patch/hack and then everything worked fine

I'm reopening this and hopefully someone on the py2deb team can make a quick fix :)

from py2deb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.