Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/astropy/astropy-helpers

Helpers for Astropy and Affiliated packages
https://github.com/astropy/astropy-helpers

Merge pull request #3 from astrofrog/update-numpydoc

Update numpydoc

f52171a42c4700093218cc294f8df542119df835 authored over 10 years ago by Thomas Robitaille <[email protected]>
Merge pull request #30 from mdboom/smart_resolver

Fix smart resolver for descriptor classes

40fdee319e9a5d3226b6202844bc613c9ecd3f5f authored over 10 years ago by Thomas Robitaille <[email protected]>
Merge pull request #27 from embray/no-git

Add --no-git argument to setup.py, recognized by ah_bootstrap

2b654a0102d53f5f69cf34b1c355f470ee6bf50d authored over 10 years ago by Erik Bray <[email protected]>
Fix smart resolver for descriptor classes

f459a7ac0c1e7bf7975d9c3752edc80dc8ec548b authored over 10 years ago by Michael Droettboom <[email protected]>
Merge pull request #29 from cdeil/issue_2566

Use -j option for parallel testing

0767e063f6b302dc156d21942e2cc8bf1c1fe387 authored over 10 years ago by Thomas Robitaille <[email protected]>
Merge pull request #25 from bsipocz/adding_local_python3_inv

Adding local python3 intersphinx inv

7e0f9cf896c31dac3ec205a1f75d956d2a5af66e authored over 10 years ago by Thomas Robitaille <[email protected]>
Adding binary part of python3 intersphinx file in non-binary format

f4260618a0546244c799ac72801991a75cbeb51e authored over 10 years ago by Brigitta Sipocz <[email protected]>
Use -j option for parallel testing

b1ef2e8c130debb8c43c6453ba1d99d0f33543b5 authored over 10 years ago by Christoph Deil <[email protected]>
Merge pull request #1 from astrofrog/adding_local_python3_inv-fix

Adding local python3 inv fix

1b0d35391f208ba30b8d2266d48e3c7740bb0e88 authored over 10 years ago by Brigitta Sipocz <[email protected]>
Make sure .inv file gets installed

7dbbef88fedc07ee8cddf690b8c42785ee7241bd authored over 10 years ago by Thomas Robitaille <[email protected]>
Add a command-line option to disable use of git by ah_bootstrap. This will prevent, for example, auto-update of the astropy_helpers submodule.

af22e05298f6880a1ff3aa15803395e003ba7c88 authored over 10 years ago by Erik M. Bray <[email protected]>
Adding proper abs path to config

87c221096d3ae106db16ac3e50193b243a1e806d authored over 10 years ago by Brigitta Sipocz <[email protected]>
Adding local python3 intersphinx file

1f09521649c74f324f6a9bb89b4db55958517668 authored over 10 years ago by Brigitta Sipocz <[email protected]>
should be log.warn, not log.warning

6e2c0eb3475c5e3ed7ace2d6ebfdb177835ad6cd authored over 10 years ago by Erik M. Bray <[email protected]>
Merge pull request #19 from embray/issue-19

Building C (Cython?) code causes build to happen twice, but not three times

27e07dfd635df2ca25369eda33e428ecfc831d55 authored over 10 years ago by Thomas Robitaille <[email protected]>
Add a regression test for this issue

c422522d2c91ad7971f1b48a0912b7d57de10b72 authored over 10 years ago by Erik M. Bray <[email protected]>
Don't recurse into subdirectories in iter_pyx_files--instead it should be called once for each Python package we want to look in for .pyx files.

4407a24b7d018d3267ce44e6d737cada79272642 authored over 10 years ago by Erik M. Bray <[email protected]>
Merge pull request #24 from astrofrog/remove-bdist-dmg

Remove bdist_dmg functionality

ebd79a48c3a476ce8d041d57aa9f39d3a95d6882 authored over 10 years ago by Erik Bray <[email protected]>
Adding local python3 intersphinx inv

