Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 15:23
    mohitsaxenaknoldus commented #3579
  • 15:23
    mohitsaxenaknoldus review_requested #3579
  • 15:19
    mohitsaxenaknoldus reopened #3579
  • 15:19
    mohitsaxenaknoldus synchronize #3579
  • 15:14
    tpvasconcelos commented #3214
  • 14:41
    mohitsaxenaknoldus synchronize #3579
  • 14:41
    mohitsaxenaknoldus closed #3579
  • 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
  • Dec 01 22:44
    ketozhang commented #3105
  • Dec 01 19:43
    demianbrecht edited #3715
  • Dec 01 12:20
    edmorley commented #3657
  • Nov 30 20:26
    Ajorgens1 opened #3717
  • Nov 30 00:27
    kdschlosser commented #3275
  • Nov 30 00:25
    kdschlosser commented #3275
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
Paul Ganssle
@pganssle
@RonnyPfannschmidt They want the script to be aimed at libexec instead of bin.
It's not a terribly uncommon use case to put scripts in libexec or another place on the path with lower or higher precedence than bin.
It might be that they don't care about portability (as in, what the shebang does in a virtualenv) in this case, but we do allow specifying the target directory for other things, and it kinda sucks to say, "Oh this just won't work in a virtualenv"
Plus there is the --script-dir argument, which I gather allows you to, at runtime, specify a target for all scripts.
Ronny Pfannschmidt
@RonnyPfannschmidt
@pganssle practically speaking - they have to make it a non-binary package (disallowing wheels) and inject a new command for the installation which handles the alternative script install location
whats the context of the script? something like a git addon?
Paul Ganssle
@pganssle
I don't follow why you can't have wheels. data_files is able to install things in libexec just fine.
Ronny Pfannschmidt
@RonnyPfannschmidt
@pganssle you wanted to sort out the shebangs?
thats not part of the toolchain that does wheels and puts them in place