guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

57/57: Add a series of FIXME and TODO comments.


From: Hartmut Goebel
Subject: 57/57: Add a series of FIXME and TODO comments.
Date: Thu, 13 Oct 2016 15:20:36 +0000 (UTC)

htgoebel pushed a commit to branch wip-python-build-system
in repository guix.

commit ec6bb658699b2810d1322ad72b2515723f584a59
Author: Hartmut Goebel <address@hidden>
Date:   Fri Oct 7 20:31:07 2016 +0200

    Add a series of FIXME and TODO comments.
---
 gnu/packages/openstack.scm |    3 +++
 gnu/packages/python.scm    |   27 +++++++++++++++++++++------
 gnu/packages/samba.scm     |    1 +
 3 files changed, 25 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 84fa1b0..a098e8e 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -178,9 +178,12 @@ tested on Python version 3.2, 2.7 and 2.6.")
      `(#:tests? #f)) ;; Circular dependency with python-oslotest
     (propagated-inputs
       `(("python-appdirs" ,python-appdirs)
+        ;; TODO: requirements.txt lists also keystoneauth1 and
+        ;; requestsexceptions
         ("python-pyyaml" ,python-pyyaml)))
     (native-inputs
       `(("python-pbr" ,python-pbr)
+        ;; TODO: test-requirements.txt lists a lot more
         ("python-fixtures" ,python-fixtures)
         ("python-mimeparse" ,python-mimeparse)
         ("python-testrepository" ,python-testrepository)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 598c8a1..102c45c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -559,6 +559,7 @@ other HTTP libraries.")
        (sha256
         (base32
          "1yj31j0asmrx4an9xvsaj2icdmzy6pw0glfpqrrkrphwdpi1xkv4"))))
+    ;; TODO: Remove the included test_pyecdsa.py file
     (build-system python-build-system)
     (inputs
      `(("openssl" ,openssl)))
@@ -750,6 +751,8 @@ concepts.")
     (build-system python-build-system)
     (arguments '(#:test-target "check"))
     (native-inputs
+     ;; for tests: nose
+     ;; sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
      `(("python-pbr" ,python-pbr)))
     (home-page "http://code.google.com/p/pylockfile/";)
     (synopsis "Platform-independent file locking module")
@@ -1335,6 +1338,8 @@ backported for previous versions of Python from 2.4 to 
3.3.")
      "Parse_type extends the python parse module.")
     (license license:bsd-3)))
 
+;; TODO: python2-parse-type: requirements.append("enum34")
+
 (define-public python-parse
   (package
     (name "python-parse")
@@ -1402,6 +1407,7 @@ software.")
         (base32
          "1h7zx4dfyclalg0fqnfjijpn0f793a9mx8sy3b27gd31nr6dhq3s"))))
     (build-system python-build-system)
+    ;; TODO: Think about removing the included test-suite in dir `tests`
     (arguments
      ;; error in setup.cfg: command 'test' has no such option 'buffer'
      '(#:tests? #f))
@@ -1573,6 +1579,7 @@ code introspection, and logging.")
            (("def test_remove_dir_prefix\\(self\\):")
             "@pytest.mark.xfail\n    def test_remove_dir_prefix(self):")))))
     (build-system python-build-system)
+    ;; TODO: build docs, too.
     (propagated-inputs
      `(("python-py" ,python-py)))
     (native-inputs
@@ -1774,6 +1781,7 @@ subprocess and see the output as well as any file 
modifications.")
         (base32
          "1dyml28ykpl5jb9khdmcdvhy1cxqingys6qvj2k04fzlaj6z3bbx"))))
     (build-system python-build-system)
+    ;; TODO: Think about removing the included test-suite in dir `tests`
     (propagated-inputs
      `(("python-mimeparse" ,python-mimeparse)
        ("python-extras" ,python-extras)))
@@ -1803,6 +1811,7 @@ compatibility.")
         (base32
          "1671jvrvqlmbnc42j7pc5y6vc37q44aiwrq0zic652pxyy2fxvjg"))))
     (build-system python-build-system)
+    ;; TODO: Think about removing the included test-suite in dir `tests`
     (propagated-inputs
      `(("python-testtools" ,python-testtools)))
     (home-page "https://launchpad.net/testscenarios";)
@@ -1829,6 +1838,7 @@ style tests.")
         (base32
          "0cbj3plbllyz42c4b5xxgwaa7mml54lakslrn4kkhinxhdri22md"))))
     (build-system python-build-system)
+    ;; TODO: Think about removing the included test-suite in dir `tests`
     (home-page "https://launchpad.net/testresources";)
     (synopsis
      "Pyunit extension for managing test resources")
