Code Monkey home page Code Monkey logo

Comments (4)

loriab avatar loriab commented on August 25, 2024

I suppose that'll be the pubchem tests. Should be easy enough.

from qcelemental.

mbanck avatar mbanck commented on August 25, 2024

whoa, do you ever sleep?? I've made the Debian such that it ignores test failures for now but sure would be nice to be able to run tests cleanly.

from qcelemental.

dgasmith avatar dgasmith commented on August 25, 2024

New testing decorator of:

import socket

def internet_connection():
    try:
        socket.create_connection(("www.google.com", 80))
        return True
    except OSError:
        return False

using_web = pytest.mark.skipif(internet_connection() is False, reason="Could not connect to the internet")

@loriab Can you grab this? Currently my dev env is in a fragile state trying to propagate the Array changes.

from qcelemental.

mbanck avatar mbanck commented on August 25, 2024

sorry, I never tested that back then; I've now checked that the pytests pass fine on my notebook (once I install certifi), but on the Debian autobuilders (which disable networking) they still fail:

https://buildd.debian.org/status/fetch.php?pkg=qcelemental&arch=all&ver=0.17.0%2Bdfsg-2&stamp=1610282048&raw=0

E.g.:

>               raise URLError(err)
E               urllib.error.URLError: <urlopen error [Errno 111] Connection refused>

/usr/lib/python3.9/urllib/request.py:1345: URLError

Is this expected, or have there been some regressions since a4ebcca got committed?

from qcelemental.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.