question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add an import-only test matrix entry

See original GitHub issue

#7932 / #7938 are about a subtle bug that came from accidentally implicitly creating a pytest dependency. Currently the test suite misses that case because the tests require pytest, so you can’t get around installing pytest.

But one could imagine a fairly simple script that installs numpy, cython, and jinja, builds, and imports astropy and all the sub-packages without running any tests. That wouldn’t add too much time and would catch any “implcit dependency” problems a PR might introduce…

I think I may have seen this idea years back and its conceivable there’s a duplicate issue about this before… But I couldn’t find it.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:2
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
drdavellacommented, Oct 22, 2018

I agree with this PR and think it’s the right thing to do. We should probably strive to be purists about our dependencies. 👼

On the other hand, part of me wonders what’s so bad about having pytest as a runtime dependency if we just declare it as such in setup.py? 😈

0reactions
pllimcommented, May 11, 2020

Maybe related to #10246

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to import only the first column
The short answer is that the following will work to import your file format as an array of numbers, which I think is...
Read more >
How Matrixify Works - Bulk import, export & edit Shopify data
Learn how to use the Matrixify (formerly Excelify) App. Easily import, export, manage and edit your Shopify store data in bulk.
Read more >
importing a matrix consists of both strings and numerical values
You can read into a dataframe with one of the read.* functions but since there are no commas, read.csv doesn't make much sense....
Read more >
Import Numeric Data from Text Files into Matrix - MathWorks
This example shows how to import comma-separated numeric data from a text file. Create a sample file, read all the data in the...
Read more >
Import Only Selected Columns of Data from CSV in R
In this article, we will be looking at two different approaches to import selected columns of the Data from a CSV file in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found