e9e4dc1e843c417d89e560968424201c7a9e05b1 authored over 10 years ago by Brigitta Sipocz <[email protected]>
Added numpydoc license

a4066507ff00e05505bd0826529b9d2fa299810d authored over 10 years ago by Thomas Robitaille <[email protected]>
Added docscrape tests

021036fcc50d55e708e4dc2bb889738e0cc127bc authored over 10 years ago by Thomas Robitaille <[email protected]>
Updated to the latest developer version of numpydoc

8be746fae197f94b37e47113041dc0b118062cbc authored over 10 years ago by Thomas Robitaille <[email protected]>
Remove bdist_dmg functionality since .dmg disk images are no longer a commonly used installation mechanism, and the command is specific to the astropy core package.

fffcab5bd4f0bb880a017b875dfd3d01d6ac4baa authored over 10 years ago by Thomas Robitaille <[email protected]>
Merge pull request #22 from astrofrog/change-package-template-url

Change package-template git URL

9a7319ddc1b013babb9c4f9451ae165c42a31834 authored over 10 years ago by Thomas Robitaille <[email protected]>
Merge pull request #17 from mdboom/faster-get-git-devstr

Don't call out to git if we're sure it will fail

7793b28ad01f0d781ee460f52abd1e967b9d3967 authored over 10 years ago by Thomas Robitaille <[email protected]>
Remove line wrap

dc9a88ea1d6d8db30d8cbd21840254860209ec45 authored over 10 years ago by Brigitta Sipocz <[email protected]>
Change isdir -> exists

6cac5060cf8b6ba0923a3dbba335d0d01fe27115 authored over 10 years ago by Michael Droettboom <[email protected]>
Merge pull request #16 from mdboom/faster-rev-list

Use rev-list --count rather than just rev-list

1f6aac55624193375e841cf72c4adb97b717e453 authored over 10 years ago by Thomas Robitaille <[email protected]>
Update setup_helpers.py

Along the same lines as #11, prevent the cython_version.py file from being rewritten every time

40400d6d7637204fcaae91f084dcdf25886a19fe authored over 10 years ago by Erik Bray <[email protected]>
Use rev-list --count rather than just rev-list

4a8ad9ca33246199c2013e2ce2a922420834f465 authored over 10 years ago by Michael Droettboom <[email protected]>
Change package-template git URL

f8a4228af3a4975e6a5a488a82ec7f8c6732145f authored over 10 years ago by Thomas Robitaille <[email protected]>
Merge pull request #21 from astrofrog/update-from-astropy

Update from astropy

1d7d173b851da5663d5230635c99383e4d0dd4e8 authored over 10 years ago by Thomas Robitaille <[email protected]>
Changes to test_helpers.py from astropy/astropy#2198

ce70fdf40ed875562025dc61aab83596774b2eea authored over 10 years ago by Thomas Robitaille <[email protected]>
Changes to test_helpers.py from astropy/astropy#2353, astropy/astropy#2214, and astropy/astropy#2094

244e7e008f97ad9a1aab4bd29a52ae1b39853d4b authored over 10 years ago by Thomas Robitaille <[email protected]>
Changes to setup_helpers.py from astropy/astropy#2223

800eefa8d2db0471a2cbe2ea3411ee04e046e305 authored over 10 years ago by Thomas Robitaille <[email protected]>
Merge pull request #14 from astrofrog/fix-compile-c

Copy the _compiler.c file to the package

94bc7c6a9eebd9051f13a1feeeb612ea805fb376 authored over 10 years ago by Thomas Robitaille <[email protected]>
Adding copybutton.js license

08a62ec5edfe914db57b383b9cb1867ce92f928d authored over 10 years ago by Brigitta Sipocz <[email protected]>
Don't call out to git if we're sure it will fail

