diff --git a/packages/py-netpyne/package.py b/packages/py-netpyne/package.py
index e26287ad0c17cba5291495ea0e74e9b2e195c33a..c92cca14ce11c22c899e6d470f88271eb14e1fb0 100644
--- a/packages/py-netpyne/package.py
+++ b/packages/py-netpyne/package.py
@@ -10,20 +10,21 @@ class PyNetpyne(PythonPackage):
     """NetPyNE (Networks using Python and NEURON) is a Python package to facilitate the development, simulation, parallelization, analysis, and optimization of biological neuronal networks using the NEURON simulator."""
 
     homepage = "netpyne.org"
-    url = "https://github.com/suny-downstate-medical-center/netpyne/archive/refs/tags/v1.0.4.1.tar.gz"
+    url = "https://github.com/suny-downstate-medical-center/netpyne/archive/refs/tags/v1.0.4.2.tar.gz"
     git = "https://github.com/suny-downstate-medical-center/netpyne.git"
 
     # list of GitHub accounts to notify when the package is updated.
     maintainers = ["salvadord", "vvbragin"]
 
+    version("1.0.4.2", sha256="4191464386bbc2ecad3b224302c19edb9a26fe0da57c0d9b234cb9c2dd918c8d")
     version("1.0.4.1", sha256="2ed12807f9b3d3e3a8ba9910f8d22c5c17635e0cdea0af09fa3a230e68876df6")
 
     depends_on("py-setuptools", type="build")
-    
+
     depends_on("neuron", type=("build", "run"))
     depends_on("py-numpy", type=("build", "run"))
     depends_on("py-scipy", type=("build", "run"))
-    depends_on("py-matplotlib@:3.5.1", type=("build", "run"))
+    depends_on("py-matplotlib", type=("build", "run"))
     depends_on("py-matplotlib-scalebar", type=("build", "run"))
     depends_on("py-future", type=("build", "run"))
     depends_on("py-pandas", type=("build", "run"))