A lawsuit challenges the constitutionality of part of a new state law that requires a coveted medical-marijuana license to go to a black farmer.

Columbus Smith, a black farmer from Panama City, filed the lawsuit, alleging that the law is so narrowly drawn that only a handful of black farmers could qualify for the license. The lawsuit contends that the measure is what is known as an unconstitutional “special law.”