df66502bb2ff384a7a444818554a454891497867 authored over 10 years ago by Michael Droettboom <[email protected]>
Copy the _compiler.c file to the package

9cd0701aae957601ad896b6a6423e7f6f50e433b authored over 10 years ago by Thomas Robitaille <[email protected]>
Adding "hide prompt and output" feature for the codeblocks in the documentation

a1f7f519d2f5d2e107d9f21d6c054dea5455f870 authored over 10 years ago by Brigitta Sipocz <[email protected]>
Merge pull request #11 from astrofrog/fix-rebuild

Fix rebuilding bug

5f3659b2395ff799b27972c54545d90b9871e163 authored over 10 years ago by Thomas Robitaille <[email protected]>
Merge pull request #10 from astrofrog/fix-compiler-c

Make sure that astropy_helpers/src gets installed

7e085653ac118fe95fc7c7475ea51326897d0c67 authored over 10 years ago by Thomas Robitaille <[email protected]>
Fixed bug that caused re-building of packages

7e0b11687d78380b85f8b32a41e8e8649f7221dc authored over 10 years ago by Thomas Robitaille <[email protected]>
Make sure that astropy_helpers/src gets installed

1be47f832029db1632d8a62a813581645ae2144d authored over 10 years ago by Thomas Robitaille <[email protected]>
Ported over fixed references from Astropy core

43ed84577d16621cfd60ce8c4474f7e128875860 authored over 10 years ago by Thomas Robitaille <[email protected]>
Merge pull request #6 from astrofrog/updated-sphinx

Ported over changes to Sphinx from astropy core package

a57c39bf17bd0c411ed0654a29aa4533690e46d7 authored over 10 years ago by Thomas Robitaille <[email protected]>
Merge pull request #8 from astrofrog/revert-sphinx-changes

Revert sphinx changes

c85f83c8addf0a71fbf61114def48d677c23c3b9 authored over 10 years ago by Thomas Robitaille <[email protected]>
Skip Sphinx tests on Python 3

508eb00d8c2813da27dfda3a4bf46b11ae8daaff authored over 10 years ago by Thomas Robitaille <[email protected]>
Merge pull request #9 from astrofrog/package-template-submodule

Remove package-template submodule

78e1508f8055aae5db706ab02a4c29ea9654cf43 authored over 10 years ago by Thomas Robitaille <[email protected]>
Added TODO note

8fa51690bcffda963cb93082c892587659a30166 authored over 10 years ago by Thomas Robitaille <[email protected]>
Clone package-template on-the-fly when testing

bdb13025f50e5e77c6bed5ac22563da68d28542d authored over 10 years ago by Thomas Robitaille <[email protected]>
Remove package-template submodule for now, since it points to @embray’s fork, which causes issues when other projects are trying to clone astropy-helpers.

465719295df85606985da9666a8c9eac7933fd16 authored over 10 years ago by Thomas Robitaille <[email protected]>
Revert "Some tweaks to get the sphinx exts (nominally) working on Python 3--haven't tested building actual docs with them yet."

This reverts commit 6e141838a4bc0d784bd796da0e479964e753e4f9.

92a501b7fd0fb74b40d22f02c3791484de0346de authored over 10 years ago by Thomas Robitaille <[email protected]>
Ported over changes to Sphinx from astropy core package

28d59842c8e52fa60fc1e5f8695cd4cd450f0172 authored over 10 years ago by Thomas Robitaille <[email protected]>
Merge pull request #1 from embray/master

Initial implementation of astropy_helpers

dda440792272a5e6f0777fbe02052e4dca7e09fe authored over 10 years ago by Erik Bray <[email protected]>
Some tweaks to get the sphinx exts (nominally) working on Python 3--haven't tested building actual docs with them yet.

6e141838a4bc0d784bd796da0e479964e753e4f9 authored over 10 years ago by Erik M. Bray <[email protected]>
Add Sphinx to the tox build deps so that the sphinx tests are run. Add Python3.4 as well, and support for passing extra positional arguments to py.test

