Repository: spack/spack

Issue:
"Package 'py-cylp' not found" on Python 2.7
### Steps to reproduce

This error started appearing after https://github.com/spack/spack/pull/32579 was merged (with a non-required test failing). It can be reproduced using Python 2.7 as an interpreter:
```console
$ python2.7  bin/spack  info py-cylp
==> Error: Package 'py-cylp' not found.
You may need to run 'spack clean -m'.
```


### Error message

```console
$ python2.7  bin/spack -d info py-cylp
==> [2022-09-12-10:12:11.620486] Imported info from built-in commands
==> [2022-09-12-10:12:11.621422] Imported info from built-in commands
==> [2022-09-12-10:12:11.621997] Reading config from file /home/culpo/PycharmProjects/spack/etc/spack/defaults/repos.yaml
==> [2022-09-12-10:12:11.623966] Skipping nonexistent config path /home/culpo/PycharmProjects/spack/etc/spack/defaults/linux/repos.yaml
==> [2022-09-12-10:12:11.624025] Skipping nonexistent config path /etc/spack/repos.yaml
==> [2022-09-12-10:12:11.624067] Skipping nonexistent config path /etc/spack/linux/repos.yaml
==> [2022-09-12-10:12:11.624095] Skipping nonexistent config path /home/culpo/PycharmProjects/spack/etc/spack/repos.yaml
==> [2022-09-12-10:12:11.624128] Skipping nonexistent config path /home/culpo/PycharmProjects/spack/etc/spack/linux/repos.yaml
==> [2022-09-12-10:12:11.624156] Skipping nonexistent config path /home/culpo/.spack/repos.yaml
==> [2022-09-12-10:12:11.624183] Skipping nonexistent config path /home/culpo/.spack/linux/repos.yaml
==> [2022-09-12-10:12:11.626531] UnknownPackageError: Package 'py-cylp' not found.
    You may need to run 'spack clean -m'.
==> [2022-09-12-10:12:11.626582] Error: Package 'py-cylp' not found.
You may need to run 'spack clean -m'.
Traceback (most recent call last):
  File "/home/culpo/PycharmProjects/spack/lib/spack/spack/main.py", line 977, in main
    return _main(argv)
  File "/home/culpo/PycharmProjects/spack/lib/spack/spack/main.py", line 932, in _main
    return finish_parse_and_run(parser, cmd_name, env_format_error)
  File "/home/culpo/PycharmProjects/spack/lib/spack/spack/main.py", line 960, in finish_parse_and_run
    return _invoke_command(command, parser, args, unknown)
  File "/home/culpo/PycharmProjects/spack/lib/spack/spack/main.py", line 609, in _invoke_command
    return_val = command(parser, args)
  File "/home/culpo/PycharmProjects/spack/lib/spack/spack/cmd/info.py", line 389, in info
    pkg_cls = spack.repo.path.get_pkg_class(spec.name)
  File "/home/culpo/PycharmProjects/spack/lib/spack/spack/repo.py", line 962, in get_pkg_class
    return self.repo_for_pkg(pkg_name).get_pkg_class(pkg_name)
  File "/home/culpo/PycharmProjects/spack/lib/spack/spack/repo.py", line 1308, in get_pkg_class
    raise UnknownPackageError(pkg_name)
spack.repo.UnknownPackageError: Package 'py-cylp' not found.
    You may need to run 'spack clean -m'.
```

### Information on your system

* **Spack:** 0.19.0.dev0 (d4ec0da49acab19621bd113a1acb7054eae04869)
* **Python:** 2.7.18
* **Platform:** linux-ubuntu20.04-icelake
* **Concretizer:** clingo

It is very likely caused by some encoding issue

### General information

- [X] I have run `spack debug report` and reported the version of Spack/Python/Platform
- [X] I have searched the issues of this repo and believe this is not a duplicate
- [X] I have run the failing commands in debug mode and reported the output


Discussion:

Resolving patch:
diff --git a/var/spack/repos/builtin/packages/py-cylp/package.py b/var/spack/repos/builtin/packages/py-cylp/package.py
--- a/var/spack/repos/builtin/packages/py-cylp/package.py
+++ b/var/spack/repos/builtin/packages/py-cylp/package.py
@@ -9,9 +9,10 @@
 class PyCylp(PythonPackage):
     """A Python interface for CLP, CBC, and CGL.
 
-    CyLP is a Python interface to COIN-OR’s Linear and mixed-integer program
-    solvers (CLP, CBC, and CGL). CyLP’s unique feature is that you can use it
-    to alter the solution process of the solvers from within Python."""
+    CyLP is a Python interface to COIN-OR's Linear and mixed-integer program
+    solvers (CLP, CBC, and CGL). CyLP's unique feature is that you can use it
+    to alter the solution process of the solvers from within Python.
+    """
 
     homepage = "https://github.com/coin-or/cylp"
     pypi = "cylp/cylp-0.91.5.tar.gz"


Test patch: