Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 12:24
    cmarqu commented #3214
  • 12:21
    cmarqu commented #3214
  • 09:11
    mauvilsa commented #3214
  • 00:36
    webknjaz commented #2854
  • 00:34
    webknjaz commented #2854
  • 00:29
    webknjaz commented #2854
  • Dec 03 15:23
    mohitsaxenaknoldus commented #3579
  • Dec 03 15:23
    mohitsaxenaknoldus review_requested #3579
  • Dec 03 15:19
    mohitsaxenaknoldus reopened #3579
  • Dec 03 15:19
    mohitsaxenaknoldus synchronize #3579
  • Dec 03 15:14
    tpvasconcelos commented #3214
  • Dec 03 14:41
    mohitsaxenaknoldus synchronize #3579
  • Dec 03 14:41
    mohitsaxenaknoldus closed #3579
  • Dec 03 14:15
    mohitsaxenaknoldus synchronize #3579
  • Dec 02 18:16
    ptth222 commented #3236
  • Dec 02 18:13
    mauvilsa commented #3214
  • Dec 02 17:31
    tpvasconcelos commented #3214
  • Dec 02 14:28
    mauvilsa commented #3214
  • Dec 02 12:10
    eabase commented #3275
  • Dec 01 22:44
    ketozhang closed #3105
Paul Ganssle
@pganssle
We're sorta getting our heads around writing a bot that would use this or something similar: https://github.com/gvalkov/setuptools-py2cfg
Start facilitating people in moving from setup.py to setup.cfg.
Jason R. Coombs
@jaraco
Nice! I’ve been doing the same manually for a number of my projects.
@pganssle I don’t know if I’m on pypa-committers. I may not be.
Jason R. Coombs
@jaraco
And looking at the mailing list, I don’t see your post.
Paul Ganssle
@pganssle
The internet here is not great, I think it didn't go through.
I may need to go over to the Bloomberg office.
Jason R. Coombs
@jaraco
:)
Paul Ganssle
@pganssle
Weird, it's in my sent list.
Maybe the mailman 3 migration screwed it up.
Paul Ganssle
@pganssle
Uggggh.
Pushed an erroneous tag.
Deleted it.
Anyway, I've tagged the 40.6.0 release.
Paul Ganssle
@pganssle
Jason R. Coombs
@jaraco
I’ve seen Travis jobs fail when a ref is pulled.
Paul Ganssle
@pganssle
I think I found the issue.
I think ! has some special meaning either in travis or in YAML.
Like it means "execute this line", not "invert the meaning of this line"
Jason R. Coombs
@jaraco
Oh, yeah. Maybe “execute this line but continue if it fails"
Paul Ganssle
@pganssle
Well, it's breaking on that, so it can't be that.
The actual log says $ grep pyc setuptools.egg-info/SOURCES.txt
Jason R. Coombs
@jaraco
I remember that PR.
Paul Ganssle
@pganssle
So I think it's getting interpreted as "execute grep pyc ..." instead of "execute ! grep pyc ..."
Should I delete and re-create the 40.6.0 tag with the release script fixed?
Jason R. Coombs
@jaraco
Yes.
Since the release never went out, I consider it safe (within a few hours) to replace the tag.
Paul Ganssle
@pganssle
Yeah, I agree.
Ralf Weber
@RJMW
pypa/setuptools#232 Please, any progress on Issue 1 in this post? I am struggling to find a way to install the requirements when cmdclass and install is included in setup.py. Workaround?
Paul Ganssle
@pganssle
I'm not sure I understand that issue. Hard to know why
Paul Ganssle
@pganssle
Sorry, that should have said "Hard to know how to work around this issue without knowing what you need to do" @RJMW
Stephan Steinbach
@ssteinbach
Hello, is there a good way to figure out the minimum version of setuptools my project requires? At the moment the problematic fields seem to be project_urls and tests_require
Jason R. Coombs
@jaraco
@ssteinbach I’m pretty sure tests_require has been around a very long time. I’m less sure about project_urls. You can refer to the history, which may or may not make mention of that particular change.
Thomas Robitaille
@astrofrog
Hi all, I'm updating some of my packages to use the declarative setup.cfg way of specifying package options instead of listing them in setup.py. But I was just curious as to what the plan is for future in terms of setup.cfg vs pyproject.toml - is the long term plan to have everything declared in pyproject.toml instead of setup.cfg?
Jason R. Coombs
@jaraco
@astrofrog No plans per se. … but we do recognize the disparity. If you’d like to take on that challenge, I’d be open to it. Probably no small task, but also probably achievable.
Thomas Robitaille
@astrofrog
Ok thanks, I was mostly curious as to whether there were opinions on what something should look like at the end, though I realize that it will take some work :)
Stephan Steinbach
@ssteinbach
@jaraco Thanks! We're dealing with really old versions of setuptools. We ended up doing a kind of ugly thing in setup.py to detect and error out: PixarAnimationStudios/OpenTimelineIO#397
Thomas Robitaille
@astrofrog
Hi all, is it safe to rely on from pkg_resources.extern.packaging.specifiers import SpecifierSet or is it not in the public API?
Basically I want to parse and interpret the content of the python_requires configuration item, and that seems to be parseable by SpecifierSet
an alternative would be to do something like Requirement.parse('python' + python_requires).specifiers
Ronny Pfannschmidt
@RonnyPfannschmidt
@astrofrog what prevents just using packaging directly?
Thomas Robitaille
@astrofrog
@RonnyPfannschmidt - I don't know if I can rely on it being installed for users, and would prefer not to introduce a new dependency
Paul Ganssle
@pganssle
I'm a bit stymied here, a co-worker asked me about deploying Python scripts into directories other than bin/
Seems like I can do it if I make them data files, but then the shebang has to be hard-coded.
Anyone know if there's a way to do that with console_scripts?
Ronny Pfannschmidt
@RonnyPfannschmidt
@pganssle thats not part of the normal deployment mechanisms python has
whats the actual use-case