@@ -1944,6 +1954,7 @@ from git information.
         (base32
          "0djxvdwm8s60dbfn7bhf40x6g818p3b3mlwijm1c3bqg7msn271y"))))
     (build-system python-build-system)
+    ;; TODO: Think about removing the included test-suite in dir `tests`
     (propagated-inputs
      `(("python-six" ,python-six)))
     (native-inputs
@@ -1973,6 +1984,7 @@ Python tests.")
         (base32
          "1ssqb07c277010i6gzzkbdd46gd9mrj0bi0i8vn560n2k2y4j93m"))))
     (build-system python-build-system)
+    ;; TODO: Think about removing the included test-suite in dir `tests`
     (propagated-inputs
      `(("python-fixtures" ,python-fixtures)
        ("python-subunit" ,python-subunit)
@@ -2242,6 +2254,7 @@ installed with a newer @code{pip} or with wheel's own 
command line utility.")
        ("python-pytest" ,python-pytest)
        ("python-pytest-cov" ,python-pytest-cov)
        ("python-wheel" ,python-wheel)))
+    ;; extras_require: 'security': ['pyOpenSSL>=0.13', 'ndg-httpsclient', 
'pyasn1'],
     (home-page "http://python-requests.org/";)
     (synopsis "Python HTTP library")
     (description
@@ -2302,6 +2315,7 @@ version numbers.")
     (build-system python-build-system)
     (native-inputs
      `(("python-vcversioner" ,python-vcversioner)))
+    ;; extras_require = "format" : ["rfc3987", "strict-rfc3339", "webcolors"],
     (home-page "http://github.com/Julian/jsonschema";)
     (synopsis "Implementation of JSON Schema for Python")
     (description
@@ -4268,7 +4282,7 @@ without using the configuration machinery.")
        ("python-jsonschema" ,python-jsonschema)
        ("python-pygments" ,python-pygments)
        ("python-requests" ,python-requests) ;; for tests
-       ("python-nose" ,python-nose)))
+       ("python-nose" ,python-nose))) ; TODO: check is this should be native
     (native-inputs
      `(("pkg-config" ,pkg-config)
        ("python-sphinx" ,python-sphinx)
@@ -4910,7 +4924,8 @@ It is written entirely in Python.")
     (native-inputs
      `(("python-certifi" ,python-certifi)))
     (propagated-inputs
-     `(("python-backports-abc" ,python-backports-abc)))
+     `(;; abc is required for Python < 3.5 only
+       ("python-backports-abc" ,python-backports-abc)))
     (home-page "http://www.tornadoweb.org/";)
     (synopsis "Python web framework and asynchronous networking library")
     (description
@@ -5908,11 +5923,11 @@ responses, rather than doing any computation.")
     (inputs
      `(("openssl" ,openssl)))
     (propagated-inputs
-     `(("python-cffi" ,python-cffi)
+     `(("python-cffi" ,python-cffi) ; TODO: Python < 3.4 only
        ("python-six" ,python-six)
        ("python-pyasn1" ,python-pyasn1)
        ("python-idna" ,python-idna)
-       ("python-iso8601" ,python-iso8601)))
+       ("python-iso8601" ,python-iso8601))) ; TODO: for tests only
     (native-inputs
      `(("python-cryptography-vectors" ,python-cryptography-vectors)
        ("python-hypothesis" ,python-hypothesis)
@@ -5984,8 +5999,8 @@ library.")
          "08cm8d4228fj0qnrysy3qv1a6022zr3dcs25amd14lgxil6vvx26"))))
     (build-system python-build-system)
     (inputs
-      `(("python-virtualenv" ,python-virtualenv)
-        ;; Tests
+      `(;; Tests
+        ("python-virtualenv" ,python-virtualenv)
         ("python-mock" ,python-mock)
         ("python-pytest" ,python-pytest)
         ("python-scripttest" ,python-scripttest)))
diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm
index 45fa47b..25b6fea 100644
--- a/gnu/packages/samba.scm
+++ b/gnu/packages/samba.scm
@@ -185,6 +185,7 @@ Desktops into Active Directory environments using the 
winbind daemon.")
                (("magic_ret = .*") "magic_ret = 0\n"))
              ;; talloc uses a custom configuration script that runs a
              ;; python script called 'waf'.
+             ;; FIXME: Do not use pre-built waf but out waf package
              (setenv "CONFIG_SHELL" (which "sh"))
              (let ((out (assoc-ref outputs "out")))
                (zero? (system* "./configure"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]