Skip to content

Release v1.2 #61

Closed
Closed

Description

@ViviCoder

I am packaging pyregion for Debian.
The current version available on Pypi is quite old and does not contain the changes involving astropy.
Please consider releasing a new version of the package.

Activity

  1. added this to the v1.2 milestone on Aug 1, 2016
  2. cdeil commented on Aug 1, 2016

    @cdeil
    Member

    I've added a 1.2 milestone and I'm changing the title of this issue to "Release v1.2".
    We can use it to discuss issues / progress related to this release.

  3. changed the title [-]New release[/-] [+]Release v1.2[/+] on Aug 1, 2016
  4. cdeil commented on Aug 1, 2016

    @cdeil
    Member

    I've gone through and assigned milestones to the issues.

    Here's what's currently under "v0.2"
    https://github.com/astropy/pyregion/milestone/1
    (comments and changes welcome!)

    I think it could happen in a day or two.

    @leejjoon - Do you want to make the release or should I?

  5. leejjoon commented on Aug 1, 2016

    @leejjoon
    Contributor

    I will be more than happy you can make the release.
    I am planning to augment #78 and and make a PR for #66. These should be simple changes, and I would expect I can do this later today.

  6. self-assigned this
    on Aug 2, 2016
  7. cdeil commented on Aug 2, 2016

    @cdeil
    Member

    OK, I'll make the release this week when the issues / PRs under https://github.com/astropy/pyregion/milestone/1 are done.

    @astrofrog - Can you please give me access to https://readthedocs.org/projects/pyregion/ so that I can add the stable version after the release?

  8. cdeil commented on Aug 2, 2016

    @cdeil
    Member

    FYI: The readthedocs webhook wasn't activated, that's why docs builds hadn't triggered in the past years. I activated it just now for this repo here: https://github.com/astropy/pyregion/settings/hooks

  9. bsipocz commented on Aug 2, 2016

    @bsipocz
    Member

    Is there a need for appveyor testing here?

  10. cdeil commented on Aug 2, 2016

    @cdeil
    Member

    Is there a need for appveyor testing here?

    IMO yes, it would be great to have continuous testing on Windows to make sure everything's OK there.

  11. bsipocz commented on Aug 2, 2016

    @bsipocz
    Member

    Adding Appveyor is done in #88.

  12. cdeil commented on Aug 11, 2016

    @cdeil
    Member

    The v1.2 milestone is all-clear now: https://github.com/astropy/pyregion/milestone/1
    I'll make the v1.2 release now (or tonight latest) unless I hear any last-minute concerns here.

  13. cdeil commented on Aug 11, 2016

    @cdeil
    Member

    I tried to follow http://docs.astropy.org/en/latest/development/affiliated-packages.html#releasing-an-affiliated-package and did this:

    git clean -fdx
    python setup.py build sdist --format=gztar
    cd dist
    tar zxvf pyregion-1.2.tar.gz
    cd pyregion-1.2
    python setup.py test
    

    resulting in this error:
    https://gist.github.com/cdeil/cdd92c4cb5bde653fca0ede7ae4dd320#file-gistfile1-txt-L676

    E   ImportError: No module named 'pyregion._region_filter'
    

    I see that pyregion/_region_filter.c is in the sdist tarball, but pyregion/_region_filter.pyx is missing, even though we have

    recursive-include *.pyx *.c *.pxd
    

    in https://github.com/astropy/pyregion/blob/master/MANIFEST.in#L10

    @astrofrog @bsipocz - Any idea what the issue and fix is for this problem?

  14. cdeil commented on Aug 11, 2016

    @cdeil
    Member

    When running from the git source folder, it works as it should:

    cythoning pyregion/_region_filter.pyx to pyregion/_region_filter.c
    building 'pyregion._region_filter' extension
    /usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Os -I/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/numpy/core/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c pyregion/_region_filter.c -o build/temp.macosx-10.11-x86_64-3.5/pyregion/_region_filter.o -Wp,-w -Wno-unused-function
    /usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib -Wl,-headerpad_max_install_names build/temp.macosx-10.11-x86_64-3.5/pyregion/_region_filter.o -o build/lib.macosx-10.11-x86_64-3.5/pyregion/_region_filter.cpython-35m-darwin.so
    copying pyregion/cython_version.py -> build/lib.macosx-10.11-x86_64-3.5/pyregion
    

    https://gist.github.com/cdeil/cdd92c4cb5bde653fca0ede7ae4dd320#file-gistfile1-txt-L76

    @bsipocz - Do you have time to add a travis-ci build that checks that tests from sdist pass, so that this keeps working going forward?

  15. bsipocz commented on Aug 11, 2016

    @bsipocz
    Member

    @astrofrog @bsipocz - Any idea what the issue and fix is for this problem?

    I have no idea.
    However just spotted that line should have include the package name I think (it does in astropy and photutils, but not in the template).

    recursive-include pyregion *.pyx *.c *.pxd
    
  16. cdeil commented on Aug 11, 2016

    @cdeil
    Member

    @bsipocz - Thanks for the tip. 😄

    Changing to

    recursive-include pyregion *.pyx *.c *.pxd
    

    fixes the issue.

    I have to go now, but I'll do the release tonight.

  17. bsipocz commented on Aug 11, 2016

    @bsipocz
    Member

    @cdeil - Glad to hear it, I'm opening a PR for the template to fix this. Also in that this is fixed now with something unrelated to pyregion, I think no need to add the extra test to travis.

  18. cdeil commented on Aug 11, 2016

    @cdeil
    Member

    Release sdist is here: https://pypi.python.org/pypi/pyregion/1.2
    Tag is here: https://github.com/astropy/pyregion/tree/1.2

    @astropy/regions-developers - Please try v1.2 and report any install issues or test fails here (if any).

    @bsipocz - Could you make the conda package?

  19. cdeil commented on Aug 11, 2016

    @cdeil
    Member

    @ViviCoder wrote

    I am packaging pyregion for Debian. The current version available on Pypi is quite old and does not contain the changes involving astropy. Please consider releasing a new version of the package.

    My suggestion would be that you wait a few weeks for pyregion 2.0. There #54 will be merged, and we will just use Astropy, no longer bundle files from Kapteyn with a different license. That should simplify Debian packaging.
    Is there a short-term deadline on the Debian packaging side to get pyregion 2.0 into an upcoming release?

  20. cdeil commented on Aug 11, 2016

    @cdeil
    Member
  21. bsipocz commented on Aug 11, 2016

    @bsipocz
    Member

    @bsipocz - Could you make the conda package?

    @cdeil - Done once astropy/conda-channel-astropy#69 is merged.

  22. cdeil commented on Aug 18, 2016

    @cdeil
    Member

    Just a note to self: to finish off the 1.2 release and close this issue, these things should happen first:

  23. bsipocz commented on Aug 18, 2016

    @bsipocz
    Member

    Closing this issue as the conda package is also done.

  24. cdeil commented on Aug 20, 2016

    @cdeil
    Member

    @bsipocz - Thanks.

    Just to confirm: this works for me on OS X:

    conda install -c astropy pyregion
    python -c 'import pyregion; pyregion.test()'
    # 18 tests passed
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions