[N:1]1[N:5]2[CH:6]=[CH:7][CH:8]=[CH:9][C:4]2=[C:3]([C:10]([OH:12])=O)[CH:2]=1.[OH-].[K+].C1(C)C=CC=CC=1.C(Cl)(=O)C([Cl:25])=O>CO.N1C=CC=CC=1>[N:1]1[N:5]2[CH:6]=[CH:7][CH:8]=[CH:9][C:4]2=[C:3]([C:10]([Cl:25])=[O:12])[CH:2]=1Pyrazolo[1,5-a]pyridine-3-carboxylic acid (9.72 g) was dissolved in hot anhydrous methanol (225 ml) and treated with a solution of potassium hydroxide (3.73 g) in dry methanol (45 ml) with stirring. The resulting orange solution was evaporated to dryness under reduced pressure, to give a colourless solid. This solid was treated with dry toluene (300 ml) and the mixture was stirred and treated with oxalyl chloride (10.2 ml), with stirring, at room temperature. After further stirring for a period of 15 minutes the mixture was treated with pyridine (45 drops), and the mixture was vigorously stirred overnight. The mixture was then filtered and the filtrate was evaporated under reduced pressure, to give pyrazolo[1,5-a]pyridine-3-carbonyl chloride (10.6 g), m.p. 119°-120° C. (in a sealed tube).