ecb29056e257bbb0984d71e16d00abc697e581e2 authored over 10 years ago by Erik M. Bray <[email protected]>
Use git clone instead of shutil.copy--hopefully this will work better to ensure the copy of package_template remains a valid git repo

15b63aafb93988d74d8f54114ce9538393a55b60 authored over 10 years ago by Erik M. Bray <[email protected]>
Enhancing this warning message in the hopes that it will also illuminate the test failure on Travis

1fb2ae8658583b4f75b1c8566c3a68ac061c1904 authored over 10 years ago by Erik M. Bray <[email protected]>
Let's see if stderr can tell us anything useful too...

81ffa7df5fd98e2e15085298b8dca08db225a747 authored over 10 years ago by Erik M. Bray <[email protected]>
Okay, specifying --author still doesn't help if a default user hasn't been configured

53c774c0456a99f8a8d3cf3b705c1d1aa4500b80 authored over 10 years ago by Erik M. Bray <[email protected]>
This will help see what's going on if this assert fails

dd56af98d8b1ec638e7dc726b1737b2dc980d817 authored over 10 years ago by Erik M. Bray <[email protected]>
Ensure whenever git commit is run that an author is specified

1cf148b1f83944f11838e3dbeb8824065aaae69f authored over 10 years ago by Erik M. Bray <[email protected]>
Potentially useful error detection for shell commands (with option to disable for misbehaved commands). But really more of a shot in the dark to hopefully see what's going wrong when running the tests on Travis

7ce01f708afcdd3b6c794b96a32eb772164d3614 authored over 10 years ago by Erik M. Bray <[email protected]>
Use HTTP URL for submodule

189475ef5f635e7f097fc564d1595cf2db07ef5e authored over 10 years ago by Thomas Robitaille <[email protected]>
Added .travis.yml

bf92e1ddfd945e4aceac4e0a21c4166983ceed81 authored over 10 years ago by Thomas Robitaille <[email protected]>
Update this test to reflect changes in the package-template layout since astropy/package-template#41

6cdfeb74396e9b36c8035dbdcac2a53597a90c31 authored over 10 years ago by Erik M. Bray <[email protected]>
Update to latest package_template revision

2a5e7aad40e4a79508eda673bc028c742df18524 authored over 10 years ago by Erik M. Bray <[email protected]>
Updated version of package_template submodule

29588bf9943ddd03c2401fb97975e731625981c4 authored over 10 years ago by Erik M. Bray <[email protected]>
Fix a small issue that was preventing the skip_2to3 feature from working correctly

1a4d6b1bd97ba5279634589f26e2a0c102af40f3 authored over 10 years ago by Erik M. Bray <[email protected]>
Initial basic support for dropping a _compiler.so into every affiliated package as part of its build_ext phase, so that it can have a record of the compiler used to build its C extensions which may be distinct from the one used to build Astropy itself.

fde7e2c89d2d1428e75fa1f94bfea0f5aedf7b35 authored over 10 years ago by Erik M. Bray <[email protected]>
Some more fixes to how we deal with finding Cython extension files. This ensures that the search only goes down the paths for actual packages relevant to the project. I'm not *sure* if or how this will affect affiliated packages. But in general I think this is desirable behavior.

bb385c0d929f33f294f5b7a7f6881b31cb79a00c authored over 10 years ago by Erik M. Bray <[email protected]>
Add support for the setup.py test command (which astropy_helpers itself does not use, but other projects can and should, though it requires astropy to be installed).

60ef924df1918f962f63b9dfcdcceb8e961db4fb authored over 10 years ago by Erik M. Bray <[email protected]>
Updated the package_template submodule

cdc3ff0f3bea2e7a32b52f7d4131ba19f3f2e3b8 authored over 10 years ago by Erik M. Bray <[email protected]>
Some significant speedups by avoiding running egg_info every time ah_bootstrap is used (though it may be needed the first time around--will suggest bundling astropy-helpers with its egg-info/dist-info already written

a2f83e0bd3cb09fb32c0e16362fa09da0bf781a0 authored over 10 years ago by Erik M. Bray <[email protected]>
There was an ugly bug where if using astropy_helpers is bootstrapped from a .tar.gz file, the boostrapping process itself involves running astropy_helpers' setup.py, which in turn runs astropy_helpers.setup_helpers.register_commands, which through add_command_option can modify classes in Distutils. We go ahead an leave the modifications in place (for now) but remember that they were made by astropy_helpers so that an attempt isn't made to add them a subsequent them (leading to a RuntimeError further down). This is an ugly hack but a good enough workaround for now.

8bab04ba1ddaf708a52c168bc3e9a9bbbe503d79 authored over 10 years ago by Erik M. Bray <[email protected]>
Fixed a test that was failing, though this is a little hacky and unreliable--not sure how long this will stand like this.

a750627f3bd59901294f49b1f1e84b4385764ca4 authored over 10 years ago by Erik M. Bray <[email protected]>
Use .as_cwd() where appropriate

ef77b445ecc1c017465a9e96f7ef6bbeae8fdbae authored over 10 years ago by Erik M. Bray <[email protected]>
Some big restructuring toward supporting automatic upgrades. This now focuses on getting a pkg_resources.Distribution object representing the version of astropy_helpers we actually want to use. Once that is found (if it is found) it uses the .activate() method to actually add itself to sys.path so that astropy_helpers can be imported. Along with this comes actual preliminary support for auto-upgrades, and some new tests. It also adds an auto_upgrade option to use_astropy_helpers that allows auto-upgrade to be disabled if necessary (most of the functional tests set it to disabled by default).

7c8f096ee7b0f3402a76c05db42bd88b62155108 authored over 10 years ago by Erik M. Bray <[email protected]>
Add an option to ah_helpers to make use of git at all (i.e. for updating submodules) optional

cfaa14de2426c44996349b6b159f6f01812d29fd authored over 10 years ago by Erik M. Bray <[email protected]>
Something that occurred to me--options for use_astropy_helpers can be

read from setup.cfg. As such we can enable an option to not have to
manually call ah_boostrap.us...

a4bbbad26a4365e880ae8c8536cc39906c73acc6 authored over 10 years ago by Erik M. Bray <[email protected]>
First steps toward an "upgrade" functionality--ensure that a

Distribution object for the astropy-helpers that will actually be used
at runtime is available on...

061831c2af5ce15ca68be0e269fb6496ea90dab4 authored over 10 years ago by Erik M. Bray <[email protected]>
Sort of updated this test to work in astropy_helpers. Not sure why I wasn't seeing this failure before.

7be0a13f953ca22f5ead8c2babcf181c9144ae40 authored over 10 years ago by Erik M. Bray <[email protected]>
Add the requested --offline install option that can be used for installation in offline environments or system packagers

7609f3a68fc1e77a5144d395e054eaac653e3f86 authored almost 11 years ago by Erik M. Bray <[email protected]>
For some reason I got complaints that the favicon couldn't be found when I first ran the docs. Not sure why this hasn't come up before, and it seems suspect. But this seems to fix it.

da0eacfa64429f73062458981a249c99647b3d9c authored almost 11 years ago by Erik M. Bray <[email protected]>
Add an option to ah_helpers to make use of git at all (i.e. for updating submodules) optional

95e7aa1b8fa2cb0475419998e9b9e655ac87090e authored almost 11 years ago by Erik M. Bray <[email protected]>
This is required to ensure that when Sphinx runs it has the path to whatever astropy_helpers we're using

931bd1debaccf34499e72f6778b4623f5b6a87f0 authored almost 11 years ago by Erik M. Bray <[email protected]>
Initial import of astropy.sphinx into astropy_helpers.sphinx--mostly the same except for a few small tweaks to get it working under the name 'astropy_helpers'

1e8ca3ed8acc053b575757efb84534714844c9c9 authored almost 11 years ago by Erik M. Bray <[email protected]>
Some changes to how packages are searched; the srcdir for get_package_info does not return the package info for a single specific package. Rather it it returns info for all packages under the given path (by default '.', but this can work for source trees that don't place the Python packages immediately at the root of the source (though that would generally be advisable). It also allows excluding packages and supports that even for extension modules.

288ac6ab1491321d9eca6f8aea04b47b935fe7ce authored almost 11 years ago by Erik M. Bray <[email protected]>
Turns out the cause of this problem wasn't exactly what I thought it was. We don't have to reimplement TemporaryDirectory. I'm still not entirely clear on *what* causes this but it's not what I thought.

a9eea892cd10d229e9675670f3c022a362899f83 authored almost 11 years ago by Erik M. Bray <[email protected]>
A few fixes to the tests on Python 2.6 and 3.x

784bbf96377fd55eb2936cc1cbe9cafba4c782ac authored almost 11 years ago by Erik M. Bray <[email protected]>
Add another test for ah_bootstrap, this time for bootstrapping from a source archive.

750456de1de9fc3129d0de3f85c608092bed79d8 authored almost 11 years ago by Erik M. Bray <[email protected]>
A couple workarounds for issues with distutils--ensure that the distutils log is always reset to its default threshold. And a workaround for a bug in setuptools...

2aa665bd1b061a4dedc9ee0469b1c30ec09bbda0 authored almost 11 years ago by Erik M. Bray <[email protected]>
Added a new fixture called testpackage (different from the previous fixture of the same name) that creates a very simple package called _astropy_helpers_test_. It's meant as a stand-in for astropy_helpers itself when testing ah_bootstrap. Testing ah_bootstrap itself was difficult since by its very nature its purpose is to make things so that astropy_helpers can be imported. But astropy_helpers is the package under test and is already imported. We could just use a separate Python interpreter but that makes collecting test coverage data difficult. So the solution is to use a simpler stand-in for astropy_helpers which is good enough for testing the functionality of ah_bootstrap.

0abf78390aba9d5a50f8809cf15ac072cfd1985a authored almost 11 years ago by Erik M. Bray <[email protected]>
Some slightly improved debug output in ah_bootstrap

f4b1200fa23baf0221dcacae869101ea75b9cc40 authored almost 11 years ago by Erik M. Bray <[email protected]>
Add global variables to ah_bootstrap for DIST_NAME and PACKAGE_NAME--this is primarily useful for testing ah_boostrap itself with other packages, but it could also be used to make it easy to tweak ah_boostrap for bootstrapping other packages in a similiar manner...

004c7e8c7787a463e43e08093b5bc89a5d89f67d authored almost 11 years ago by Erik M. Bray <[email protected]>
Renamed the testpackage submodule to package_template to make it clearer where this is coming from (likewise rename the testpackage fixture to package_template)

cd8331af43ba53bc700873e19e7574cb21579f02 authored almost 11 years ago by Erik M. Bray <[email protected]>
Add the first test that actually tests ah_bootstrap.use_astropy_helpers directly. Will be adding more tests soon following the same general pattern.

9131040b8115bffc3e852c3507d128a2060f463d authored almost 11 years ago by Erik M. Bray <[email protected]>
Ensure that the main copy of ah_bootstrap.py is always used, and that we are returned to the cwd at the end of a test that uses the testpackage fixture

e798a654239eb42eb2710d63d0f3e71a0cc6cddc authored almost 11 years ago by Erik M. Bray <[email protected]>
Add some configuration for test coverage

5bd4ba3f39b8804330b7c4b8c2d20716cef65a66 authored almost 11 years ago by Erik M. Bray <[email protected]>